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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
inc ecx
mov dword [esp + 0x18], ecx
inc ecx
mov dword [esp + 0x20], ecx
inc ecx
mov dword [esp + 0xc], ecx
inc ecx
mov dword [esp + 0x2c], ecx
inc ecx
push ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x44], ecx
inc ecx
mov dword [esp + 0x2c], ecx
inc ecx
push esi
mov eax, dword [ebx + 0x48]
cmp eax, ecx
push edi
mov edi, dword [ebx]
cmovle eax, ecx
push ebx
mov dword [esp + 0x34], edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x74], ecx
mov dword [ebx + 0x48], eax
call fcn.0045d470
mov esi, eax
add esp, 4
test esi, esi
je 0x420f82
mov eax, dword [esp + 0x64]
test eax, eax
je 0x420f82
cmp dword [eax + 0x1c], 0
je 0x420f82
push ebp
mov ebp, dword [eax]
mov edx, 7
test ebp, ebp
je 0x420319
mov edi, ebp
mov ebx, str.sqlite_
mov al, byte [edi]
dec edx
test al, al
je 0x4202e9
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x4eb938]
cmp al, byte [ecx + 0x4eb938]
jne 0x4202e9
inc edi
inc ebx
test edx, edx
jg 0x4202c7
dec edx
test edx, edx
js 0x420f81
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x4eb938]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x4eb938]
sub eax, ecx
je 0x420f81
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x40]
mov eax, 0xfff0bdc0
mov dword [esp + 0x18], eax
test edx, edx
je 0x420355
mov ecx, dword [edi + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x420355
mov eax, dword [edi + 0x10]
add eax, 0xc
nop dword [eax]
cmp dword [eax], edx
je 0x420351
inc dword [esp + 0x18]
add eax, 0x10
cmp dword [esp + 0x18], ecx
jl 0x420340
mov eax, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8]
push 0
push ebp
push 0x1c
push ebx
call fcn.00449bb0
add esp, 0x14
test eax, eax
jne 0x420f81
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x18]
push dword [edi]
push eax
push dword [edi + 0x1c]
push ebp
push ebx
call fcn.00470990
mov eax, dword [esp + 0x8c]
mov edx, eax
inc eax
mov dword [esp + 0x70], edx
push 0x36
mov dword [esp + 0x90], eax
push edi
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x44]
cmp eax, ecx
push ebp
push edx
cmovle eax, ecx
push ebx
mov dword [ebx + 0x44], eax
call fcn.00462850
push 0
push dword [edi]
push 0
push dword [esp + 0x70]
push 0
push 0x61
push esi
call fcn.004755d0
mov edx, dword [edi + 8]
add esp, 0x44
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
test edx, edx
je 0x420e19
test eax, eax
je 0x4203ee
cmp eax, edx
jne 0x420e0a
movzx eax, byte [esp + 0x13]
xor ecx, ecx
cmp dword [edx + 0x24], ecx
cmovne ecx, eax
test byte [edi + 0x2a], 0x20
mov byte [esp + 0x13], cl
je 0x420418
mov eax, dword [edx + 0x34]
and al, 3
cmp al, 2
jne 0x420418
movzx ebp, word [edx + 0x2e]
mov eax, edi
mov ecx, ebp
jmp 0x42042a
test byte [edx + 0x34], 8
mov eax, edx
movzx ebp, word [edx + 0x30]
mov ecx, ebp
je 0x42042a
movzx ecx, word [edx + 0x2e]
mov ebx, dword [eax]
dec ecx
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420457
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
je 0x420454
mov edi, 1
jmp 0x42048e
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x61
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x4204f6
cmp byte [ecx + 0x41], 0
jne 0x4204f6
test edi, edi
jns 0x4204a5
mov edi, dword [esi + 0x20]
dec edi
lea eax, [edi + edi*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push eax
push ecx
call fcn.00433490
add esp, 0xc
mov dword [edi + 0x10], 0
test ebx, ebx
jne 0x4204cd
mov byte [edi + 1], bl
jmp 0x4204f6
cmp byte [ebx], 0
mov eax, ebx
je 0x4204da
inc eax
cmp byte [eax], 0
jne 0x4204d4
sub eax, ebx
push 0
and eax, 0x3fffffff
push eax
push ebx
push dword [esi]
call fcn.004518e0
add esp, 0x10
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xff
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x24]
push dword [esp + 0x18]
mov eax, dword [edi + 0x48]
cmp eax, ecx
mov ebx, dword [esp + 0x18]
cmovle eax, ecx
mov dword [edi + 0x48], eax
push dword [ebx + 0x28]
push dword [esp + 0x80]
push 0x36
push esi
call fcn.00475560
push ebx
push edi
call fcn.00480a60
mov eax, dword [esi + 0x18]
add esp, 0x1c
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420550
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420587
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x28]
mov word [eax + ecx*4], 0x19
lea ecx, [eax + ecx*4]
mov byte [ecx + 3], 0
lea eax, [ebp + 1]
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
jmp 0x42058b
mov ebp, dword [esp + 0x28]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
movzx ebx, word [ebx + 0x2e]
cmp dword [eax + 0x54], edi
jg 0x4205ae
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x4205e0
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
lea ecx, [eax + ecx*4]
lea eax, [ebp + 2]
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x4205ff
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420631
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
lea eax, [ebp + 1]
mov dword [ecx + 0xc], ebp
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov edx, dword [esi + 4]
mov ecx, edx
mov ebx, dword [esi]
test edx, edx
je 0x420670
cmp byte [ebx + 0x41], 0
jne 0x420670
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push eax
push ebx
call fcn.00433490
mov dword [edi + 0x10], 0x4eee88
add esp, 0xc
mov byte [edi + 1], 0xfb
mov ecx, dword [esi + 4]
nop dword [eax]
test ecx, ecx
je 0x42067f
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
push dword [esp + 0x78]
push 0x6c
push esi
call fcn.004754d0
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov edi, dword [esi + 0x20]
mov dword [esp + 0x58], eax
mov eax, edi
cmp dword [ecx + 0x54], edi
jg 0x4206b1
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x4206e6
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esi + 0x20]
mov edi, ebp
test ebx, ebx
jle 0x420b04
push esi
call fcn.0047e730
mov edi, dword [esp + 0x38]
lea ecx, [ebx*4]
xor ebx, ebx
add esp, 4
mov ebp, eax
mov dword [esp + 0x48], ebp
cmp byte [edi + 0x41], bl
jne 0x420df6
cmp byte [edi + 0xfa], bl
je 0x42073c
movzx eax, word [edi + 0xf8]
cdq
cmp ebx, edx
jb 0x420759
ja 0x420736
cmp ecx, eax
jbe 0x420759
inc dword [edi + 0x108]
push ebx
push ecx
call fcn.00461dd0
mov ebx, eax
mov dword [esp + 0x4c], eax
add esp, 8
test ebx, ebx
jne 0x420798
mov byte [edi + 0x41], 1
jmp 0x420dfe
mov ebx, dword [edi + 0x110]
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x42076f
inc dword [edi + 0x10c]
jmp 0x42073c
mov eax, dword [ebx]
mov dword [edi + 0x110], eax
mov eax, dword [edi + 0xfc]
inc eax
mov dword [edi + 0xfc], eax
inc dword [edi + 0x104]
cmp eax, dword [edi + 0x100]
jle 0x420798
mov dword [edi + 0x100], eax
push 0x10
push esi
call fcn.00475460
mov ebx, dword [esi + 0x20]
add esp, 8
cmp dword [esp + 0x24], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
jne 0x420815
cmp word [eax + 0x2e], 1
jne 0x420815
cmp byte [eax + 0x32], 0
je 0x420815
mov eax, dword [esi + 0x18]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x4207de
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420811
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x20], edi
nop dword [eax + eax]
mov eax, dword [eax + 0x20]
mov edi, dword [eax + edi*4]
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov al, byte [ecx + 0x3e]
mov bl, byte [ecx + 0x91]
mov byte [esp + 0x54], al
mov ebp, dword [esp + 0x54]
movzx eax, bl
push eax
push edi
push ebp
push ecx
call fcn.00458090
add esp, 0x10
mov edx, eax
mov dword [esp + 0x40], edx
test bl, bl
jne 0x420873
test edx, edx
je 0x420860
cmp dword [edx + 0xc], 0
jne 0x420873
push edi
push edx
push ebp
push dword [esp + 0x70]
call fcn.0045c670
add esp, 0x10
mov ebp, eax
jmp 0x420877
mov ebp, dword [esp + 0x40]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420896
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x4208cf
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x20]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4208d3
mov edi, dword [esp + 0x20]
push dword [esp + 0x1c]
push edi
push dword [esp + 0x80]
push 0x2f
push esi
call fcn.00475560
mov eax, dword [esi + 0x18]
add esp, 0x14
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x420910
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
je 0x42090d
mov ebx, 1
jmp 0x420949
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x74]
add eax, edi
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 4]
mov eax, ebx
mov ecx, dword [esi]
test edx, edx
je 0x420992
cmp byte [ecx + 0x41], 0
jne 0x420992
test ebx, ebx
jns 0x420962
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push eax
push ecx
call fcn.00433490
add esp, 0xc
test ebp, ebp
jne 0x420987
mov dword [edi + 0x10], ebp
mov byte [edi + 1], 0
jmp 0x42098e
mov dword [edi + 0x10], ebp
mov byte [edi + 1], 0xfc
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x44]
mov dword [ebp + edi*4], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4209ac
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x80
mov ebx, dword [esp + 0x24]
inc edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edi
cmp edi, ebx
jl 0x420820
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x4209e0
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420a13
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420a32
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420a69
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
mov edx, dword [esi + 0x20]
dec eax
cmp edx, eax
jbe 0x420a85
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0x20]
dec ecx
jmp 0x420a88
lea ecx, [edx - 1]
mov eax, dword [esi + 0x18]
xor edi, edi
mov dword [eax + 0x58], ecx
mov eax, dword [ebp + edi*4]
mov edx, dword [esi + 0x20]
cmp edx, eax
jbe 0x420aa8
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov dword [eax + 0x58], ecx
mov eax, dword [esp + 0x74]
add eax, edi
push eax
push edi
push dword [esp + 0x80]
push 0x2f
push esi
call fcn.00475560
inc edi
add esp, 0x14
cmp edi, ebx
jl 0x420a90
mov edi, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x48]
js 0x420ae9
mov edx, dword [edi + 0x70]
test edx, edx
je 0x420ae9
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
push ebp
push dword [esp + 0x38]
dec eax
mov dword [edi + 0x58], eax
call fcn.004514c0
mov edi, dword [esi + 0x20]
add esp, 8
mov ebp, dword [esp + 0x4c]
mov eax, dword [esi + 0x18]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420b20
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420b57
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 4]
mov ecx, edx
mov ebx, dword [esi]
test edx, edx
je 0x420b92
cmp byte [ebx + 0x41], 0
jne 0x420b92
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push eax
push ebx
call fcn.00433490
mov dword [edi + 0x10], 0x4eeeac
add esp, 0xc
mov byte [edi + 1], 0xfb
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x420ba1
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420bc0
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420bf3
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 9
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420c12
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420c49
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 4]
mov ecx, edx
mov ebx, dword [esi]
test edx, edx
je 0x420c84
cmp byte [ebx + 0x41], 0
jne 0x420c84
mov eax, dword [esi + 0x20]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push eax
push ebx
call fcn.00433490
mov dword [edi + 0x10], 0x4eeed0
add esp, 0xc
mov byte [edi + 1], 0xfb
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x420c93
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420cbd
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
je 0x420cba
mov ebx, dword [esp + 0x1c]
mov edi, 1
jmp 0x420cf4
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x1c]
lea ecx, [edi + edi*4]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x420d59
cmp byte [ecx + 0x41], 0
jne 0x420d59
test edi, edi
jns 0x420d0b
mov edi, dword [esi + 0x20]
dec edi
lea eax, [edi + edi*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push eax
push ecx
call fcn.00433490
add esp, 0xc
mov dword [edi + 0x10], 0
mov eax, 0x4f1f08
nop
inc eax
cmp byte [eax], 0
jne 0x420d30
sub eax, 0x4f1f08
push 0
and eax, 0x3fffffff
push eax
push 0x4f1f08
push dword [esi]
call fcn.004518e0
add esp, 0x10
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xff
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420d78
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420daf
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x4a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x78]
push 0x4b
push esi
call fcn.00475560
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x420dd5
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x58]
cmp edx, eax
jbe 0x420ded
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov dword [eax + 0x58], ecx
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], al
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4203e2
test eax, eax
jne 0x420f81
cmp byte [esp + 0x13], al
je 0x420f81
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420e4a
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420e81
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x38]
push 0x2e
push esi
call fcn.004754d0
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov edi, dword [esi + 0x20]
mov ebx, eax
mov eax, edi
cmp dword [ecx + 0x54], edi
jg 0x420eb1
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420ee6
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x50]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [esp + 0x1c]
push 0
push 0x4f1f08
push ebp
push 3
push dword [esp + 0x4c]
push 0x31
push esi
call fcn.004755d0
mov eax, dword [esi + 0x18]
add esp, 0x1c
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x420f1d
push 1
push esi
call fcn.00436000
add esp, 8
test eax, eax
jne 0x420f51
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x4a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x2c]
push ebp
push dword [esp + 0x78]
push 0x4b
push esi
call fcn.00475560
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x420f77
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
push ebx
push esi
call fcn.0047e300
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret