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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x68]
mov dword [esp + 0x24], eax
inc eax
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0x2c], eax
inc eax
push ebx
mov dword [esp + 0x18], eax
inc eax
push ebp
push esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
inc eax
push edi
mov edi, dword [esp + 0x68]
mov ecx, dword [edi]
mov dword [esp + 0x5c], eax
inc eax
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x4c], eax
inc eax
cmp ecx, eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x78], eax
jle 0x470bce
mov eax, ecx
mov ebp, dword [edi + 8]
xor ebx, ebx
mov dword [edi + 0x48], eax
cmp ebp, ebx
jne 0x470c1b
push edi
call fcn.00457c00
mov ebp, eax
add esp, 4
mov dword [edi + 8], eax
cmp ebp, ebx
je 0x470bff
push 0x9e
mov esi, ebp
call fcn.00457e70
mov esi, dword [esp + 0x70]
add esp, 4
cmp dword [edi + 0x198], ebx
jne 0x470c13
mov edx, dword [edi]
test byte [edx + 0x3c], 8
jne 0x470c13
mov byte [edi + 0x17], 1
cmp ebp, ebx
je 0x471658
cmp esi, ebx
je 0x471658
cmp dword [esi + 0x1c], ebx
je 0x471658
mov eax, dword [esi]
push 7
push str.sqlite_
push eax
call fcn.0043e200
add esp, 0xc
test eax, eax
je 0x471658
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 0x40]
mov ecx, dword [esp + 0x30]
call fcn.00489a20
mov edx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [edx + 0x10]
mov edx, dword [esp + 0x6c]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + eax]
mov eax, dword [edx]
push ecx
push ebx
push eax
push 0x1c
mov eax, edi
mov dword [esp + 0x64], esi
call fcn.00472b40
add esp, 0x10
test eax, eax
jne 0x471658
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [eax + 0x1c]
push ecx
push ebx
push edx
push esi
push edi
call fcn.00472bd0
mov eax, dword [esp + 0x90]
mov edi, dword [edi + 0x44]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x3c], eax
inc eax
add esp, 0x14
cmp edi, eax
jle 0x470cb8
mov eax, edi
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x6c]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x54]
push 0x36
push eax
push edx
push ecx
mov eax, esi
call fcn.004801f0
mov edi, dword [esi]
mov ecx, dword [esp + 0x60]
push ebx
push ebx
push 0x61
push ebp
xor eax, eax
call fcn.00457f10
mov eax, dword [esi + 8]
add esp, 0x20
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x471512
jmp 0x470d04
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
je 0x470d14
cmp ecx, eax
jne 0x4714ff
cmp dword [eax + 0x24], ebx
jne 0x470d1d
mov byte [esp + 0x17], bl
test byte [esi + 0x2a], 0x20
je 0x470d3f
mov ecx, dword [eax + 0x34]
and cl, 3
cmp cl, 2
jne 0x470d3f
movzx eax, word [eax + 0x2e]
mov edi, dword [esi]
mov dword [esp + 0x48], eax
dec eax
mov dword [esp + 0x18], eax
jmp 0x470d5f
test byte [eax + 0x34], 8
movzx ecx, word [eax + 0x30]
mov edi, dword [eax]
mov dword [esp + 0x48], ecx
je 0x470d5a
movzx eax, word [eax + 0x2e]
dec eax
mov dword [esp + 0x18], eax
jmp 0x470d5f
dec ecx
mov dword [esp + 0x18], ecx
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
jg 0x470d7e
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
je 0x470d7e
mov eax, 1
jmp 0x470da5
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x5c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x61
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
cmp ecx, ebx
je 0x470e00
cmp byte [edx + 0x41], bl
jne 0x470e00
cmp eax, ebx
jge 0x470dbc
mov eax, dword [ebp + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00458430
add esp, 4
mov dword [esi + 0x10], ebx
cmp edi, ebx
jne 0x470de1
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x470e0d
mov eax, edi
call fcn.0043df20
cdq
push edx
mov edx, dword [ebp]
push eax
push edi
call fcn.0043bc50
add esp, 0xc
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x470e0d
push edx
mov ecx, edi
xor eax, eax
call fcn.00458430
add esp, 4
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx + 0x48]
cmp ecx, eax
jle 0x470e25
mov eax, ecx
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x20]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push 0x36
mov esi, ebp
call fcn.00457e10
mov eax, dword [esp + 0x78]
add esp, 0x10
mov ecx, edi
call fcn.004586f0
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
jg 0x470e6d
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x470e9b
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edi, dword [esp + 0x44]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
lea edx, [edi + 1]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x470e9f
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 0x2e]
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
mov dword [esp + 0x48], ecx
jg 0x470ec3
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x470eeb
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x48]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [edi + 2]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
push edi
inc edi
push edi
push ebx
push 0x23
mov esi, ebp
call fcn.00457e10
mov esi, dword [ebp + 4]
mov ecx, dword [ebp]
add esp, 0x10
cmp esi, ebx
je 0x470f2f
cmp byte [ecx + 0x41], bl
jne 0x470f2f
mov eax, dword [ebp + 0x20]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [esi + edx*4 + 1]
lea esi, [esi + edx*4]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00458430
mov dword [esi + 0x10], 0x539084
mov byte [esi + 1], 0xfb
jmp 0x470f3f
push ecx
mov ecx, 0x539084
mov eax, 0xfffffffb
call fcn.00458430
mov ecx, dword [ebp + 4]
add esp, 4
cmp ecx, ebx
je 0x470f54
mov eax, dword [ebp + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov ecx, dword [esp + 0x28]
push ecx
push 0x6d
mov esi, ebp
call fcn.00457ec0
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
add esp, 8
cmp dword [edx + 0x54], esi
mov dword [esp + 0x60], eax
jg 0x470f81
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x470fa6
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x18], ebx
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x48], eax
jle 0x4712fd
mov eax, ebp
call fcn.00458100
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
lea edx, [ecx*4]
push ebx
push edx
mov dword [esp + 0x48], eax
call fcn.0043ba30
add esp, 8
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x4714ff
push 0xe
mov esi, ebp
call fcn.00457e70
mov esi, dword [ebp + 0x20]
mov edi, 1
add esp, 4
mov dword [esp + 0x48], esi
cmp dword [esp + 0x18], edi
jne 0x471052
mov eax, dword [esp + 0x20]
cmp word [eax + 0x2e], di
jne 0x471052
cmp byte [eax + 0x32], bl
je 0x471052
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
jg 0x471029
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x471052
mov edx, dword [ebp + 4]
add dword [ebp + 0x20], edi
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x40]
mov byte [eax], 0x4d
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jle 0x4711ae
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx*4]
mov edi, dword [esp + 0x68]
call fcn.00474ac0
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
jg 0x471093
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4710bc
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
push 0x2f
mov esi, ebp
call fcn.00457e10
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
add esp, 0x10
cmp dword [edx + 0x54], esi
jg 0x4710f6
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
je 0x4710f6
mov edi, 1
jmp 0x471123
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x78]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
add ecx, edx
mov dword [eax + 4], edi
mov byte [eax], 0x4e
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, esi
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
mov eax, edi
cmp edx, ebx
je 0x471170
cmp byte [ecx + 0x41], bl
jne 0x471170
cmp edi, ebx
jge 0x47113c
mov eax, dword [ebp + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00458430
add esp, 4
mov dword [esi + 0x10], ebx
cmp dword [esp + 0x38], ebx
jne 0x471163
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x471182
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfc
jmp 0x471182
push ecx
mov ecx, dword [esp + 0x3c]
mov eax, 0xfffffffc
call fcn.00458430
add esp, 4
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [eax + edx*4], edi
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x47119f
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 0x80
inc edx
cmp edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
jl 0x471060
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
jg 0x4711c6
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4711ef
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
jg 0x471207
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x47122c
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x20]
dec eax
cmp ecx, eax
jbe 0x471242
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
dec eax
xor edi, edi
cmp dword [esp + 0x18], ebx
mov dword [ecx + 0x58], eax
jle 0x471297
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + edi*4]
mov ecx, dword [ebp + 0x20]
cmp ecx, eax
jbe 0x47126c
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x78]
dec eax
mov dword [ecx + 0x58], eax
mov ecx, dword [esp + 0x28]
lea eax, [edi + edx]
push eax
push edi
push ecx
push 0x2f
mov esi, ebp
call fcn.00457e10
inc edi
add esp, 0x10
cmp edi, dword [esp + 0x18]
jl 0x471254
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x40]
js 0x4712b4
mov esi, dword [edx + 0x70]
cmp esi, ebx
je 0x4712b4
mov edi, dword [ebp + 0x20]
mov dword [esi + ecx*4], edi
mov ecx, dword [ebp + 0x20]
dec ecx
mov dword [edx + 0x58], ecx
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x208], ebx
je 0x4712ce
call fcn.0043b790
jmp 0x4712fd
cmp eax, dword [ecx + 0x114]
jb 0x4712f4
cmp eax, dword [ecx + 0x118]
jae 0x4712f4
mov edx, dword [ecx + 0x110]
mov dword [eax], edx
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], eax
jmp 0x4712fd
push eax
call fcn.0043b720
add esp, 4
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
push eax
push edi
push 1
push 0x23
mov esi, ebp
call fcn.00457e10
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
add esp, 0x10
cmp ecx, ebx
je 0x471348
cmp byte [edx + 0x41], bl
jne 0x471348
mov eax, dword [ebp + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00458430
mov dword [esi + 0x10], 0x5390a8
mov byte [esi + 1], 0xfb
jmp 0x471358
push edx
mov ecx, 0x5390a8
mov eax, 0xfffffffb
call fcn.00458430
mov ecx, dword [ebp + 4]
add esp, 4
cmp ecx, ebx
je 0x47136d
mov eax, dword [ebp + 0x20]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 2
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x54], esi
jg 0x471385
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4713ae
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov byte [eax], 8
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x4c]
push eax
push edi
mov eax, ebp
call fcn.00470ad0
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
add esp, 8
cmp dword [ecx + 0x54], esi
jg 0x4713dd
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
je 0x4713dd
mov eax, 1
jmp 0x47140c
mov eax, dword [ebp + 4]
inc dword [ebp + 0x20]
mov ecx, dword [esp + 0x50]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax], 0x31
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], 3
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, esi
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
cmp ecx, ebx
je 0x471462
cmp byte [edx + 0x41], bl
jne 0x471462
cmp eax, ebx
jge 0x471423
mov eax, dword [ebp + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00458430
add esp, 4
mov eax, 0x5425b0
mov dword [esi + 0x10], ebx
call fcn.0043df20
cdq
push edx
mov edx, dword [ebp]
push eax
push 0x5425b0
call fcn.0043bc50
add esp, 0xc
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x471472
push edx
mov ecx, 0x5425b0
xor eax, eax
call fcn.00458430
add esp, 4
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x47148a
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4714b3
mov eax, dword [ebp + 4]
inc dword [ebp + 0x20]
mov ecx, dword [esp + 0x74]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x34]
mov byte [eax], 0x4b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
push 0x54
mov esi, ebp
call fcn.00457e10
mov eax, dword [ebp + 4]
add esp, 0x10
cmp eax, ebx
je 0x4714e0
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jbe 0x4714f5
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 4]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
dec edx
mov dword [eax + 0x58], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x470d00
cmp dword [esp + 0x70], ebx
jne 0x471658
cmp byte [esp + 0x17], bl
je 0x471658
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
cmp dword [edx + 0x54], esi
jg 0x47153e
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x471567
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x20]
mov edx, dword [esp + 0x58]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov byte [eax], 0x32
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x4c]
push edx
push 0x2e
mov esi, ebp
call fcn.00457ec0
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x18]
add esp, 8
cmp dword [eax + 0x54], esi
jg 0x471594
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4715b9
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
push ebx
push edx
push 0x31
push ebp
mov edi, 0x5425b0
mov ecx, 3
call fcn.00457f10
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0x10
cmp dword [eax + 0x54], esi
jg 0x4715f0
push ebp
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x471619
mov edx, dword [ebp + 4]
inc dword [ebp + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov byte [eax], 0x4b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
push 0x54
mov esi, ebp
call fcn.00457e10
mov eax, dword [ebp + 4]
add esp, 0x10
cmp eax, ebx
je 0x471646
mov ecx, dword [ebp + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov eax, dword [esp + 0x68]
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
jmp fcn.00458410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret