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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x50fd44]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc4]
push edi
mov ebp, ecx
push eax
push esi
mov dword [esp + 0x2c], ebp
call dword [0x4de198]
mov ecx, dword [0x50fd1c]
mov dword [esp + 0xb8], eax
push ecx
push esi
call dword [0x4de084]
mov edx, dword [0x50fd58]
mov ecx, dword [0x50fd44]
mov dword [esp + 0xc0], eax
mov eax, dword [0x50fd30]
mov dword [esp + 0xac], edx
mov edx, dword [0x50fd1c]
push 1
push esi
mov dword [esp + 0xb8], eax
mov dword [0x50fd58], ecx
mov dword [0x50fd30], edx
call dword [0x4de19c]
mov ecx, dword [ebp + 0x88]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx + 0x138]
mov edx, dword [ecx + 0x134]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x140]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0xe4]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 0x13c]
cmp eax, 2
mov dword [esp + 0x40], edx
jne 0x455d5f
mov eax, dword [ebp + 0x150]
test eax, eax
je 0x455ad4
mov eax, dword [esp + 0xe0]
push eax
call dword [0x4de180]
mov ebx, eax
push ebx
push esi
call dword [0x4de060]
mov eax, dword [ebp + 0x5c]
mov edi, dword [0x513500]
imul eax, edi
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x60]
imul ecx, dword [0x513514]
sub edx, eax
mov eax, dword [esp + 0x38]
add eax, edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
add edx, eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x54], edx
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x34]
add ecx, edx
mov ebp, eax
cmp eax, ecx
jg 0x455a58
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
add edx, ecx
cmp eax, edx
jg 0x455a6a
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
cmp esi, eax
jge 0x455ab8
cmp esi, dword [esp + 0x58]
jl 0x455aab
cmp esi, dword [esp + 0x54]
jg 0x455aab
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc8]
push 0x550009
sub edx, ebp
push edi
push edx
push esi
push ebp
push eax
call dword [0x4de1ac]
mov edi, dword [0x513500]
mov eax, dword [esp + 0xd4]
add esi, edi
cmp esi, eax
jl 0x455a7c
mov ecx, dword [esp + 0xc8]
push 0
push ecx
call dword [0x4de060]
push ebx
call dword [0x4de1a8]
jmp 0x456a23
mov edi, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
cmp edi, eax
jge 0x456a2a
mov ecx, dword [esp + 0xd8]
lea eax, [ecx + ecx*2]
shl eax, 3
mov dword [esp + 0x10], eax
jmp 0x455b04
mov ecx, dword [esp + 0xd8]
cmp ecx, dword [esp + 0xdc]
jge 0x456a23
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x88]
cmp ecx, dword [eax + 0x15c]
jl 0x455d29
mov ecx, dword [esp + 0xd8]
mov edx, dword [eax + 0x160]
cmp ecx, edx
jg 0x455d29
mov ebx, dword [eax + 0x15c]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
push edx
mov edx, dword [esp + 0xdc]
sub edx, ebx
push ecx
push edx
mov ecx, esi
call fcn.00455590
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 0x30]
add ecx, eax
cmp eax, ecx
jle 0x455b70
mov ecx, eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
add edx, eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x28], edx
mov esi, dword [eax + 0x90]
test esi, esi
je 0x455b96
mov ebx, dword [eax + 0x25c]
jmp 0x455b9c
mov ebx, dword [eax + 0x258]
mov esi, dword [esp + 0x10]
mov ebx, dword [ebx + esi + 8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [eax + 0x90]
test ebx, ebx
je 0x455bba
mov eax, dword [eax + 0x25c]
jmp 0x455bc0
mov eax, dword [eax + 0x258]
mov esi, dword [eax + esi]
mov eax, dword [esp + 0xe0]
dec esi
mov eax, dword [eax]
cmp eax, ecx
mov ebx, eax
jg 0x455bd5
mov ebx, ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x44], ebx
mov eax, dword [ecx + 4]
cmp eax, edi
mov ebp, eax
jg 0x455beb
mov ebp, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x48], ebp
cmp eax, edx
jge 0x455bf8
mov edx, eax
mov ecx, dword [0x513500]
mov dword [esp + 0x4c], edx
lea eax, [ecx + edi]
mov ecx, dword [esp + 0xe0]
mov ecx, dword [ecx + 0xc]
cmp ecx, eax
jge 0x455c15
mov eax, ecx
cmp ebx, edx
mov dword [esp + 0x50], eax
jge 0x455d29
cmp ebp, eax
jge 0x455d29
mov ebp, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
mov ebx, dword [0x4de1a0]
push 0
push 0
lea eax, [esp + 0x4c]
push 0
push eax
push 2
push 0
push 0
push ebp
mov dword [esp + 0x4c], edx
call ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
push esi
mov esi, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push edi
push ecx
push ebp
mov ecx, esi
call fcn.004585d0
mov eax, dword [0x513f70]
test eax, eax
je 0x455d29
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
dec edx
cmp eax, edx
jge 0x455d29
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x455cbb
mov eax, dword [eax + 0x25c]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ecx + 0x24]
jmp 0x455cc9
mov edx, dword [eax + 0x258]
mov eax, dword [esp + 0x10]
mov eax, dword [edx + eax + 0x24]
test eax, eax
je 0x455d29
mov eax, dword [0x508e54]
mov byte [esp + 0x1b], 0xb6
test eax, eax
je 0x455cf6
mov eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x1f]
push 1
lea edx, [esp + 0x4c]
push ecx
push edx
push 4
push edi
push eax
push ebp
call ebx
jmp 0x455d29
mov ecx, dword [0x5134ec]
mov esi, dword [0x4de148]
push ecx
push ebp
call esi
mov ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x1f]
push 1
lea eax, [esp + 0x4c]
push edx
push eax
push 4
push edi
push ecx
push ebp
call ebx
mov edx, dword [0x5134f4]
push edx
push ebp
call esi
mov ecx, dword [0x513500]
mov esi, dword [esp + 0xd8]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
add edi, ecx
inc esi
add edx, 0x18
cmp edi, eax
mov dword [esp + 0xd8], esi
mov dword [esp + 0x10], edx
jl 0x455afd
jmp 0x456a23
mov eax, dword [ecx + 0x70]
xor ebx, ebx
cmp eax, ebx
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], ebx
je 0x455d99
cmp dword [ecx + 0x74], ebx
je 0x455d99
mov edx, dword [ecx + 0x90]
mov dword [esp + 0x58], 1
cmp edx, ebx
lea edx, [eax + eax*2]
je 0x455d9f
mov edi, dword [ecx + 0x25c]
jmp 0x455da5
mov dword [esp + 0x58], ebx
jmp 0x455db8
mov edi, dword [ecx + 0x258]
mov edx, dword [edi + edx*8 + 0xc]
cmp edx, ebx
jne 0x455db8
dec eax
push eax
call fcn.0043d700
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
cmp eax, ecx
mov dword [esp + 0x30], eax
jge 0x456a2a
jmp 0x455de1
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0xc8]
xor ebx, ebx
mov edi, dword [esp + 0xd8]
mov eax, dword [esp + 0xdc]
cmp edi, eax
jge 0x456a2a
cmp dword [esp + 0x58], ebx
je 0x455e3e
mov ecx, dword [ebp + 0x88]
mov eax, dword [ecx + 0x90]
cmp eax, ebx
lea eax, [edi + edi*2]
je 0x455e18
mov edx, dword [ecx + 0x25c]
jmp 0x455e1e
mov edx, dword [ecx + 0x258]
mov eax, dword [edx + eax*8 + 0xc]
cmp eax, ebx
jle 0x455e36
push edi
call fcn.0043d700
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], ebx
jmp 0x455e3e
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
cmp edi, dword [esp + 0x38]
jl 0x4569f5
mov ecx, dword [esp + 0xd8]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jg 0x4569f5
mov edx, dword [esp + 0x24]
xor ebp, ebp
mov esi, dword [edx + 0x88]
mov dword [esp + 0x20], esi
mov eax, dword [esi + 0x90]
cmp eax, ebp
lea eax, [ecx + ecx*2]
je 0x455e83
mov edx, dword [esi + 0x25c]
shl eax, 3
jmp 0x455e8c
mov edx, dword [esi + 0x258]
shl eax, 3
mov ebx, dword [edx + eax + 8]
mov edx, dword [esi + 0x90]
cmp edx, ebp
mov dword [esp + 0x1c], ebx
je 0x455ea6
mov edx, dword [esi + 0x25c]
jmp 0x455eac
mov edx, dword [esi + 0x258]
mov edi, dword [edx + eax]
mov eax, dword [esp + 0x30]
mov edx, dword [0x513500]
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], eax
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
dec edi
cmp eax, edx
mov dword [esp + 0x10], edi
jne 0x45631c
cmp dword [0x5134f8], ebp
je 0x455fee
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebp
cmp eax, ebp
jle 0x456034
mov edi, ebx
mov ebx, dword [0x51353c]
mov al, byte [edi]
cmp al, 9
jne 0x455f22
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xec]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x455fd6
mov ecx, eax
and ecx, 0xff
mov dl, byte [ecx + 0x513568]
test dl, dl
je 0x455fce
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
dec edx
cmp esi, edx
jge 0x455fce
xor ecx, ecx
mov ch, al
mov cl, byte [edi + 1]
mov eax, ecx
and eax, 0xffff
shl eax, 1
mov esi, eax
mov ax, word [esi + ebx]
test ax, ax
jne 0x455fbb
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0x94]
push edx
push 2
push edi
push eax
call dword [0x4de14c]
mov eax, dword [0x513538]
test eax, eax
je 0x455f9c
mov ecx, dword [0x513520]
mov eax, dword [esp + 0x94]
sub eax, ecx
mov dword [esp + 0x94], eax
mov edx, dword [0x51353c]
mov ax, word [esp + 0x94]
mov word [esi + edx], ax
mov eax, dword [esp + 0x94]
mov ebx, dword [0x51353c]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
add ebp, eax
inc ecx
mov dword [esp + 0x10], ecx
inc edi
jmp 0x455fd6
xor edx, edx
mov dx, word [ebx + ecx*2]
add ebp, edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x455f04
jmp 0x45603a
mov eax, dword [esp + 0x34]
xor esi, esi
test eax, eax
jle 0x456034
mov ebx, dword [0x51353c]
mov edi, dword [esp + 0x1c]
mov al, byte [esi + edi]
cmp al, 9
jne 0x45601c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xec]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
jmp 0x456027
and eax, 0xff
xor ecx, ecx
mov cx, word [ebx + eax*2]
mov eax, dword [esp + 0x34]
add ebp, ecx
inc esi
cmp esi, eax
jl 0x456002
jmp 0x45603a
mov ebx, dword [0x51353c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xcc]
xor esi, esi
mov eax, dword [edx + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0xbc]
add eax, ebp
xor ebp, ebp
add eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
cmp dword [0x5134f8], esi
je 0x45615e
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], esi
cmp edi, esi
jle 0x456198
mov edi, dword [esp + 0x1c]
mov al, byte [edi]
cmp al, 9
jne 0x4560a3
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xec]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x456144
mov ecx, eax
and ecx, 0xff
mov dl, byte [ecx + 0x513568]
test dl, dl
je 0x45613c
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
dec edx
cmp esi, edx
jge 0x45613c
xor ecx, ecx
mov ch, al
mov cl, byte [edi + 1]
mov eax, ecx
and eax, 0xffff
shl eax, 1
mov esi, eax
mov ax, word [esi + ebx]
test ax, ax
jne 0x456129
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0x7c]
push edx
push 2
push edi
push eax
call dword [0x4de14c]
mov eax, dword [0x513538]
test eax, eax
je 0x456110
mov ecx, dword [0x513520]
mov eax, dword [esp + 0x7c]
sub eax, ecx
mov dword [esp + 0x7c], eax
mov edx, dword [0x51353c]
mov ax, word [esp + 0x7c]
mov word [esi + edx], ax
mov eax, dword [esp + 0x7c]
mov ebx, dword [0x51353c]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
add ebp, eax
inc ecx
mov dword [esp + 0x10], ecx
inc edi
jmp 0x456144
xor edx, edx
mov dx, word [ebx + ecx*2]
add ebp, edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x456085
mov edi, ecx
jmp 0x456198
mov edi, dword [esp + 0x3c]
cmp edi, esi
jle 0x456198
mov eax, dword [esp + 0x1c]
mov al, byte [esi + eax]
cmp al, 9
jne 0x456186
mov ecx, dword [esp + 0x20]
mov eax, ebp
cdq
mov ecx, dword [ecx + 0xec]
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x456193
and eax, 0xff
xor edx, edx
mov dx, word [ebx + eax*2]
add ebp, edx
inc esi
cmp esi, edi
jl 0x456166
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x10], edi
mov ecx, dword [eax + 0x88]
mov eax, dword [ecx + 0xbc]
add eax, ebp
add eax, edx
mov edx, eax
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x74]
add edi, esi
add edx, esi
add eax, esi
add ebp, esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ebp
mov eax, dword [ecx + 0xc0]
test eax, eax
je 0x45622a
add edi, eax
push 2
mov dword [esp + 0x60], edi
mov eax, dword [ecx + 0xc0]
lea ecx, [esp + 0x60]
add edx, eax
push 4
push ecx
mov dword [esp + 0x70], edx
call dword [0x4de05c]
push eax
push ebx
mov dword [esp + 0xc4], eax
call dword [0x4de060]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0xe0]
mov ebp, dword [esp + 0x74]
mov eax, dword [ecx]
cmp eax, ebp
jle 0x45623d
mov ebp, eax
mov eax, dword [ecx + 4]
mov edi, dword [esp + 0x68]
cmp eax, edi
mov dword [esp + 0x44], ebp
mov edi, eax
jg 0x456252
mov edi, dword [esp + 0x68]
mov eax, dword [ecx + 8]
mov dword [esp + 0x48], edi
cmp eax, edx
jge 0x45625f
mov edx, eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
mov dword [esp + 0x4c], edx
jl 0x456270
mov eax, ecx
cmp ebp, edx
mov dword [esp + 0x50], eax
jge 0x4569ca
cmp edi, eax
jge 0x4569ca
mov edx, dword [esp + 0xcc]
mov edi, dword [0x4de1a0]
push 0
push 0
lea eax, [esp + 0x4c]
push 0
push eax
push 2
push 0
add esi, edx
push 0
push ebx
mov dword [esp + 0x4c], esi
call edi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x3c]
push esi
push edx
push ebx
call fcn.004585d0
mov eax, dword [0x513f70]
test eax, eax
je 0x4569ca
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4569ca
mov eax, dword [0x508e54]
mov byte [esp + 0x1b], 0xb6
test eax, eax
je 0x456998
mov edx, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x1f]
push 1
lea ecx, [esp + 0x4c]
push eax
push ecx
push 4
push esi
push edx
push ebx
call edi
jmp 0x4569ca
cmp ecx, eax
jne 0x456623
cmp dword [0x5134f8], ebp
je 0x456432
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jle 0x456476
mov edi, ebx
mov ebx, dword [0x51353c]
mov al, byte [edi]
cmp al, 9
jne 0x456366
mov ecx, dword [esp + 0x20]
mov eax, ebp
cdq
mov ecx, dword [ecx + 0xec]
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x45641a
mov ecx, eax
and ecx, 0xff
mov dl, byte [ecx + 0x513568]
test dl, dl
je 0x456412
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
dec edx
cmp esi, edx
jge 0x456412
xor ecx, ecx
mov ch, al
mov cl, byte [edi + 1]
mov eax, ecx
and eax, 0xffff
shl eax, 1
mov esi, eax
mov ax, word [esi + ebx]
test ax, ax
jne 0x4563ff
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0xa4]
push edx
push 2
push edi
push eax
call dword [0x4de14c]
mov eax, dword [0x513538]
test eax, eax
je 0x4563e0
mov ecx, dword [0x513520]
mov eax, dword [esp + 0xa4]
sub eax, ecx
mov dword [esp + 0xa4], eax
mov edx, dword [0x51353c]
mov ax, word [esp + 0xa4]
mov word [esi + edx], ax
mov eax, dword [esp + 0xa4]
mov ebx, dword [0x51353c]
mov ecx, dword [esp + 0x14]
and eax, 0xffff
add ebp, eax
inc ecx
mov dword [esp + 0x14], ecx
inc edi
jmp 0x45641a
xor edx, edx
mov dx, word [ebx + ecx*2]
add ebp, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x456348
jmp 0x45647c
mov edi, dword [esp + 0x34]
xor esi, esi
test edi, edi
jle 0x456476
mov ebx, dword [0x51353c]
mov eax, dword [esp + 0x1c]
mov al, byte [esi + eax]
cmp al, 9
jne 0x456462
mov ecx, dword [esp + 0x20]
mov eax, ebp
cdq
mov ecx, dword [ecx + 0xec]
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x45646f
and eax, 0xff
xor edx, edx
mov dx, word [ebx + eax*2]
add ebp, edx
inc esi
cmp esi, edi
jl 0x456442
jmp 0x45647c
mov ebx, dword [0x51353c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xcc]
xor esi, esi
mov edi, dword [eax + 0x88]
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0xbc]
add eax, ebp
xor ebp, ebp
add eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
cmp dword [0x5134f8], esi
je 0x4565b2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
cmp eax, esi
jle 0x4565ea
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov al, byte [edi]
cmp al, 9
jne 0x4564ec
mov ecx, dword [esp + 0x20]
mov eax, ebp
cdq
mov ecx, dword [ecx + 0xec]
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x45659a
mov ecx, eax
and ecx, 0xff
mov dl, byte [ecx + 0x513568]
test dl, dl
je 0x45658d
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
dec edx
cmp esi, edx
jge 0x45658d
xor ecx, ecx
mov edx, dword [0x51353c]
mov ch, al
mov cl, byte [edi + 1]
mov eax, ecx
and eax, 0xffff
shl eax, 1
mov esi, eax
mov ax, word [esi + edx]
test ax, ax
jne 0x45657a
lea eax, [esp + 0x8c]
push eax
push 2
push edi
push ebx
call dword [0x4de14c]
mov eax, dword [0x513538]
test eax, eax
je 0x456561
mov ecx, dword [0x513520]
mov eax, dword [esp + 0x8c]
sub eax, ecx
mov dword [esp + 0x8c], eax
mov edx, dword [0x51353c]
mov ax, word [esp + 0x8c]
mov word [esi + edx], ax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
and eax, 0xffff
add ebp, eax
inc ecx
mov dword [esp + 0x14], ecx
inc edi
jmp 0x45659a
mov eax, dword [0x51353c]
xor edx, edx
mov dx, word [eax + ecx*2]
add ebp, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4564ce
jmp 0x4565f1
cmp dword [esp + 0x10], esi
jle 0x4565ea
mov ecx, dword [esp + 0x1c]
mov al, byte [esi + ecx]
cmp al, 9
jne 0x4565d4
mov ecx, dword [edi + 0xec]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x4565e1
and eax, 0xff
xor edx, edx
mov dx, word [ebx + eax*2]
add ebp, edx
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4565b8
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x14], 1
mov ecx, dword [eax + 0x88]
mov eax, dword [ecx + 0xbc]
add eax, ebp
add eax, edx
mov edx, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], edx
jmp 0x456944
mov eax, dword [esi + 0xbc]
cmp ecx, edx
mov ecx, dword [esp + 0xcc]
jne 0x4567be
add eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
cmp dword [0x5134f8], ebp
je 0x456750
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jle 0x456794
mov edi, ebx
mov ebx, dword [0x51353c]
mov al, byte [edi]
cmp al, 9
jne 0x456684
mov ecx, dword [esp + 0x20]
mov eax, ebp
cdq
mov ecx, dword [ecx + 0xec]
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x456738
mov ecx, eax
and ecx, 0xff
mov dl, byte [ecx + 0x513568]
test dl, dl
je 0x456730
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
dec edx
cmp esi, edx
jge 0x456730
xor ecx, ecx
mov ch, al
mov cl, byte [edi + 1]
mov eax, ecx
and eax, 0xffff
shl eax, 1
mov esi, eax
mov ax, word [esi + ebx]
test ax, ax
jne 0x45671d
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0x9c]
push edx
push 2
push edi
push eax
call dword [0x4de14c]
mov eax, dword [0x513538]
test eax, eax
je 0x4566fe
mov ecx, dword [0x513520]
mov eax, dword [esp + 0x9c]
sub eax, ecx
mov dword [esp + 0x9c], eax
mov edx, dword [0x51353c]
mov ax, word [esp + 0x9c]
mov word [esi + edx], ax
mov eax, dword [esp + 0x9c]
mov ebx, dword [0x51353c]
mov ecx, dword [esp + 0x14]
and eax, 0xffff
add ebp, eax
inc ecx
mov dword [esp + 0x14], ecx
inc edi
jmp 0x456738
xor edx, edx
mov dx, word [ebx + ecx*2]
add ebp, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x456666
jmp 0x456794
mov eax, dword [esp + 0x3c]
xor esi, esi
test eax, eax
jle 0x456794
mov edi, dword [0x51353c]
mov ebx, dword [esp + 0x1c]
mov al, byte [esi + ebx]
cmp al, 9
jne 0x45677e
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xec]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
jmp 0x456789
and eax, 0xff
xor ecx, ecx
mov cx, word [edi + eax*2]
mov eax, dword [esp + 0x3c]
add ebp, ecx
inc esi
cmp esi, eax
jl 0x456764
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], esi
mov ecx, dword [edx + 0x88]
mov edx, dword [esp + 0xcc]
mov eax, dword [ecx + 0xbc]
add eax, ebp
add eax, edx
mov edx, eax
jmp 0x4561b9
add eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
cmp dword [0x5134f8], ebp
je 0x4568d2
cmp edi, ebp
mov dword [esp + 0x14], ebp
jle 0x456910
mov edi, ebx
mov ebx, dword [0x51353c]
mov al, byte [edi]
cmp al, 9
jne 0x456806
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xec]
mov eax, ebp
cdq
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x4568ba
mov ecx, eax
and ecx, 0xff
mov dl, byte [ecx + 0x513568]
test dl, dl
je 0x4568b2
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
dec edx
cmp esi, edx
jge 0x4568b2
xor ecx, ecx
mov ch, al
mov cl, byte [edi + 1]
mov eax, ecx
and eax, 0xffff
shl eax, 1
mov esi, eax
mov ax, word [esi + ebx]
test ax, ax
jne 0x45689f
mov eax, dword [esp + 0xc8]
lea edx, [esp + 0x84]
push edx
push 2
push edi
push eax
call dword [0x4de14c]
mov eax, dword [0x513538]
test eax, eax
je 0x456880
mov ecx, dword [0x513520]
mov eax, dword [esp + 0x84]
sub eax, ecx
mov dword [esp + 0x84], eax
mov edx, dword [0x51353c]
mov ax, word [esp + 0x84]
mov word [esi + edx], ax
mov eax, dword [esp + 0x84]
mov ebx, dword [0x51353c]
mov ecx, dword [esp + 0x14]
and eax, 0xffff
add ebp, eax
inc ecx
mov dword [esp + 0x14], ecx
inc edi
jmp 0x4568ba
xor edx, edx
mov dx, word [ebx + ecx*2]
add ebp, edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4567e8
jmp 0x456910
xor esi, esi
test edi, edi
jle 0x456910
mov ebx, dword [0x51353c]
mov eax, dword [esp + 0x1c]
mov al, byte [esi + eax]
cmp al, 9
jne 0x4568fe
mov ecx, dword [esp + 0x20]
mov eax, ebp
cdq
mov ecx, dword [ecx + 0xec]
idiv ecx
sub ecx, edx
add ebp, ecx
jmp 0x45690b
and eax, 0xff
xor edx, edx
mov dx, word [ebx + eax*2]
add ebp, edx
inc esi
cmp esi, edi
jl 0x4568de
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x14], 1
mov ecx, dword [eax + 0x88]
mov eax, dword [ecx + 0xbc]
add eax, ebp
add eax, edx
mov edx, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], edx
mov esi, dword [ecx + 0x90]
test esi, esi
mov esi, dword [esp + 0xd8]
lea esi, [esi + esi*2 + 3]
je 0x456961
mov edi, dword [ecx + 0x25c]
jmp 0x456967
mov edi, dword [ecx + 0x258]
mov esi, dword [edi + esi*8 + 0xc]
test esi, esi
je 0x4561c0
mov esi, dword [0x51353c]
xor edx, edx
xor edi, edi
mov dx, word [esi + 0x16c]
add edx, eax
mov dword [esp + 0x64], edx
mov di, word [esi + 0x16c]
add eax, edi
jmp 0x4561c8
mov eax, dword [0x5134ec]
mov ebp, dword [0x4de148]
push eax
push ebx
call ebp
mov eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x1f]
push 1
lea edx, [esp + 0x4c]
push ecx
push edx
push 4
push esi
push eax
push ebx
call edi
mov ecx, dword [0x5134f4]
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x88]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
je 0x4569f5
push 0
push ebx
call dword [0x4de060]
mov ecx, dword [esp + 0xbc]
push ecx
call dword [0x4de1a8]
mov eax, dword [esp + 0x30]
mov edx, dword [0x513500]
mov esi, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
add eax, edx
inc esi
cmp eax, ecx
mov dword [esp + 0xd8], esi
mov dword [esp + 0x30], eax
jl 0x455dd4
mov esi, dword [esp + 0xc8]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
push ecx
push esi
mov dword [0x50fd58], edx
mov dword [0x50fd30], eax
call dword [0x4de198]
mov edx, dword [esp + 0xc0]
push edx
push esi
call dword [0x4de084]
mov eax, dword [esp + 0xb4]
push eax
push esi
call dword [0x4de19c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x1c