Function at 0x46c340
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 + 0xc], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0
mov esi, dword [edi + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 0
test esi, esi
je 0x46ce66
mov edx, 0x6e
test ebx, ebx
je 0x46c38e
movzx edx, byte [ebx]
lea eax, [edx - 0x13]
mov dword [esp + 0x18], edx
cmp eax, 0x96
ja case.0x46c3a7.21
movzx eax, byte [eax + 0x46d0ec]
jmp dword [eax*4 + 0x46d074]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x28], ebx
jmp 0x46c382
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 0x46c3d6
mov eax, dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 0
je case.0x46c3a7.158
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
push dword [eax + 0xc]
push dword [edx + 8]
mov edx, 0x5a
call fcn.00451b60
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 0x46c490
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [ebx + 0xc]
push esi
call fcn.0046c340
movsx edx, word [ebx + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0xc], ecx
test edx, edx
js 0x46c439
mov eax, dword [ebx + 0x2c]
add edx, edx
mov eax, dword [eax + 4]
movsx eax, byte [eax + edx*8 + 0xd]
jmp 0x46c43e
mov eax, 0x44
movsx ebx, al
cmp ebx, 0x41
je 0x46c487
mov edi, dword [esp + 0x10]
cmp ecx, esi
je 0x46c465
push esi
push ecx
mov edx, 0x4f
mov ecx, edi
call fcn.00451c90
mov ecx, esi
add esp, 8
mov dword [esp + 0xc], ecx
push 0xffffffffffffffff
lea eax, [ebx*2 + 0x61e404]
mov edx, 0x5b
push eax
push 0
push 1
push ecx
mov ecx, edi
call fcn.00451fd0
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jns 0x46c4a9
mov ecx, dword [edi + 0x34]
test ecx, ecx
jns 0x46c4a8
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]
mov esi, dword [ebp + 8]
mov edi, dword [edi + 8]
mov edx, dword [ebx + 0x2c]
mov byte [esp + 0x27], al
movsx eax, word [ebx + 0x20]
push esi
push eax
push ecx
mov ecx, edi
call fcn.0046c080
mov cl, byte [esp + 0x33]
add esp, 0xc
test cl, cl
je 0x46c4e7
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x46c4e7
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edx, ebx
push esi
push 0
call fcn.0046be60
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov edx, 0x46
push esi
cmp byte [eax + 4], cl
sete cl
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00451c90
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 + 0x10]
push esi
push 0
call fcn.0046bd20
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.00451d70
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.00451c90
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.004342f0
lea edx, [esi + 2]
mov esi, dword [esp + 0x10]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.00435480
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.00451fd0
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.00451c90
mov eax, dword [ebx + 8]
add esp, 8
cmp byte [eax + 1], 0
je 0x46d067
mov esi, dword [edi + 0xd4]
mov ecx, esi
movsx edx, word [ebx + 0x20]
call fcn.00435960
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0xffffffffffffffff
mov dword [esi], 0
call fcn.00452bb0
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 edx, dword [ebx + 0xc]
push esi
call fcn.0046c340
mov edi, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x46c661
push esi
push eax
mov edx, 0x4f
mov ecx, edi
call fcn.00451c90
add esp, 8
mov dword [esp + 0xc], esi
mov ecx, dword [ebx + 8]
xor edx, edx
call fcn.004759e0
movsx eax, al
mov edx, 0x55
push eax
push esi
mov ecx, edi
call fcn.00451c90
mov eax, dword [esp + 0x14]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x20], 0x80
cmp edx, 0x2d
sete al
lea edx, [eax + 0x34]
mov dword [esp + 0x18], edx
mov esi, dword [ebx + 0xc]
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.004670b0
mov ecx, edi
test eax, eax
je 0x46c6d1
push dword [esp + 0x20]
push edx
push dword [ebp + 8]
mov edx, ebx
call fcn.004672c0
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 edx, esi
push eax
call fcn.0046d2f0
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x14]
push eax
call fcn.0046d2f0
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0xc]
or ecx, 0x20
push ecx
push dword [ebp + 8]
mov ecx, edi
push eax
push esi
push dword [esp + 0x28]
push dword [ebx + 0x10]
call fcn.00466f40
add esp, 0x18
jmp 0x46c8b7
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.0046d2f0
mov edx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x14]
push eax
call fcn.0046d2f0
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x10]
push dword [ebp + 8]
push esi
push eax
call fcn.00451b60
add esp, 0xc
jmp 0x46c8b7
mov edx, dword [ebx + 0xc]
mov al, byte [edx]
cmp al, 0x8f
jne 0x46c779
mov ebx, dword [ebp + 8]
push ebx
push 1
call fcn.0046be60
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0x8d
jne 0x46c799
mov ebx, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + 8]
push ebx
push 1
call fcn.0046bd20
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 + 0x38], 0x8f
push eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x40], 0x4400
mov dword [esp + 0x44], 0
call fcn.0046d2f0
mov edx, dword [ebx + 0xc]
add esp, 4
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x14]
push eax
call fcn.0046d2f0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x61
push dword [ebp + 8]
push esi
push eax
call fcn.00451b60
add esp, 0xc
jmp 0x46c8b7
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.0046d2f0
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.00451c90
add esp, 8
jmp 0x46c8b7
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.0046d2f0
mov esi, eax
add esp, 4
mov eax, dword [ebx + 0x10]
xor ecx, ecx
cmp byte [ebx + 0x26], 0x2d
sete cl
mov eax, dword [eax + 8]
mov dl, byte [eax + 4]
xor eax, eax
test dl, dl
sete al
xor ecx, eax
xor eax, eax
test dl, dl
mov edx, 0x58
push ecx
mov ecx, dword [esp + 0x14]
setne al
push eax
push dword [ebp + 8]
push esi
call fcn.00452200
add esp, 0x10
jmp 0x46c8b7
push dword [ebp + 8]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.00451c90
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0046d2f0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00451c30
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x46
mov esi, eax
push dword [ebp + 8]
push 0
call fcn.00451c90
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, esi
call fcn.004526b0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x46c8d3
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x46c8d3
movzx eax, al
mov dword [edi + eax*4 + 0x90], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x46d067
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x46d067
movzx eax, al
mov dword [edi + eax*4 + 0x90], 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 0x46c923
push dword [ebx + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.00434450
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 + 0x20], 0
mov dword [esp + 0xc], 0
mov al, byte [eax + 0x4e]
mov byte [esp + 0x14], al
je 0x46c96a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0x17], 0
je 0x46c990
mov ecx, ebx
call fcn.004693a0
test eax, eax
je 0x46c990
push 0xffffffffffffffff
mov edx, ebx
mov ecx, edi
call fcn.0046d190
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebx + 4], 0x4000
je 0x46ca66
mov dword [esp + 0x1c], 0
xor eax, eax
mov ecx, dword [ebx + 8]
mov edx, ecx
push 0
push dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
push eax
mov dword [esp + 0x24], eax
call fcn.0047ba00
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
je 0x46cc55
cmp dword [eax + 0x14], 0
jne 0x46cc55
mov eax, dword [eax + 4]
test eax, 0x200
je 0x46ca7c
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 + 0x1c]
push ebx
mov edx, dword [eax + 4]
call fcn.0046d3e0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, 1
jle 0x46ca51
mov ecx, dword [esp + 0x1c]
add ecx, 0x1c
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], eax
push dword [esp + 0x28]
mov edx, 0x33
mov ecx, esi
push ebx
call fcn.00451c90
mov edx, dword [esp + 0x28]
mov ecx, edi
push ebx
mov edx, dword [edx]
call fcn.0046d3e0
add dword [esp + 0x2c], 0x18
add esp, 0xc
sub dword [esp + 0xc], 1
jne 0x46ca23
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.00452380
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 + 0x1c], ecx
test ecx, ecx
je 0x46c9a5
mov eax, dword [ecx]
jmp 0x46c9a7
test eax, 0x400
je 0x46ca9e
mov eax, dword [esp + 0x1c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
call fcn.0046c340
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x46cb0e
mov esi, dword [esp + 0x1c]
add esi, 4
xor ebx, ebx
cmp eax, 0x20
jge 0x46cad0
mov ecx, dword [esi]
call fcn.00469360
mov ecx, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x46cad0
bts ebx, eax
mov edx, dword [esp + 0x2c]
test byte [edx + 4], 0x20
je 0x46caf6
cmp dword [esp + 0xc], 0
jne 0x46caf6
mov edx, dword [esi]
mov ecx, edi
call fcn.00466c30
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x46cab5
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x46cb94
cmp dword [esp + 0x20], 0
je 0x46cb3a
mov eax, dword [edi + 0x2c]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x2c], eax
jmp 0x46cb4d
mov edx, ecx
mov ecx, edi
call fcn.0046eba0
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x2c]
test byte [eax + 4], 0xc0
je 0x46cb7f
mov ebx, dword [edx + 4]
mov bl, byte [ebx]
mov byte [esp + 0x27], bl
cmp bl, 0x9e
mov ebx, dword [esp + 0x28]
je 0x46cb70
cmp byte [esp + 0x27], 0xa0
jne 0x46cb7f
mov esi, dword [edx + 4]
mov al, byte [eax + 4]
and al, 0xc0
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x10]
push 3
push 0
push ecx
mov ecx, edi
call fcn.0046d510
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x46cb9c
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
cmp eax, 2
jl 0x46cbc3
test byte [ebx + 4], 0x80
je 0x46cbc3
push dword [edx + 0x1c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
call fcn.0049e8e0
add esp, 8
mov ebx, eax
jmp 0x46cbd0
test eax, eax
jle 0x46cbcc
push dword [edx + 4]
jmp 0x46cbae
mov ebx, dword [esp + 0x2c]
test byte [ebx + 4], 0x20
je 0x46cbfd
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x46cbe5
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.00451fd0
add esp, 0x14
mov edx, dword [edi + 0x34]
mov ecx, esi
push 0xfffffffffffffff8
push ebx
mov ebx, dword [ebp + 8]
neg edx
push ebx
push dword [esp + 0x20]
sbb edx, edx
push dword [esp + 0x30]
add edx, 0x3f
call fcn.00451fd0
mov eax, dword [esp + 0x2c]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.00452690
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46cc4c
cmp dword [esp + 0x20], 0
jne 0x46cc4c
mov edx, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.0046ec00
add esp, 4
mov eax, ebx
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.00434450
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x7f
jne 0x46cc9d
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
je 0x46cc9d
push 1
push eax
push str.sub_select_returns__d_columns___expected__d
push edi
call fcn.00434450
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, ebx
call fcn.0046a990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x1c], 0
jne 0x46ccbf
call fcn.0046a990
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x46cce2
mov ecx, dword [ebx + 0xc]
call fcn.004670f0
cmp edx, eax
je 0x46cce2
push eax
push edx
push str._d_columns_assigned__d_values
push edi
call fcn.00434450
add esp, 0x10
mov eax, dword [ebx + 0xc]
movsx ecx, word [ebx + 0x20]
add ecx, dword [eax + 0x1c]
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x38]
mov eax, ecx
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
dec esi
push 0
mov edx, 0x49
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.00451c90
mov ecx, dword [esp + 0x14]
mov edx, ebx
push edi
push esi
call fcn.0046ad70
mov ebx, dword [ebp + 8]
mov edx, 0x46
mov ecx, dword [esp + 0x20]
push ebx
push 1
call fcn.00451c90
mov edx, esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00452380
push 0
push ebx
mov edx, 0x53
mov ecx, esi
call fcn.00451c90
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.00452380
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
call fcn.0046d720
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 + 0x10]
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.00451c90
movzx eax, word [ebx + 0x20]
add esp, 8
test ax, ax
js 0x46d067
movsx ecx, ax
mov eax, dword [esp + 0x34]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x46d067
push esi
mov edx, 0x54
mov ecx, edi
call fcn.00451c30
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.00434450
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.00451c30
mov edx, dword [ebx + 0xc]
add esp, 4
mov ecx, edi
mov esi, eax
push dword [ebp + 8]
call fcn.0046c340
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, esi
mov dword [ebp + 8], eax
call fcn.004526b0
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00452650
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 0x46ce6f
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.00434450
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 1], 2
jne 0x46ce81
mov eax, dword [edi + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [ebx + 1]
push 0
cmp al, 4
jne 0x46ceac
push dword [ebx + 8]
mov edx, 0x45
mov ecx, esi
push 0
push 4
push 0
call fcn.00451fd0
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebx + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, edi
call fcn.0047a930
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x14]
xor edx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], edx
lea eax, [ecx + 4]
mov ecx, dword [ecx]
dec dword [edi + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x46cf61
mov edx, ecx
lea ecx, [esp + 0x38]
call fcn.00467fe0
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea edx, [esp + 0x3c]
call fcn.0046c230
mov cl, byte [esp + 0x3c]
add esp, 4
and dword [esp + 0x3c], 0xffffefff
mov dword [esp + 0x54], eax
lea eax, [esp + 0x6c]
mov byte [esp + 0x5e], cl
push 0x34
push 0
push eax
mov byte [esp + 0x44], 0xa4
call fcn.005889a0
lea eax, [esp + 0x44]
mov byte [esp + 0x78], 0x35
lea edx, [esp + 0x78]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
dec ecx
test ecx, ecx
jle 0x46d007
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x28], ecx
nop dword [eax]
cmp dword [esp + 0x34], 0
je 0x46cf8f
mov eax, dword [eax]
mov dword [esp + 0x7c], eax
jmp 0x46cf95
mov edx, dword [eax]
mov dword [esp + 0xc], edx
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push edx
push edi
mov dword [esp + 0x3c], eax
call fcn.0046dc20
mov edx, dword [esp + 0x30]
mov ecx, edi
push ebx
mov edx, dword [edx + 0x18]
call fcn.0046d3e0
mov edx, dword [esp + 0x28]
add esp, 0x14
mov ecx, esi
call fcn.00451d00
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x46cfe4
push edx
mov edx, esi
call fcn.00452300
add esp, 4
jmp 0x46cfed
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
add eax, 0x30
sub dword [esp + 0x28], 1
mov dword [esp + 0x20], eax
jne 0x46cf80
mov eax, dword [esp + 0x30]
push ebx
test al, 1
je 0x46d027
lea edx, [eax + eax*2]
mov ecx, edi
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + edx*8 - 0x14]
call fcn.0046d3e0
add esp, 4
jmp 0x46d038
push 0
mov edx, 0x49
mov ecx, esi
call fcn.00451c90
add esp, 8
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x46d05e
push edx
mov edx, esi
call fcn.00452300
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