Function at 0x4b60f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov ebx, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], 0
mov esi, dword [edi + 8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
test esi, esi
je 0x4b6ca3
mov ecx, 0x72
test ebx, ebx
je 0x4b613e
movzx ecx, byte [ebx]
lea eax, [ecx - 0x13]
mov dword [esp + 0x20], ecx
cmp eax, 0x9a
ja case.0x4b6157.21
movzx eax, byte [eax + 0x4b6f40]
jmp dword [eax*4 + 0x4b6ec8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x28], ebx
jmp 0x4b6132
movsx eax, word [ebx + 0x22]
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*2]
cmp byte [edx], 0
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
jne 0x4b6186
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x4b6157.162
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.0049cce0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebx + 4], 8
mov ecx, dword [ebx + 0x1c]
je 0x4b623c
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [ebx + 0xc]
push esi
call fcn.004b60f0
movsx edx, word [ebx + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0x18], ecx
test edx, edx
js 0x4b61e8
mov eax, dword [ebx + 0x2c]
add edx, edx
mov eax, dword [eax + 4]
mov al, byte [eax + edx*8 + 0xd]
jmp 0x4b61ea
mov al, 0x44
movsx ebx, al
cmp ebx, 0x41
je 0x4b6233
mov edi, dword [esp + 0x14]
cmp ecx, esi
je 0x4b6211
push esi
push ecx
mov edx, 0x4f
mov ecx, edi
call fcn.0049ce10
mov ecx, esi
add esp, 8
mov dword [esp + 0x18], ecx
push 0xffffffffffffffff
lea eax, [ebx*2 + 0x61b3fc]
mov edx, 0x5b
push eax
push 0
push 1
push ecx
mov ecx, edi
call fcn.0049d0a0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jns 0x4b6255
mov ecx, dword [edi + 0x34]
test ecx, ecx
jns 0x4b6254
movsx eax, word [ebx + 0x20]
sub eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
mov al, byte [ebx + 0x26]
push dword [ebp + 8]
mov edx, dword [ebx + 0x2c]
mov byte [esp + 0x2b], al
movsx eax, word [ebx + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004b5db0
mov cl, byte [esp + 0x33]
add esp, 0xc
test cl, cl
je 0x4b6ebd
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4b6ebd
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, ebx
push esi
push 0
mov ecx, edi
call fcn.004b5c30
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, ebx
push esi
call fcn.004b3440
mov ecx, dword [esp + 0x18]
mov edx, 0x46
push eax
call fcn.0049ce10
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
push esi
push 0
call fcn.004b5b80
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.0049cef0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, 0x49
push ebx
push 0
mov ecx, esi
call fcn.0049ce10
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 8]
lea ecx, [esi + 2]
call fcn.00480dd0
lea edx, [esi + 2]
mov esi, dword [esp + 0x14]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.00482020
mov ebx, dword [ebp + 8]
add esp, 4
mov ecx, esi
push 0xfffffffffffffff9
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, 0x4b
push 0
sar eax, 1
push ebx
push eax
call fcn.0049d0a0
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
movsx eax, word [ebx + 0x20]
mov edx, 0x4c
push eax
mov ecx, esi
call fcn.0049ce10
mov eax, dword [ebx + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x4b6ebd
mov esi, dword [edi + 0xd8]
mov ecx, esi
movsx edx, word [ebx + 0x20]
call fcn.00482470
mov ecx, dword [esp + 0x14]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.0049db20
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [ebx + 0xc]
push esi
call fcn.004b60f0
mov edi, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x4b6412
push esi
push eax
mov edx, 0x4f
mov ecx, edi
call fcn.0049ce10
add esp, 8
mov dword [esp + 0x18], esi
mov ecx, dword [ebx + 8]
xor edx, edx
call fcn.004bf060
movsx eax, al
mov edx, 0x55
push eax
push esi
mov ecx, edi
call fcn.0049ce10
mov eax, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esi, 0x80
cmp ecx, 0x2d
mov dword [esp + 0x18], esi
sete al
add eax, 0x34
mov ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4b6459
xor esi, esi
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x28], edx
mov al, byte [edx]
cmp al, 0xa8
jne 0x4b6469
mov al, byte [edx + 0x26]
cmp al, 0xa9
jne 0x4b6472
lea eax, [edx + 0x14]
jmp 0x4b6479
cmp al, 0x83
jne 0x4b649b
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jle 0x4b649b
push esi
push ecx
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.004b1580
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.004b70a0
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0xc]
push eax
call fcn.004b70a0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x28]
or ecx, 0x20
push ecx
push dword [ebp + 8]
mov ecx, edi
push eax
push esi
push dword [esp + 0x30]
push dword [ebx + 0x10]
call fcn.004b1350
add esp, 0x18
jmp 0x4b6683
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.004b70a0
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0xc]
push eax
call fcn.004b70a0
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x14]
push dword [ebp + 8]
push esi
push eax
call fcn.0049cce0
add esp, 0xc
jmp 0x4b6683
mov edx, dword [ebx + 0xc]
mov al, byte [edx]
cmp al, 0x93
jne 0x4b6547
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
push 1
call fcn.004b5c30
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x91
jne 0x4b6567
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.004b5b80
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov byte [esp + 0x6c], 0x93
push eax
lea edx, [esp + 0x70]
mov dword [esp + 0x74], 0x4400
mov ecx, edi
mov dword [esp + 0x78], 0
call fcn.004b70a0
mov edx, dword [ebx + 0xc]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0xc]
push eax
call fcn.004b70a0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x65
push dword [ebp + 8]
push esi
push eax
call fcn.0049cce0
add esp, 0xc
jmp 0x4b6683
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.004b70a0
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.0049ce10
add esp, 8
jmp 0x4b6683
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.004b70a0
mov ecx, dword [ebx + 0x10]
add esp, 4
mov edx, eax
call fcn.004b3440
mov ecx, eax
xor eax, eax
cmp byte [ebx + 0x26], 0x2d
sete al
xor eax, ecx
push eax
xor eax, eax
test ecx, ecx
mov ecx, esi
sete al
push eax
push dword [ebp + 8]
push edx
mov edx, 0x58
call fcn.0049d1f0
add esp, 0x10
jmp 0x4b6683
push dword [ebp + 8]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.0049ce10
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.004b70a0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.0049cdb0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x46
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.0049ce10
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, esi
call fcn.0049d680
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4b669f
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4b669f
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b6ebd
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4b6ebd
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x4b66ef
push dword [ebx + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.00480fb0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [ebx + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebx + 4], 0x1000000
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov al, byte [eax + 0x4e]
mov byte [esp + 0xc], al
je 0x4b6736
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x17], 0
je 0x4b6780
mov edx, ebx
mov byte [esp + 0x4c], 2
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], fcn.004b3500
mov dword [esp + 0x40], 0x4b33c0
mov dword [esp + 0x50], 0
call fcn.004ae8d0
cmp byte [esp + 0x4c], 0
je 0x4b6780
push 0xffffffffffffffff
mov edx, ebx
mov ecx, edi
call fcn.004b6fe0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebx + 4], 0x4000
je 0x4b6856
mov dword [esp + 0x2c], 0
xor eax, eax
mov ecx, dword [ebx + 8]
mov edx, ecx
push 0
push dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
push eax
mov dword [esp + 0x2c], eax
call fcn.004c46a0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4b6a87
cmp dword [eax + 0x14], 0
jne 0x4b6a87
mov eax, dword [eax + 4]
test eax, 0x200
je 0x4b686c
dec dword [edi + 0x38]
mov ecx, edi
mov eax, dword [edi + 0x38]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
push ebx
mov edx, dword [eax + 4]
call fcn.004b7190
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, 1
jle 0x4b6841
mov ecx, dword [esp + 0x2c]
add ecx, 0x1c
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
push dword [esp + 0x28]
mov edx, 0x33
mov ecx, esi
push ebx
call fcn.0049ce10
mov edx, dword [esp + 0x18]
mov ecx, edi
push ebx
mov edx, dword [edx]
call fcn.004b7190
add dword [esp + 0x1c], 0x18
add esp, 0xc
sub dword [esp + 0x18], 1
jne 0x4b6813
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.0049d340
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4b6795
mov eax, dword [ecx]
jmp 0x4b6797
test eax, 0x400
je 0x4b688e
mov eax, dword [esp + 0x2c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
call fcn.004b60f0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x4b6936
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
add edx, 4
mov dword [esp + 0x10], edx
xor esi, esi
cmp eax, 0x20
jge 0x4b68f0
mov edx, dword [edx]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x3c], fcn.004b3500
mov dword [esp + 0x40], 0x4b33c0
mov dword [esp + 0x50], 0
test edx, edx
je 0x4b68ed
lea ecx, [esp + 0x38]
call fcn.004ae8d0
cmp byte [esp + 0x4c], 0
mov eax, dword [esp + 0xc]
je 0x4b68f0
bts esi, eax
test byte [ebx + 4], 0x20
je 0x4b6912
cmp dword [esp + 0x18], 0
jne 0x4b6912
mov edx, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [edx]
call fcn.004b10b0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
inc eax
mov ecx, dword [esp + 0x20]
add edx, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
cmp eax, ecx
jl 0x4b68b1
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4b69ba
cmp dword [esp + 0x10], 0
je 0x4b6962
mov eax, dword [edi + 0x2c]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x2c], eax
jmp 0x4b6975
mov edx, ecx
mov ecx, edi
call fcn.004b8970
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
test al, 0xc0
je 0x4b69a5
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x27], bl
cmp bl, 0xa2
mov ebx, dword [esp + 0x28]
je 0x4b6999
cmp byte [esp + 0x27], 0xa4
jne 0x4b69a5
mov esi, dword [edx + 4]
and al, 0xc0
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x14]
push 3
push 0
push ecx
mov ecx, edi
call fcn.004b71f0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4b69c2
mov dword [esp + 0xc], 0
cmp dword [esp + 0x20], 2
jl 0x4b69ed
test byte [ebx + 4], 0x80
je 0x4b69ed
push dword [edx + 0x1c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push ebx
call fcn.004e5380
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4b69fe
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x4b69fa
push dword [edx + 4]
jmp 0x4b69d6
mov eax, dword [esp + 0x1c]
test byte [eax + 4], 0x20
je 0x4b6a2f
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b6a13
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
push 0xfffffffffffffffe
push eax
push 0
push 0
push 0
mov edx, 0x52
mov ecx, esi
call fcn.0049d0a0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov edx, dword [edi + 0x34]
mov ecx, esi
push 0xfffffffffffffff8
push eax
push dword [ebp + 8]
neg edx
push dword [esp + 0x18]
sbb edx, edx
push dword [esp + 0x20]
add edx, 0x3f
call fcn.0049d0a0
add esp, 0x14
movzx edx, bl
mov ecx, esi
call fcn.0049d660
test ebx, ebx
je 0x4b6ebd
cmp dword [esp + 0x10], 0
jne 0x4b6ebd
mov edx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004b89d0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x34]
push str.unknown_function:__s__
push edi
call fcn.00480fb0
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x83
jne 0x4b6ad2
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x4b6ad2
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edi
call fcn.00480fb0
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov ecx, edi
call fcn.004b4a90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x1c], 0
jne 0x4b6afd
mov edx, ecx
mov ecx, edi
call fcn.004b4a90
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x4b6b20
call fcn.004b1410
cmp edx, eax
je 0x4b6b20
push eax
push edx
push str._d_columns_assigned__d_values
push edi
call fcn.00480fb0
mov ecx, dword [ebx + 0xc]
add esp, 0x10
movsx eax, word [ebx + 0x20]
add eax, dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x38]
mov edx, 0x49
mov eax, dword [esp + 0x10]
dec esi
push dword [ebp + 8]
mov ecx, dword [esp + 0x18]
push 0
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.0049ce10
mov ecx, dword [esp + 0x18]
mov edx, ebx
push edi
push esi
call fcn.004b4dd0
mov ebx, dword [ebp + 8]
mov edx, 0x46
mov ecx, dword [esp + 0x24]
push ebx
push 1
call fcn.0049ce10
mov edx, esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.0049d340
push 0
push ebx
mov edx, 0x53
mov ecx, esi
call fcn.0049ce10
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.0049d340
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, ebx
push 0
push 0
push esi
mov ecx, edi
call fcn.004b73e0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2c]
mov edx, 0x95
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], eax
movsx ecx, word [eax + 0x2a]
movsx eax, word [ebx + 0x20]
inc ecx
imul ecx, dword [ebx + 0x1c]
push esi
inc ecx
add eax, ecx
mov ecx, edi
push eax
call fcn.0049ce10
movzx eax, word [ebx + 0x20]
add esp, 8
test ax, ax
js 0x4b6ebd
movsx ecx, ax
mov eax, dword [esp + 0x34]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x4b6ebd
push esi
mov edx, 0x54
mov ecx, edi
call fcn.0049cdb0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.row_value_misused
push edi
call fcn.00480fb0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x1c]
mov edx, 0x15
mov ecx, esi
call fcn.0049cdb0
mov edx, dword [ebx + 0xc]
add esp, 4
mov ecx, edi
mov esi, eax
push dword [ebp + 8]
call fcn.004b60f0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
call fcn.0049d680
push dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov edx, esi
call fcn.0049d620
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x78], 0
jne 0x4b6cac
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.00480fb0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 1]
cmp al, 2
jne 0x4b6cc4
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [ebx + 1]
mov ecx, dword [ebx + 8]
push 0
cmp al, 4
jne 0x4b6ced
push ecx
push 0
push 4
push 0
mov edx, 0x45
mov ecx, esi
call fcn.0049d0a0
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ecx
movsx eax, al
mov edx, 0x713
push eax
mov ecx, edi
call fcn.004c3860
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x14]
xor edx, edx
mov dword [esp + 0x2c], eax
lea ecx, [eax + 4]
mov eax, dword [eax]
dec dword [edi + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x4b6dba
mov edx, eax
lea ecx, [esp + 0x6c]
call fcn.004b2270
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea edx, [esp + 0x70]
call fcn.004b5fe0
add esp, 4
lea ecx, [esp + 0x6c]
mov ebx, eax
mov edx, dword [ecx + 4]
test edx, 0x41000
je 0x4b6d82
test edx, 0x40000
je 0x4b6d7b
mov eax, dword [ecx + 0x14]
mov ecx, dword [eax + 4]
jmp 0x4b6d7e
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4b6d60
mov al, byte [ecx]
and dword [ecx + 4], 0xffffefff
push 0x34
mov byte [ecx + 0x26], al
lea eax, [esp + 0x3c]
push 0
push eax
mov byte [ecx], 0xa8
mov dword [ecx + 0x1c], ebx
call fcn.00574370
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x78]
add esp, 0xc
mov byte [esp + 0x38], 0x35
mov dword [esp + 0x44], eax
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
dec eax
test eax, eax
jle 0x4b6e5d
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x28], eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x18], 0
push 0x10
cmovne eax, ecx
cmove edx, ecx
dec dword [edi + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x38]
push eax
push edx
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], eax
call fcn.004b7920
mov edx, dword [esp + 0x20]
mov ecx, edi
push ebx
mov edx, dword [edx + 0x18]
call fcn.004b7190
mov edx, dword [esp + 0x20]
add esp, 0x14
mov ecx, esi
call fcn.0049ce80
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b6e3a
push edx
mov edx, esi
call fcn.0049d2f0
add esp, 4
jmp 0x4b6e43
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add ecx, 0x30
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], ecx
jne 0x4b6dd2
mov eax, dword [esp + 0x30]
push ebx
test al, 1
je 0x4b6e7d
lea edx, [eax + eax*2]
mov ecx, edi
mov eax, dword [esp + 0x30]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.004b7190
add esp, 4
jmp 0x4b6e8e
push 0
mov edx, 0x49
mov ecx, esi
call fcn.0049ce10
add esp, 8
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b6eb4
push edx
mov edx, esi
call fcn.0049d2f0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret