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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x60]
xor eax, eax
push ebp
push esi
push edi
mov ebp, dword [ebx]
push ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x17], al
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x38], ebp
call fcn.0045d2c0
mov edi, dword [esp + 0x74]
mov esi, eax
add esp, 4
test byte [edi + 0x2a], 0x20
movsx eax, word [edi + 0x22]
mov dword [esp + 0x48], eax
jne 0x45a6ae
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], 1
jmp 0x45a6e0
mov ecx, dword [edi + 8]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x45a6d8
lea esp, [esp]
mov eax, dword [ecx + 0x34]
and al, 3
cmp al, 2
je 0x45a6d0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x45a6c0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
movzx ecx, word [ecx + 0x2e]
mov dword [esp + 0x38], ecx
test eax, eax
jle 0x45a8df
mov eax, dword [esp + 0x80]
xor edx, edx
mov dword [esp + 0x24], edx
lea ebp, [eax + 1]
not eax
mov dword [esp + 0x44], eax
mov edi, edi
lea ecx, [eax + ebp]
movsx eax, word [edi + 0x20]
cmp ecx, eax
je 0x45a8bf
mov ecx, dword [edi + 4]
mov al, byte [edx + ecx + 0x14]
movzx edi, al
test al, al
je 0x45a8bb
mov ah, byte [esp + 0x8c]
cmp ah, 0xa
jne 0x45a752
cmp al, ah
jne 0x45a752
mov ebx, 2
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x198]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x70]
mov byte [ecx + 0x15], 1
mov ecx, dword [eax + 4]
jmp 0x45a785
cmp ah, 0xa
movzx ebx, ah
cmove ebx, edi
cmp ebx, 5
jne 0x45a76e
cmp dword [edx + ecx + 4], 0
jne 0x45a76e
mov ebx, 2
jmp case.0x45a77a.2
lea eax, [ebx - 1]
cmp eax, 3
ja case.default.0x45a77a
jmp dword [eax*4 + 0x45bd0c]
mov eax, dword [esp + 0x70]
push dword [edx + ecx]
push dword [eax]
push str._s._s
push dword [esp + 0x40]
call fcn.00461bc0
mov ecx, dword [esi + 0x18]
add esp, 0x10
mov edi, dword [esi + 0x20]
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x54], edi
jg 0x45a7c0
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
je 0x45a7c0
mov edi, 1
jmp 0x45a7ec
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x45a834
cmp byte [ecx + 0x41], 0
jne 0x45a834
test edi, edi
jns 0x45a803
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
mov eax, dword [esp + 0x58]
add esp, 0xc
test eax, eax
jne 0x45a82b
mov dword [edi + 0x10], eax
mov byte [edi + 1], al
jmp 0x45a846
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xff
jmp 0x45a846
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45a846
push eax
push ecx
call fcn.00451330
add esp, 8
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
test ecx, ecx
je 0x45a8bf
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 1
jmp 0x45a8bf
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x45a884
push 1
push esi
call fcn.00435e50
mov edx, dword [esp + 0x2c]
add esp, 8
test eax, eax
jne 0x45a8b7
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov ebx, dword [esp + 0x90]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x44]
inc ebp
add eax, ebp
add edx, 0x18
cmp eax, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], edx
jl 0x45a700
mov ebp, dword [esp + 0x34]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x2c], edx
test edx, edx
je 0x45ab4f
test dword [ebp + 0x18], 0x2000
jne 0x45ab4f
mov eax, dword [esp + 0x80]
inc eax
mov dword [ebx + 0x5c], eax
mov al, byte [esp + 0x8c]
cmp al, 0xa
je 0x45a968
movzx eax, al
mov dword [esp + 0x30], eax
jmp 0x45a970
push ebp
push 0x4d
push esi
call fcn.00475250
mov ebx, dword [esp + 0x78]
mov edi, eax
mov eax, dword [esp + 0x7c]
push ebp
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x34]
push dword [eax + ecx + 4]
push ebx
call fcn.004547e0
mov edx, dword [esi + 0x20]
add esp, 0x18
cmp edx, edi
jbe 0x45a956
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov edx, dword [esp + 0x24]
mov dword [eax + 0x58], ecx
jmp 0x45a8bb
mov dword [esp + 0x30], 2
cmp dword [edx], 0
mov dword [esp + 0x48], 0
jle 0x45ab4f
xor edi, edi
mov dword [esp + 0x28], edi
jmp 0x45a994
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x58], ecx
mov ebp, dword [ecx + 0x6c]
lea eax, [ebp + 1]
mov dword [ecx + 0x6c], eax
lea eax, [ebp - 1]
test ebp, eax
jne 0x45aa8a
mov ebx, dword [ecx + 0x70]
lea eax, [ebp*8 + 4]
mov edi, dword [ecx]
push 0
push eax
push ebx
push edi
call fcn.004515f0
add esp, 0x10
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x45aa6f
test ebx, ebx
je 0x45aa6f
test edi, edi
je 0x45aa1a
cmp dword [edi + 0x208], eax
je 0x45a9f4
push ebx
push edi
call fcn.00438370
add esp, 8
jmp 0x45aa6f
cmp ebx, dword [edi + 0x114]
jb 0x45aa1a
cmp ebx, dword [edi + 0x118]
jae 0x45aa1a
mov eax, dword [edi + 0x110]
mov dword [ebx], eax
dec dword [edi + 0xfc]
mov dword [edi + 0x110], ebx
jmp 0x45aa6f
cmp dword [section..data], 0
je 0x45aa65
mov eax, dword [0x50bf70]
test eax, eax
je 0x45aa36
push eax
call dword [0x509054]
add esp, 4
push ebx
call dword [0x509030]
sub dword [0x50bdf0], eax
dec dword [0x50be14]
push ebx
call dword [0x509028]
mov eax, dword [0x50bf70]
add esp, 8
test eax, eax
je 0x45aa6f
push eax
call dword [0x50905c]
jmp 0x45aa6c
push ebx
call dword [0x509028]
add esp, 4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x6c]
mov dword [eax + 0x70], ecx
mov eax, ecx
jmp 0x45aa8d
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x45aa98
mov dword [eax + ebp*4], 0xffffffff
push 0x10
mov eax, ebp
not eax
push eax
mov eax, dword [edx + 4]
push dword [edi + eax]
push ebx
call fcn.00457030
mov ebx, dword [esp + 0x40]
add esp, 0x10
cmp ebx, 4
jne 0x45abb7
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x45aada
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x45ab14
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x90]
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 edi, dword [esp + 0x28]
mov edx, dword [esi + 0x18]
test ebp, ebp
js 0x45ab2c
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x45ab2c
mov eax, dword [esi + 0x20]
mov dword [ecx + ebp*4], eax
mov eax, dword [esi + 0x20]
add edi, 0x18
mov ebx, dword [esp + 0x48]
dec eax
mov dword [edx + 0x58], eax
inc ebx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], edi
cmp ebx, dword [edx]
jl 0x45a990
cmp byte [esp + 0x88], 0
je 0x45b01e
cmp dword [esp + 0x18], 0
jne 0x45b01e
mov edi, dword [esi + 0x18]
mov ebp, dword [edi + 0x6c]
lea eax, [ebp + 1]
mov dword [edi + 0x6c], eax
lea eax, [ebp - 1]
test ebp, eax
jne 0x45abfa
mov ecx, dword [edi + 0x70]
lea eax, [ebp*8 + 4]
mov edx, dword [edi]
push 0
push eax
push ecx
push edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
call fcn.004515f0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x45abb2
push dword [esp + 0x58]
push dword [esp + 0x50]
call fcn.00451330
add esp, 8
mov dword [edi + 0x70], ebx
jmp 0x45abfd
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov eax, dword [edi + eax + 4]
test eax, eax
jne 0x45abcc
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
push 3
push 0
cmp ebx, 5
mov ecx, 2
push eax
cmove ebx, ecx
push ebx
push 0x113
push dword [esp + 0x80]
mov dword [esp + 0x48], ebx
call fcn.0045d350
add esp, 0x18
jmp 0x45ab18
mov ebx, dword [edi + 0x70]
test ebx, ebx
je 0x45ac08
mov dword [ebx + ebp*4], 0xffffffff
mov cl, byte [esp + 0x8c]
mov eax, ebp
not eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
movzx edi, byte [eax + 0x2b]
cmp cl, 0xa
je 0x45ac29
movzx edi, cl
jmp 0x45ac34
cmp edi, 0xa
mov edx, 2
cmove edi, edx
cmp dword [esp + 0x84], 0
je 0x45acb7
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x45ac5d
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x45ac9a
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x84]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45acac
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x90
mov cl, byte [esp + 0x8c]
mov eax, dword [esp + 0x70]
cmp edi, 5
jne 0x45ad4e
cmp cl, 5
je 0x45ad4e
mov eax, dword [eax + 8]
test eax, eax
je 0x45ad4e
mov cl, byte [eax + 0x32]
cmp cl, 4
je 0x45acea
cmp cl, 3
je 0x45acea
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x45acd4
jmp 0x45ad4e
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
mov dword [esp + 0x3c], ebx
cmp dword [eax + 0x54], ebx
jg 0x45ad17
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
je 0x45ad14
mov dword [esp + 0x3c], 1
jmp 0x45ad4e
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], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x45ad6d
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x45ada7
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4], 0x46
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi - 1]
cmp eax, 4
ja case.default.0x45adb3
jmp dword [eax*4 + 0x45bd1c]
mov eax, dword [esp + 0x34]
xor edi, edi
mov ebx, dword [esp + 0x6c]
test dword [eax + 0x18], 0x40000
je 0x45ade4
push edi
push edi
push 0x6d
push dword [esp + 0x7c]
push ebx
call fcn.00470bf0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x45ae21
mov ecx, dword [ebx]
test dword [ecx + 0x18], 0x80000
je 0x45ae6d
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x64]
push edx
mov eax, dword [ecx + 0x40]
push dword [ecx]
add eax, 0x38
push eax
call fcn.0042fa90
add esp, 0xc
test eax, eax
je 0x45ae17
cmp dword [eax + 8], 0
jne 0x45ae21
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x10], 0
je 0x45ae6d
mov eax, dword [ebx + 0x198]
mov ecx, ebx
push 1
push 5
push 0
push 1
push dword [esp + 0x90]
test eax, eax
push dword [esp + 0x90]
cmovne ecx, eax
push dword [esp + 0x90]
push edi
push dword [esp + 0x90]
mov byte [ecx + 0x14], 1
push ebx
call fcn.0045bf30
add esp, 0x28
mov dword [esp + 0x40], 1
jmp 0x45af76
mov edi, dword [esp + 0x70]
cmp dword [edi + 8], 0
je 0x45aea2
mov eax, dword [ebx + 0x198]
mov ecx, ebx
push 0
push dword [esp + 0x80]
test eax, eax
push dword [esp + 0x80]
cmovne ecx, eax
push edi
push ebx
mov byte [ecx + 0x14], 1
call fcn.0045c300
add esp, 0x14
mov dword [esp + 0x40], 1
jmp 0x45af76
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x45aed2
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x45af76
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x90]
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
jmp 0x45af76
mov edi, 2
mov edx, dword [esp + 0x70]
movzx eax, word [edx + 0x20]
test ax, ax
js 0x45af46
cwde
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
mov eax, dword [esp + 0x70]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.00461bc0
add esp, 0x10
mov ecx, 0x613
jmp 0x45af60
push dword [edx]
mov eax, dword [esp + 0x70]
push str._s.rowid
push dword [eax]
call fcn.00461bc0
add esp, 0xc
mov ecx, 0xa13
push 2
push 0xffffffffffffffff
push eax
push edi
push ecx
push dword [esp + 0x80]
call fcn.0045d350
add esp, 0x18
mov edx, dword [esi + 0x18]
test ebp, ebp
js 0x45af8a
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x45af8a
mov eax, dword [esi + 0x20]
mov dword [ecx + ebp*4], eax
mov eax, dword [esi + 0x20]
mov ebx, dword [esp + 0x3c]
dec eax
mov dword [edx + 0x58], eax
test ebx, ebx
je 0x45b01e
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x50], edi
cmp dword [eax + 0x54], edi
jg 0x45afca
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
je 0x45afc7
mov dword [esp + 0x50], 1
jmp 0x45b001
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], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x20]
cmp edx, ebx
jbe 0x45b015
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*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 ecx, dword [esp + 0x70]
mov dword [esp + 0x20], 0
mov edi, dword [ecx + 8]
mov dword [esp + 0x14], edi
test edi, edi
je 0x45bcbd
mov edx, dword [esp + 0x74]
xor eax, eax
nop
cmp dword [edx + eax*4], 0
je 0x45bca9
cmp byte [esp + 0x13], 0
jne 0x45b069
mov eax, dword [esp + 0x80]
inc eax
push eax
push ecx
push esi
call fcn.004706c0
add esp, 0xc
mov byte [esp + 0x13], 1
mov ebp, dword [esi + 0x18]
mov ecx, dword [ebp + 0x6c]
mov ebx, dword [ebp + 0x70]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x45b157
mov edi, dword [ebp]
lea eax, [ecx*8 + 4]
push 0
push eax
push ebx
push edi
call fcn.004515f0
add esp, 0x10
mov dword [esp + 0x58], eax
test eax, eax
jne 0x45b148
test ebx, ebx
je 0x45b148
test edi, edi
je 0x45b0f3
cmp dword [edi + 0x208], eax
je 0x45b0cd
push ebx
push edi
call fcn.00438370
add esp, 8
jmp 0x45b148
cmp ebx, dword [edi + 0x114]
jb 0x45b0f3
cmp ebx, dword [edi + 0x118]
jae 0x45b0f3
mov eax, dword [edi + 0x110]
mov dword [ebx], eax
dec dword [edi + 0xfc]
mov dword [edi + 0x110], ebx
jmp 0x45b148
cmp dword [section..data], 0
je 0x45b13e
mov eax, dword [0x50bf70]
test eax, eax
je 0x45b10f
push eax
call dword [0x509054]
add esp, 4
push ebx
call dword [0x509030]
sub dword [0x50bdf0], eax
dec dword [0x50be14]
push ebx
call dword [0x509028]
mov eax, dword [0x50bf70]
add esp, 8
test eax, eax
je 0x45b148
push eax
call dword [0x50905c]
jmp 0x45b145
push ebx
call dword [0x509028]
add esp, 4
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x70], ebx
test ebx, ebx
je 0x45b162
mov dword [ebx + ecx*4], 0xffffffff
cmp dword [edi + 0x24], 0
mov eax, ecx
not eax
mov dword [esp + 0x2c], eax
je 0x45b26c
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
mov ebx, dword [esi + 0x18]
mov ebp, dword [esi + 0x20]
mov eax, dword [ecx + eax*4]
mov ecx, ebp
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x54]
cmp eax, ebp
jg 0x45b1ff
test eax, eax
je 0x45b19e
lea eax, [eax + eax*4]
shl eax, 3
jmp 0x45b1a3
mov eax, 0x3fc
push 0
push eax
push dword [esi + 4]
push dword [ebx]
call fcn.004515f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45b23e
mov eax, dword [ebx]
test eax, eax
je 0x45b1dc
cmp edi, dword [eax + 0x114]
jb 0x45b1dc
cmp edi, dword [eax + 0x118]
jae 0x45b1dc
movzx ecx, word [eax + 0xf8]
jmp 0x45b1e8
push edi
call dword [0x509030]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], edi
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 4]
add ecx, ebp
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
jmp 0x45b242
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x80]
push 0x10
push dword [esp + 0x30]
inc eax
mov dword [ebx + 0x5c], eax
push dword [edi + 0x24]
push ebx
call fcn.00456c80
add esp, 0x10
mov dword [ebx + 0x5c], 0
jmp 0x45b270
mov ebx, dword [esp + 0x6c]
movzx ecx, word [edi + 0x30]
mov edx, dword [ebx + 0x38]
mov ebp, dword [ebx + 0x3c]
mov dword [esp + 0x24], ebp
cmp ecx, edx
jg 0x45b28f
lea eax, [ecx + ebp]
sub edx, ecx
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], edx
jmp 0x45b29e
mov eax, dword [ebx + 0x48]
lea ebp, [eax + 1]
add eax, ecx
mov dword [esp + 0x24], ebp
mov dword [ebx + 0x48], eax
mov edx, dword [esp + 0x14]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x30], edi
movzx eax, word [edx + 0x30]
mov ecx, eax
cmp bx, ax
jae 0x45b3e1
lea esp, [esp]
mov eax, dword [edx + 4]
movsx ecx, word [eax + edi*2]
test ecx, ecx
js 0x45b2e7
mov eax, dword [esp + 0x70]
movsx eax, word [eax + 0x20]
cmp ecx, eax
je 0x45b2e7
mov eax, dword [esp + 0x80]
inc eax
add eax, ecx
mov dword [esp + 0x4c], eax
jmp 0x45b30e
cmp dword [esp + 0x54], ebp
je 0x45b3cf
mov eax, dword [esp + 0x80]
mov ecx, 0xffffffff
cmp dword [edx + 0x24], 0
mov dword [esp + 0x4c], eax
mov eax, ebp
cmovne eax, ecx
mov dword [esp + 0x54], eax
mov ebx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x58], edx
mov eax, dword [ebx + 0x54]
cmp eax, edx
jg 0x45b392
test eax, eax
je 0x45b32d
lea eax, [eax + eax*4]
shl eax, 3
jmp 0x45b332
mov eax, 0x3fc
push 0
push eax
push dword [esi + 4]
push dword [ebx]
call fcn.004515f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45b3c7
mov eax, dword [ebx]
test eax, eax
je 0x45b36b
cmp edi, dword [eax + 0x114]
jb 0x45b36b
cmp edi, dword [eax + 0x118]
jae 0x45b36b
movzx ecx, word [eax + 0xf8]
jmp 0x45b377
push edi
call dword [0x509030]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x58]
mov dword [esi + 4], edi
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x22
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
jmp 0x45b3cb
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
movzx ecx, word [edx + 0x30]
inc edi
inc ebp
mov dword [esp + 0x30], edi
cmp edi, ecx
jl 0x45b2c0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov ebx, dword [esi + 0x18]
mov ebp, dword [esi + 0x20]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x4c], eax
movzx eax, cx
mov ecx, ebp
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x54]
cmp eax, ebp
jg 0x45b46f
test eax, eax
je 0x45b412
lea eax, [eax + eax*4]
shl eax, 3
jmp 0x45b417
mov eax, 0x3fc
push 0
push eax
push dword [esi + 4]
push dword [ebx]
call fcn.004515f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45b4ae
mov eax, dword [ebx]
test eax, eax
je 0x45b450
cmp edi, dword [eax + 0x114]
jb 0x45b450
cmp edi, dword [eax + 0x118]
jae 0x45b450
movzx ecx, word [eax + 0xf8]
jmp 0x45b45c
push edi
call dword [0x509030]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], edi
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x24]
lea ecx, [ebp*4]
mov dword [esi + 0x20], eax
add ecx, ebp
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x45b4b2
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x6c]
movzx eax, word [edi + 0x30]
push eax
push ebx
push ebp
call fcn.00454570
add esp, 0xc
cmp dword [esp + 0x84], 0
je 0x45b507
cmp dword [esp + 0x18], edi
jne 0x45b507
cmp byte [esp + 0x88], 0
jne 0x45b507
mov ebx, dword [esp + 0x28]
mov edx, dword [esi + 0x18]
test ebx, ebx
js 0x45b4fb
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x45b4fb
mov eax, dword [esi + 0x20]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
jmp 0x45bc9d
movzx edx, byte [edi + 0x32]
test edx, edx
jne 0x45b54d
movzx edi, word [edi + 0x30]
push edi
push ebx
push ebp
call fcn.00454570
add esp, 0xc
cmp edi, dword [ebp + 0x38]
jle 0x45b529
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], ebx
mov ebx, dword [esp + 0x28]
mov edx, dword [esi + 0x18]
test ebx, ebx
js 0x45b541
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x45b541
mov eax, dword [esi + 0x20]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
jmp 0x45bc99
mov al, byte [esp + 0x8c]
cmp al, 0xa
je 0x45b561
movzx eax, al
mov dword [esp + 0x4c], eax
jmp 0x45b570
cmp edx, 0xa
mov eax, 2
cmove edx, eax
mov dword [esp + 0x4c], edx
movzx eax, word [edi + 0x2e]
mov ebp, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x54]
cmp eax, edi
jg 0x45b5f2
test eax, eax
je 0x45b593
lea eax, [eax + eax*4]
shl eax, 3
jmp 0x45b598
mov eax, 0x3fc
push 0
push eax
push dword [esi + 4]
push dword [ebp]
call fcn.004515f0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x45b684
mov eax, dword [ebp]
test eax, eax
je 0x45b5d3
cmp ebx, dword [eax + 0x114]
jb 0x45b5d3
cmp ebx, dword [eax + 0x118]
jae 0x45b5d3
movzx ecx, word [eax + 0xf8]
jmp 0x45b5df
push ebx
call dword [0x509030]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebp + 0x54], edx
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], ebx
mov edx, dword [esp + 0x7c]
lea eax, [ecx + 1]
add edx, dword [esp + 0x20]
lea ecx, [edi + edi*4]
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x43
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
test ecx, ecx
je 0x45b670
cmp byte [edx + 0x41], 0
jne 0x45b670
test edi, edi
jns 0x45b644
mov edi, dword [esi + 0x20]
dec edi
lea eax, [edi + edi*4]
push dword [ecx + eax*4 + 0x10]
lea edi, [ecx + eax*4]
movsx eax, byte [edi + 1]
push eax
push edx
call fcn.004332a0
mov eax, dword [esp + 0x64]
add esp, 0xc
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xf2
jmp 0x45b670
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jne 0x45b68f
mov edi, ebx
mov dword [esp + 0x1c], edi
jmp 0x45b6c5
mov ebx, dword [esp + 0x24]
mov edi, 1
jmp 0x45b62d
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x38]
mov ecx, dword [edx + 0x38]
mov edi, dword [edx + 0x3c]
mov dword [esp + 0x1c], edi
cmp ebx, ecx
jg 0x45b6b2
lea eax, [edi + ebx]
sub ecx, ebx
mov dword [edx + 0x3c], eax
mov dword [edx + 0x38], ecx
jmp 0x45b6c1
mov eax, dword [edx + 0x48]
lea edi, [eax + 1]
add eax, ebx
mov dword [esp + 0x1c], edi
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x84], 0
jne 0x45b6da
cmp dword [esp + 0x4c], 5
jne 0x45bb6a
mov ecx, dword [esp + 0x70]
test byte [ecx + 0x2a], 0x20
jne 0x45b81f
mov ebx, dword [esi + 0x18]
mov ebp, dword [esi + 0x20]
mov ecx, ebp
mov eax, dword [ebx + 0x54]
cmp eax, ebp
jg 0x45b760
test eax, eax
je 0x45b703
lea eax, [eax + eax*4]
shl eax, 3
jmp 0x45b708
mov eax, 0x3fc
push 0
push eax
push dword [esi + 4]
push dword [ebx]
call fcn.004515f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45b7a3
mov eax, dword [ebx]
test eax, eax
je 0x45b741
cmp edi, dword [eax + 0x114]
jb 0x45b741
cmp edi, dword [eax + 0x118]
jae 0x45b741
movzx ecx, word [eax + 0xf8]
jmp 0x45b74d
push edi
call dword [0x509030]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], edi
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x1c]
lea ecx, [ebp*4]
mov dword [esi + 0x20], eax
add ecx, ebp
mov eax, dword [esi + 4]
add edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x45b7a7
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x84]
test ebp, ebp
je 0x45bb6e
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x45b7d5
push 1
push esi
call fcn.00435e50
add esp, 8
test eax, eax
jne 0x45b804
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4f
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], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45bb6e
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x90
jmp 0x45bb6e
cmp ebp, eax
je 0x45b955
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x30], ebx
cmp cx, word [eax + 0x2e]
jae 0x45b955
lea esp, [esp]
movzx edx, word [ebp + 0x30]
xor ecx, ecx
test edx, edx
je 0x45b861
mov eax, dword [eax + 4]
movzx edi, word [eax + ebx*2]
mov eax, dword [ebp + 4]
cmp di, word [eax]
je 0x45b884
inc ecx
add eax, 2
cmp ecx, edx
jl 0x45b854
or eax, 0xffffffff
mov ebx, dword [esi + 0x18]
mov ebp, dword [esi + 0x20]
mov ecx, ebp
cwde
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x54]
cmp eax, ebp
jg 0x45b8e6
test eax, eax
je 0x45b889
lea eax, [eax + eax*4]
shl eax, 3
jmp 0x45b88e
movzx eax, cx
jmp 0x45b864
mov eax, 0x3fc
push 0
push eax
push dword [esi + 4]
push dword [ebx]
call fcn.004515f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45b930
mov eax, dword [ebx]
test eax, eax
je 0x45b8c7
cmp edi, dword [eax + 0x114]
jb 0x45b8c7
cmp edi, dword [eax + 0x118]
jae 0x45b8c7
movzx ecx, word [eax + 0xf8]
jmp 0x45b8d3
push edi
call dword [0x509030]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebx + 0x54], edx
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], edi
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x1c]
lea ecx, [ebp*4]
mov dword [esi + 0x20], eax
add ecx, ebp
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x7c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], eax
lea eax, [edi + ebx]
mov dword [ecx + 0xc], eax
jmp 0x45b938
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
movzx eax, word [eax + 0x2e]
cmp ebx, eax
mov eax, dword [esp + 0x18]
jl 0x45b840
cmp dword [esp + 0x84], 0
je 0x45bb6a
movzx ecx, word [eax + 0x2e]
mov edx, edi
mov eax, dword [esi + 0x20]
add eax, ecx
mov dword [esp + 0x48], eax
mov eax, 0x4e
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x34]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x24]
xor ebp, ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x30], ebp
test ecx, ecx
je 0x45bb6a
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov edi, dword [eax + ebp*4]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov al, byte [ecx + 0x3e]
mov bl, byte [ecx + 0x91]
mov byte [esp + 0x5c], al
mov ebp, dword [esp + 0x5c]
movzx eax, bl
push eax
push edi
push ebp
push ecx
call fcn.00457ee0
add esp, 0x10
mov edx, eax
mov dword [esp + 0x58], edx
test bl, bl
jne 0x45b9f7
test edx, edx
je 0x45b9e4
cmp dword [edx + 0xc], 0
jne 0x45b9f7
push edi
push edx
push ebp
push dword [esp + 0x78]
call fcn.0045c4b0
add esp, 0x10
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov ebx, 0x4f
mov edx, dword [esp + 0x30]
mov ebp, dword [esi + 0x18]
mov eax, dword [ecx + 4]
movzx ecx, word [ecx + 0x2e]
dec ecx
cmp edx, ecx
movsx eax, word [eax + edx*2]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
cmove eax, ebx
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x44], eax
mov ecx, ebx
mov eax, dword [esp + 0x2c]
cmovne eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x54]
cmp eax, ebx
jg 0x45baa8
test eax, eax
je 0x45ba49
lea eax, [eax + eax*4]
shl eax, 3
jmp 0x45ba4e
mov eax, 0x3fc
push 0
push eax
push dword [esi + 4]
push dword [ebp]
call fcn.004515f0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45bb31
mov eax, dword [ebp]
test eax, eax
je 0x45ba89
cmp edi, dword [eax + 0x114]
jb 0x45ba89
cmp edi, dword [eax + 0x118]
jae 0x45ba89
movzx ecx, word [eax + 0xf8]
jmp 0x45ba95
push edi
call dword [0x509030]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov dword [ebp + 0x54], edx
mov ecx, dword [esi + 0x20]
mov dword [esi + 4], edi
mov ebp, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov byte [ecx], al
mov eax, dword [esp + 0x60]
inc eax
add eax, dword [esp + 0x84]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
add eax, ebp
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 4]
mov ecx, dword [esi]
test edx, edx
je 0x45bb55
cmp byte [ecx + 0x41], 0
jne 0x45bb43
test ebx, ebx
jns 0x45bb09
mov ebx, dword [esi + 0x20]
dec ebx
lea eax, [ebx + ebx*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx eax, byte [edi + 1]
push eax
push ecx
call fcn.004332a0
mov eax, dword [esp + 0x64]
add esp, 0xc
test eax, eax
jne 0x45bb3c
mov dword [edi + 0x10], eax
mov byte [edi + 1], al
jmp 0x45bb43
mov ebp, dword [esp + 0x30]
mov ebx, 1
jmp 0x45baf2
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45bb55
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x90
mov eax, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x30], ebp
movzx eax, word [eax + 0x2e]
cmp ebp, eax
jl 0x45b9a0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x45bbbe
cmp edi, 3
jbe 0x45bba6
cmp edi, 4
jne 0x45bbbe
push 0
push dword [esp + 0x94]
push 0
push 0x10
push esi
call fcn.004752e0
mov ebp, dword [esp + 0x80]
add esp, 0x14
mov edi, dword [esp + 0x14]
jmp 0x45bc34
push dword [esp + 0x14]
mov ebp, dword [esp + 0x70]
push edi
push ebp
call fcn.00470ce0
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x45bc34
mov ebp, dword [esp + 0x6c]
xor edx, edx
mov ecx, ebp
mov eax, dword [ebp + 0x198]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x34]
mov byte [ecx + 0x14], 1
test dword [eax + 0x18], 0x40000
je 0x45bbf5
push edx
push edx
push 0x6d
push dword [esp + 0x7c]
push ebp
call fcn.00470bf0
add esp, 0x14
mov edx, eax
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x18]
sete cl
movzx ecx, cl
push ecx
push 5
push 0
push dword [esp + 0x44]
push ebx
push dword [esp + 0x90]
push dword [esp + 0x90]
push edx
push dword [esp + 0x90]
push ebp
call fcn.0045bf30
add esp, 0x28
mov dword [esp + 0x40], 1
cmp dword [esp + 0x28], 0
mov edx, dword [esi + 0x18]
jl 0x45bc53
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x45bc53
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x20]
mov dword [ecx + ebx*4], eax
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
movzx edi, word [edi + 0x30]
push edi
push dword [esp + 0x28]
push ebp
call fcn.00454570
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp edi, dword [ebp + 0x38]
jle 0x45bc7b
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], eax
cmp ebx, eax
je 0x45bc99
mov edi, dword [esp + 0x38]
push edi
push ebx
push ebp
call fcn.00454570
add esp, 0xc
cmp edi, dword [ebp + 0x38]
jle 0x45bc99
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], ebx
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], eax
test edi, edi
jne 0x45b040
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45bcf7
push 0
inc eax
push eax
push 0
push 0x10
push esi
call fcn.004752e0
mov edx, dword [esi + 0x20]
add esp, 0x14
mov eax, dword [esp + 0x50]
cmp edx, eax
jbe 0x45bcee
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 + 0x94]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x58
ret