Function at 0x420120
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.0045d2c0
mov esi, eax
add esp, 4
test esi, esi
je 0x420e62
mov eax, dword [esp + 0x64]
test eax, eax
je 0x420e62
cmp dword [eax + 0x1c], 0
je 0x420e62
push ebp
mov ebp, dword [eax]
mov edx, 7
test ebp, ebp
je 0x4201f9
mov edi, ebp
mov ebx, str.sqlite_
mov al, byte [edi]
dec edx
test al, al
je 0x4201c9
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x4ea938]
cmp al, byte [ecx + 0x4ea938]
jne 0x4201c9
inc edi
inc ebx
test edx, edx
jg 0x4201a7
dec edx
test edx, edx
js 0x420e61
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x4ea938]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x4ea938]
sub eax, ecx
je 0x420e61
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 0x420235
mov ecx, dword [edi + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x420235
mov eax, dword [edi + 0x10]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], edx
je 0x420231
inc dword [esp + 0x18]
add eax, 0x10
cmp dword [esp + 0x18], ecx
jl 0x420220
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.00449a30
add esp, 0x14
test eax, eax
jne 0x420e61
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.004707e0
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.00462640
push 0
push dword [edi]
push 0
push dword [esp + 0x70]
push 0
push 0x61
push esi
call fcn.00475350
mov edx, dword [edi + 8]
add esp, 0x44
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
test edx, edx
je 0x420cf9
test eax, eax
je 0x4202ce
cmp eax, edx
jne 0x420cea
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 0x4202f8
mov eax, dword [edx + 0x34]
and al, 3
cmp al, 2
jne 0x4202f8
movzx ebp, word [edx + 0x2e]
mov eax, edi
mov ecx, ebp
jmp 0x42030a
test byte [edx + 0x34], 8
mov eax, edx
movzx ebp, word [edx + 0x30]
mov ecx, ebp
je 0x42030a
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 0x420337
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
je 0x420334
mov edi, 1
jmp 0x42036e
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 0x4203d6
cmp byte [ecx + 0x41], 0
jne 0x4203d6
test edi, edi
jns 0x420385
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.004332a0
add esp, 0xc
mov dword [edi + 0x10], 0
test ebx, ebx
jne 0x4203ad
mov byte [edi + 1], bl
jmp 0x4203d6
cmp byte [ebx], 0
mov eax, ebx
je 0x4203ba
inc eax
cmp byte [eax], 0
jne 0x4203b4
sub eax, ebx
push 0
and eax, 0x3fffffff
push eax
push ebx
push dword [esi]
call fcn.00451750
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.004752e0
push ebx
push edi
call fcn.00480ab0
mov eax, dword [esi + 0x18]
add esp, 0x1c
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420430
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420467
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 0x42046b
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 0x42048e
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x4204c0
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 0x4204df
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420511
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 0x420550
cmp byte [ebx + 0x41], 0
jne 0x420550
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.004332a0
mov dword [edi + 0x10], 0x4ede88
add esp, 0xc
mov byte [edi + 1], 0xfb
mov ecx, dword [esi + 4]
lea esp, [esp]
test ecx, ecx
je 0x42055f
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.00475250
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 0x420591
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x4205c6
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 0x4209e4
push esi
call fcn.0047e6d0
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 0x420cd6
cmp byte [edi + 0xfa], bl
je 0x42061c
movzx eax, word [edi + 0xf8]
cdq
cmp ebx, edx
jb 0x420639
ja 0x420616
cmp ecx, eax
jbe 0x420639
inc dword [edi + 0x108]
push ebx
push ecx
call fcn.00461c40
mov ebx, eax
mov dword [esp + 0x4c], eax
add esp, 8
test ebx, ebx
jne 0x420678
mov byte [edi + 0x41], 1
jmp 0x420cde
mov ebx, dword [edi + 0x110]
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x42064f
inc dword [edi + 0x10c]
jmp 0x42061c
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 0x420678
mov dword [edi + 0x100], eax
push 0x10
push esi
call fcn.004751e0
mov ebx, dword [esi + 0x20]
add esp, 8
cmp dword [esp + 0x24], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
jne 0x4206f5
cmp word [eax + 0x2e], 1
jne 0x4206f5
cmp byte [eax + 0x32], 0
je 0x4206f5
mov eax, dword [esi + 0x18]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x4206be
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x4206f1
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
jmp 0x420700
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.00457ee0
add esp, 0x10
mov edx, eax
mov dword [esp + 0x40], edx
test bl, bl
jne 0x420753
test edx, edx
je 0x420740
cmp dword [edx + 0xc], 0
jne 0x420753
push edi
push edx
push ebp
push dword [esp + 0x70]
call fcn.0045c4b0
add esp, 0x10
mov ebp, eax
jmp 0x420757
mov ebp, dword [esp + 0x40]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420776
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x4207af
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 0x4207b3
mov edi, dword [esp + 0x20]
push dword [esp + 0x1c]
push edi
push dword [esp + 0x80]
push 0x2f
push esi
call fcn.004752e0
mov eax, dword [esi + 0x18]
add esp, 0x14
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x4207f0
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
je 0x4207ed
mov ebx, 1
jmp 0x420829
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 0x420872
cmp byte [ecx + 0x41], 0
jne 0x420872
test ebx, ebx
jns 0x420842
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.004332a0
add esp, 0xc
test ebp, ebp
jne 0x420867
mov dword [edi + 0x10], ebp
mov byte [edi + 1], 0
jmp 0x42086e
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 0x42088c
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 0x420700
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x4208c0
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x4208f3
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 0x420912
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420949
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 0x420965
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 0x420968
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 0x420988
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.004752e0
inc edi
add esp, 0x14
cmp edi, ebx
jl 0x420970
mov edi, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x48]
js 0x4209c9
mov edx, dword [edi + 0x70]
test edx, edx
je 0x4209c9
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.00451330
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 0x420a00
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420a37
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 0x420a72
cmp byte [ebx + 0x41], 0
jne 0x420a72
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.004332a0
mov dword [edi + 0x10], 0x4edeac
add esp, 0xc
mov byte [edi + 1], 0xfb
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x420a81
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 0x420aa0
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420ad3
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 0x420af2
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420b29
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 0x420b64
cmp byte [ebx + 0x41], 0
jne 0x420b64
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.004332a0
mov dword [edi + 0x10], 0x4eded0
add esp, 0xc
mov byte [edi + 1], 0xfb
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x420b73
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 0x420b9d
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
je 0x420b9a
mov ebx, dword [esp + 0x1c]
mov edi, 1
jmp 0x420bd4
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 0x420c39
cmp byte [ecx + 0x41], 0
jne 0x420c39
test edi, edi
jns 0x420beb
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.004332a0
add esp, 0xc
mov dword [edi + 0x10], 0
mov eax, 0x4f0f08
nop
inc eax
cmp byte [eax], 0
jne 0x420c10
sub eax, 0x4f0f08
push 0
and eax, 0x3fffffff
push eax
push 0x4f0f08
push dword [esi]
call fcn.00451750
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 0x420c58
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420c8f
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.004752e0
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x420cb5
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 0x420ccd
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 0x4202c2
test eax, eax
jne 0x420e61
cmp byte [esp + 0x13], al
je 0x420e61
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x420d2a
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420d61
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.00475250
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 0x420d91
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420dc6
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 0x4f0f08
push ebp
push 3
push dword [esp + 0x4c]
push 0x31
push esi
call fcn.00475350
mov eax, dword [esi + 0x18]
add esp, 0x1c
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x420dfd
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x420e31
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.004752e0
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x420e57
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
push ebx
push esi
call fcn.0047e2a0
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x50
ret