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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x54dbca
sub esp, 0x110
mov ecx, dword [esp + 0x11c]
cmp ecx, 2
jl 0x54c834
mov ebx, dword [esp + 0x120]
mov ebp, dword [esp + 0x118]
mov eax, ebp
mov edx, ebx
xor esi, esi
xor edi, edi
xor eax, eax
mov word [esp + 0x22], ax
xor edx, edx
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0xcc], edx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x120]
mov eax, ebp
mov edx, ebx
jmp 0x54c876
mov eax, dword [esp + 0x118]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x12c], eax
add esp, 0x110
ret
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x38], ebx
mov ebx, ebp
mov ebp, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x120]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xe0], ebp
cmp ecx, esi
jl 0x54ce61
mov dword [esp + 0x30], esi
jle 0x54c950
jbe 0x54dbc2
mov ebp, dword [eax + esi*4]
cmp byte [ebp], 0x12
jne 0x54c8c0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 4]
test ebx, ebx
je 0x54c8b8
mov ebp, dword [esi]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
jmp 0x54c8c0
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
cmp byte [ebp], 3
je 0x54c8e1
xor ebp, ebp
xor ebp, ebp
mov dword [esp + 0x50], ebp
xor ebp, ebp
mov dword [esp + 0xe4], ebp
xor ebp, ebp
mov dword [esp + 0x54], ebp
xor ebp, ebp
jmp 0x54c924
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0xc0], ebx
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
movzx ebp, word [ebp + 2]
and ebp, 1
mov dword [esp + 0x50], esi
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0xb8]
movzx ebx, word [esp + 0x22]
cmp bx, bp
jne 0x54dabc
mov word [esp + 0x24], bp
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
jmp 0x54db39
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0xf8], eax
xor eax, eax
mov word [esp + 0x26], ax
mov eax, dword [esp + 0x88]
cmp edi, esi
jne 0x54c992
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xe0]
jmp 0x54ce34
lea ebp, [edi + 1]
cmp esi, ebp
jne 0x54ca61
cmp ecx, edi
jbe 0x54dab5
mov ebp, dword [esp + 0x38]
lea esi, [ebp + 1]
mov ebp, dword [eax + edi*4]
mov dword [esp + 0x108], ebp
cmp ebx, esi
jb 0x54c9c3
mov edi, dword [esp + 0xe0]
jmp 0x54ca19
lea eax, [0x596600]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov edi, ebp
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x74], esi
mov dword [esp + 0x3c], ebx
mov ebx, dword [0x705d20]
mov esi, dword [esp + 0x38]
lea ebp, [edi + esi*4]
test ebx, ebx
jne 0x54ca3e
mov ebx, dword [esp + 0x108]
mov dword [edi + esi*4], ebx
jmp 0x54ca54
mov ebx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x108]
call fcn.0045d700
mov eax, esi
mov edi, ebx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x3c]
jmp 0x54ce34
mov dword [esp + 0x70], edi
nop
mov ebp, dword [esp + 0x114]
mov ebx, dword [ebp + 0x10]
lea edx, [ebp + 0x10]
mov dword [esp + 0xf4], edx
test ebx, ebx
je 0x54cadb
mov ecx, dword [0x705d20]
mov esi, dword [ebx + 0x10]
test ecx, ecx
jne 0x54ca9b
mov dword [ebp + 0x10], esi
mov edi, ebx
mov esi, eax
xor eax, eax
call fcn.0045d931
jmp 0x54cb07
mov dword [esp + 0xdc], ebx
mov edi, edx
mov eax, esi
call fcn.0045d700
lea ecx, [0x598ec0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.0040fd10
mov edx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
jmp 0x54cb07
lea eax, [0x598ec0]
mov dword [esp], eax
call fcn.0040b060
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x114]
inc dword [eax + 0x2c]
mov edx, dword [esp + 0xf4]
mov ebp, eax
mov esi, dword [esp + 0x118]
mov dword [esp + 0x108], ebx
mov byte [ebx], 3
movzx eax, word [esp + 0x22]
mov word [ebx + 2], ax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x14]
mov edi, dword [esp + 0x28]
cmp edi, eax
jbe 0x54cb56
lea edx, [0x583b20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.004472c0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0xf0], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], edx
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045e030
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x108]
mov dword [ecx + 0x18], eax
mov edx, dword [esp + 0x74]
mov dword [ecx + 0x1c], edx
mov edx, dword [0x705d20]
test edx, edx
jne 0x54cba6
mov ebx, dword [esp + 0xf0]
mov dword [ecx + 0x14], ebx
jmp 0x54cbb9
lea edi, [ecx + 0x14]
mov edx, eax
mov eax, dword [esp + 0xf0]
call fcn.0045d700
mov eax, edx
mov ebx, dword [esp + 0x118]
mov ebp, dword [esp + 0x114]
mov esi, dword [esp + 0x11c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
jmp 0x54da4f
mov edi, dword [esp + 0x120]
cmp edi, edx
jb 0x54daa3
mov eax, dword [esp + 0x70]
cmp eax, edx
ja 0x54da9c
mov dword [esp], ebp
sub edi, eax
mov esi, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl eax, 2
sar edi, 0x1f
and eax, edi
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
sub edx, eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov byte [esp + 0x10], 0x13
call fcn.0054c3a0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc8], eax
nop
mov ecx, dword [esp + 0x114]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x54cc9e
mov dword [esp + 0xd8], edi
mov ebx, dword [0x705d20]
mov ebp, dword [edi + 0x10]
test ebx, ebx
jne 0x54cc65
mov dword [ecx + 0x10], ebp
mov edx, eax
xor eax, eax
call fcn.0045d931
jmp 0x54cc8e
mov eax, ebp
mov ecx, edi
mov edi, dword [esp + 0xf4]
call fcn.0045d700
lea edx, [0x598ec0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040fd10
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x114]
mov edi, dword [esp + 0xd8]
jmp 0x54ccba
lea eax, [0x598ec0]
mov dword [esp], eax
call fcn.0040b060
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x114]
inc dword [eax + 0x2c]
mov dword [esp + 0xd8], edi
mov byte [edi], 0x12
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 4]
cmp ebx, 2
jb 0x54ccd6
mov ecx, 2
jmp 0x54cd1b
lea eax, [0x596600]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add eax, 2
mov edi, dword [esp + 0xd8]
mov ecx, eax
mov eax, dword [esp + 0x114]
mov esi, dword [0x705d20]
test esi, esi
jne 0x54cd3b
mov esi, dword [esp + 0x108]
mov dword [ebp], esi
mov esi, dword [esp + 0xc8]
mov dword [ebp + 4], esi
jmp 0x54cd65
mov edx, edi
mov edi, ebp
mov eax, dword [esp + 0x108]
call fcn.0045d700
lea esi, [ebp + 4]
mov edi, esi
mov eax, dword [esp + 0xc8]
call fcn.0045d700
mov eax, dword [esp + 0x114]
mov edi, edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
mov ebx, dword [0x705d20]
test ebx, ebx
jne 0x54cd7a
mov dword [edi + 4], ebp
jmp 0x54cd8e
lea ebx, [edi + 4]
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.0045d700
mov eax, edx
mov edi, ecx
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x54cda6
mov ecx, dword [esp + 0xe0]
jmp 0x54cdf0
lea eax, [0x596600]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov edi, dword [esp + 0xd8]
mov ecx, ebp
mov ebp, eax
mov esi, ebx
mov eax, dword [esp + 0x114]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov edx, ebp
mov ebp, dword [0x705d20]
lea esi, [ecx + ebx*4]
test ebp, ebp
jne 0x54ce08
mov dword [ecx + ebx*4], edi
jmp 0x54ce17
mov ebx, edi
mov edi, esi
mov ebp, eax
mov eax, ebx
call fcn.0045d700
mov eax, ebp
mov eax, dword [esp + 0x118]
mov ebx, edx
mov ebp, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov esi, dword [esp + 0x30]
movzx esi, word [esp + 0x26]
mov word [esp + 0x22], si
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xf8]
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x30]
jmp 0x54c85e
mov ecx, dword [esp + 0x38]
mov eax, ebp
mov edx, ebx
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0xec], eax
xor edx, edx
mov dword [esp + 0x7c], edx
mov eax, ebp
mov edx, ebx
jmp 0x54ce95
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x7c], ebp
mov ebp, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10c], ebp
cmp esi, ecx
jg 0x54d374
mov dword [esp + 0x30], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
jge 0x54d012
jae 0x54da28
mov ebp, dword [eax + esi*4]
movzx ebx, byte [ebp]
cmp bl, 2
jne 0x54cecc
xor ebp, ebp
jmp 0x54cef6
cmp bl, 0x12
jne 0x54cef6
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 4]
test ebx, ebx
je 0x54cef2
mov ebx, dword [esi]
cmp byte [ebx], 2
jne 0x54ceea
mov esi, dword [esp + 0x30]
xor ebp, ebp
jmp 0x54cef6
mov esi, dword [esp + 0x30]
mov ebp, ebx
jmp 0x54cef6
mov esi, dword [esp + 0x30]
mov dword [esp + 0xe8], ebp
mov ebx, dword [esp + 0xec]
test ebx, ebx
jne 0x54cf1e
mov dword [esp + 0xb0], eax
xor eax, eax
mov byte [esp + 0x21], al
mov eax, dword [esp + 0xb0]
jmp 0x54cf58
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00553130
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x74]
mov byte [esp + 0x21], al
mov eax, dword [esp + 0xe0]
movzx esi, byte [esp + 0x21]
xchg esi, eax
test al, al
xchg esi, eax
je 0x54cfef
movzx esi, byte [ebx]
xchg esi, eax
cmp al, 3
xchg esi, eax
jne 0x54cf77
cmp dword [ebx + 0x18], 1
je 0x54cfd2
xchg esi, eax
cmp al, 4
xchg esi, eax
je 0x54cfd2
xchg esi, eax
cmp al, 5
xchg esi, eax
je 0x54cfd2
xchg esi, eax
cmp al, 6
xchg esi, eax
je 0x54cfd2
xchg esi, eax
cmp al, 0x11
xchg esi, eax
jne 0x54cfef
mov esi, dword [ebx + 0x28]
cmp dword [ebx + 0x2c], esi
jne 0x54cfef
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 4]
test esi, esi
jbe 0x54da1f
mov ebp, dword [ebp]
movzx esi, byte [ebp]
xchg esi, eax
cmp al, 3
xchg esi, eax
jne 0x54cfbd
cmp dword [ebp + 0x18], 1
je 0x54cfd2
xchg esi, eax
cmp al, 4
xchg esi, eax
je 0x54cfd2
xchg esi, eax
cmp al, 5
xchg esi, eax
je 0x54cfd2
xchg esi, eax
cmp al, 6
xchg esi, eax
jne 0x54cfe8
mov esi, edi
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x10c]
jmp 0x54ce82
mov ebp, dword [esp + 0xe8]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10c]
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x108], esi
mov esi, dword [esp + 0x30]
jmp 0x54d029
mov dword [esp + 0xa8], eax
xor eax, eax
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa8]
cmp edi, esi
jne 0x54d03d
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x10c]
jmp 0x54d359
lea ebp, [edi + 1]
cmp esi, ebp
jne 0x54d106
cmp edi, ecx
jae 0x54da18
mov ebp, dword [esp + 0x7c]
lea esi, [ebp + 1]
mov ebp, dword [eax + edi*4]
mov dword [esp + 0x104], ebp
cmp ebx, esi
jb 0x54d06e
mov edi, dword [esp + 0x10c]
jmp 0x54d0be
lea eax, [0x596600]
mov dword [esp], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov edi, ebp
mov ebp, dword [esp + 0x104]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov ebx, dword [0x705d20]
mov esi, dword [esp + 0x7c]
lea ebp, [edi + esi*4]
test ebx, ebx
jne 0x54d0e3
mov ebx, dword [esp + 0x104]
mov dword [edi + esi*4], ebx
jmp 0x54d0f9
mov ebx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x104]
call fcn.0045d700
mov eax, esi
mov edi, ebx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
jmp 0x54d359
mov ebp, dword [esp + 0x114]
jmp 0x54d9ab
cmp esi, edx
ja 0x54da0a
mov edi, dword [esp + 0x74]
cmp edi, esi
ja 0x54da01
mov dword [esp], ebp
sub edx, edi
mov ebx, edx
neg edx
shl edi, 2
sar edx, 0x1f
and edi, edx
lea edx, [eax + edi]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
sub esi, edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0x13
call fcn.0054c3a0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc4], eax
nop
mov ecx, dword [esp + 0x114]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x54d1c9
mov dword [esp + 0xd4], edi
mov ebx, dword [0x705d20]
mov ebp, dword [edi + 0x10]
test ebx, ebx
jne 0x54d192
mov dword [ecx + 0x10], ebp
mov edx, eax
xor eax, eax
call fcn.0045d931
jmp 0x54d1b9
lea edx, [ecx + 0x10]
mov eax, ebp
mov ebx, edi
mov edi, edx
call fcn.0045d700
lea edx, [0x598ec0]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040fd10
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x114]
mov edi, dword [esp + 0xd4]
jmp 0x54d1e5
lea eax, [0x598ec0]
mov dword [esp], eax
call fcn.0040b060
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x114]
inc dword [eax + 0x2c]
mov dword [esp + 0xd4], edi
mov byte [edi], 0x12
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 4]
cmp ebx, 2
jb 0x54d201
mov ecx, 2
jmp 0x54d246
lea eax, [0x596600]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add eax, 2
mov edi, dword [esp + 0xd4]
mov ecx, eax
mov eax, dword [esp + 0x114]
mov esi, dword [0x705d20]
test esi, esi
jne 0x54d266
mov esi, dword [esp + 0xec]
mov dword [ebp], esi
mov esi, dword [esp + 0xc4]
mov dword [ebp + 4], esi
jmp 0x54d290
mov edx, edi
mov edi, ebp
mov eax, dword [esp + 0xec]
call fcn.0045d700
lea esi, [ebp + 4]
mov edi, esi
mov eax, dword [esp + 0xc4]
call fcn.0045d700
mov eax, dword [esp + 0x114]
mov edi, edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
mov ebx, dword [0x705d20]
test ebx, ebx
jne 0x54d2a5
mov dword [edi + 4], ebp
jmp 0x54d2b9
lea ebx, [edi + 4]
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.0045d700
mov eax, edx
mov edi, ecx
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x78]
cmp esi, ebp
jb 0x54d2d1
mov ecx, dword [esp + 0x10c]
jmp 0x54d31b
lea eax, [0x596600]
mov dword [esp], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov edi, dword [esp + 0xd4]
mov ecx, ebp
mov ebp, eax
mov esi, ebx
mov eax, dword [esp + 0x114]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x7c], esi
mov edx, ebp
mov ebp, dword [0x705d20]
lea esi, [ecx + ebx*4]
test ebp, ebp
jne 0x54d333
mov dword [ecx + ebx*4], edi
jmp 0x54d342
mov ebx, edi
mov edi, esi
mov ebp, eax
mov eax, ebx
call fcn.0045d700
mov eax, ebp
mov eax, dword [esp + 0xe0]
mov ebx, dword [esp + 0x7c]
mov ebp, edx
mov edi, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0x108]
mov dword [esp + 0xec], esi
mov esi, dword [esp + 0x30]
jmp 0x54ce82
mov ecx, dword [esp + 0x7c]
mov eax, ebp
xor edx, edx
xor esi, esi
xor edi, edi
jmp 0x54d396
inc eax
mov edi, ecx
mov ebp, esi
mov ecx, dword [esp + 0x7c]
mov esi, edx
mov edx, eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x38], edi
mov dword [esp + 0xe0], ebp
cmp edx, ecx
jg 0x54d6e5
mov dword [esp + 0x58], edx
mov dword [esp + 0x6c], ebx
jge 0x54d401
jae 0x54d984
mov edx, dword [eax + edx*4]
movzx ebx, byte [edx]
cmp bl, 3
jne 0x54d3ca
cmp dword [edx + 0x18], 1
je 0x54d3d9
cmp bl, 4
je 0x54d3d9
cmp bl, 5
je 0x54d3d9
cmp bl, 6
jne 0x54d3f9
mov eax, dword [esp + 0x58]
mov ebp, ecx
mov edi, dword [esp + 0x10c]
mov edx, esi
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0xe0]
jmp 0x54d382
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
cmp esi, edx
jne 0x54d41d
cmp edx, ecx
mov eax, edx
mov edx, ecx
mov edi, dword [esp + 0x10c]
mov ecx, dword [esp + 0x38]
mov esi, ebp
jmp 0x54d640
lea ebp, [esi + 1]
cmp edx, ebp
jne 0x54d4f0
cmp esi, ecx
jae 0x54d97d
lea ebp, [edi + 1]
mov esi, dword [eax + esi*4]
cmp ebx, ebp
jae 0x54d496
mov dword [esp + 0x108], esi
lea eax, [0x596600]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x38]
mov dword [esp + 0xe0], ebp
mov ebp, eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov ebx, dword [0x705d20]
mov ebp, dword [esp + 0xe0]
lea edx, [ebp + edi*4]
test ebx, ebx
jne 0x54d4bf
mov dword [ebp + edi*4], esi
mov edx, dword [esp + 0x58]
cmp edx, ecx
jmp 0x54d4d6
mov edi, edx
mov edx, eax
mov eax, esi
call fcn.0045d700
mov eax, dword [esp + 0x58]
cmp eax, ecx
mov eax, edx
mov edx, dword [esp + 0x58]
mov eax, edx
mov edx, ecx
mov edi, dword [esp + 0x10c]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov esi, ebp
jmp 0x54d640
mov dword [esp + 0x78], ebp
mov dword [esp + 0x68], esi
jmp 0x54d841
mov ebp, dword [esp + 0x68]
cmp ebp, ecx
jae 0x54d968
mov ebx, dword [eax + ebp*4]
lea edx, [eax + ebp*4]
cmp esi, ecx
jae 0x54d961
mov dword [esp + 0xfc], edx
mov dword [esp + 0x108], ebx
mov edx, dword [0x705d20]
mov ebx, dword [eax + esi*4]
lea esi, [eax + esi*4]
test edx, edx
jne 0x54d548
mov dword [eax + ebp*4], ebx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x108]
mov dword [eax + edx*4], ebx
jmp 0x54d56f
mov edx, edi
mov edi, dword [esp + 0xfc]
mov eax, ebx
call fcn.0045d700
mov edi, esi
mov eax, dword [esp + 0x108]
call fcn.0045d700
mov eax, dword [esp + 0x10c]
mov edi, edx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x78]
jmp 0x54d8a4
mov ecx, dword [eax + ebp*4]
mov dword [esp], ecx
call fcn.0054c1f0
mov eax, dword [esp + 0x38]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x10c]
mov edx, dword [ebx + edx*4]
mov ebp, dword [esp + 0x6c]
cmp ebp, ecx
jb 0x54d5ad
mov esi, dword [esp + 0xe0]
jmp 0x54d5fe
mov dword [esp + 0x108], edx
lea edx, [0x596600]
mov dword [esp], edx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x108]
mov esi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x3c], ebp
mov edi, ebx
mov ebx, dword [0x705d20]
lea ebp, [esi + eax*4]
test ebx, ebx
jne 0x54d620
mov dword [esi + eax*4], edx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x7c]
cmp eax, edx
jmp 0x54d63c
mov eax, edx
mov edi, ebp
call fcn.0045d700
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x7c]
cmp eax, ebx
mov edx, ebx
mov edi, dword [esp + 0x10c]
mov ebx, dword [esp + 0x3c]
jge 0x54d6db
jae 0x54d953
lea ebp, [ecx + 1]
mov edx, dword [edi + eax*4]
cmp ebx, ebp
jae 0x54d6a4
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x108], edx
lea eax, [0x596600]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004472c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x108]
mov edi, dword [esp + 0x10c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov ebx, dword [0x705d20]
lea ebp, [esi + ecx*4]
test ebx, ebx
jne 0x54d6be
mov dword [esi + ecx*4], edx
jmp 0x54d6cf
mov ecx, edi
mov edi, ebp
mov ebx, eax
mov eax, edx
call fcn.0045d700
mov eax, ebx
mov edi, ecx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, edx
lea edx, [eax + 1]
jmp 0x54d382
mov eax, ebp
xor ecx, ecx
xor edx, edx
jmp 0x54d6ef
mov ecx, esi
cmp ecx, edi
jge 0x54d7f5
lea esi, [ecx + 1]
cmp edi, esi
jle 0x54d747
cmp ecx, edi
jae 0x54d823
mov dword [esp + 0x100], ebp
mov ebp, dword [eax + ecx*4]
cmp byte [ebp], 2
jne 0x54d73c
cmp edi, esi
jbe 0x54d81a
mov ebp, dword [eax + ecx*4 + 4]
cmp byte [ebp], 2
jne 0x54d731
mov ebp, dword [esp + 0x100]
jmp 0x54d6ed
cmp ecx, edi
mov ebp, dword [esp + 0x100]
jmp 0x54d749
cmp ecx, edi
mov ebp, dword [esp + 0x100]
jmp 0x54d749
cmp ecx, edi
jae 0x54d811
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], esi
lea esi, [edx + 1]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x108], edx
cmp ebx, esi
jae 0x54d7ab
lea eax, [0x596600]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.004472c0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0x108]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x7c], esi
mov ecx, ebx
mov ebx, dword [0x705d20]
mov esi, dword [esp + 0x64]
lea edx, [ebp + esi*4]
test ebx, ebx
jne 0x54d7d0
mov edx, dword [esp + 0x108]
mov dword [ebp + esi*4], edx
jmp 0x54d7e6
mov ebx, edi
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x108]
call fcn.0045d700
mov eax, esi
mov edi, ebx
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x7c]
mov ebx, ecx
jmp 0x54d6ed
mov dword [esp + 0x124], ebp
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ebx
add esp, 0x110
ret
mov eax, ecx
mov ecx, edi
call fcn.0045d780
mov eax, esi
mov ecx, edi
call fcn.0045d780
mov eax, ecx
mov ecx, edi
call fcn.0045d780
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + 1]
mov ebx, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
mov esi, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], esi
cmp ebp, edx
jge 0x54d4fd
cmp esi, ecx
jae 0x54d976
mov ebx, dword [eax + esi*4]
movzx edx, byte [ebx]
cmp ebp, ecx
jae 0x54d96f
mov dword [esp + 0x74], ebp
mov esi, dword [eax + ebp*4]
movzx ebp, byte [esi]
xchg ebp, eax
cmp al, dl
xchg ebp, eax
ja 0x54d87d
jne 0x54d883
mov edx, dword [ebx + 0x18]
cmp dword [esi + 0x18], edx
jle 0x54d883
mov edx, dword [esp + 0x74]
jmp 0x54d82c
mov edx, dword [esp + 0x40]
jmp 0x54d82c
lea esi, [eax + 1]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x38]
mov ebx, esi
cmp ebx, edx
jge 0x54d57c
mov esi, dword [eax + ebp*4]
cmp ebx, ecx
jae 0x54d95a
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + ebx*4]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0054fc80
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10c]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 0x114]
mov ebp, dword [ebx + 0x30]
test ebp, ebp
je 0x54d91c
mov dword [esp + 0xd0], edx
lea ecx, [0x584a20]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.0040e390
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x114]
test byte [edx], al
mov ebp, dword [0x705d20]
mov esi, dword [ebx + 0x10]
test ebp, ebp
jne 0x54d936
mov dword [edx + 0x10], esi
mov dword [ebx + 0x10], edx
jmp 0x54d889
lea edi, [edx + 0x10]
mov ebp, eax
mov eax, esi
call fcn.0045d700
lea edi, [ebx + 0x10]
mov eax, edx
call fcn.0045d700
mov eax, ebp
jmp 0x54d889
mov ecx, edx
call fcn.0045d780
mov eax, ebx
call fcn.0045d780
mov eax, esi
call fcn.0045d780
mov eax, ebp
call fcn.0045d780
mov eax, ebp
call fcn.0045d780
mov eax, esi
call fcn.0045d780
mov eax, esi
call fcn.0045d780
mov eax, edx
call fcn.0045d780
lea edi, [edx + 1]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x114]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, ebx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
cmp edi, esi
jge 0x54d112
cmp edi, ecx
jae 0x54da11
mov dword [esp + 0x48], edi
mov ecx, dword [eax + edi*4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
cmp edi, ecx
setne dl
mov byte [esp + 8], dl
call fcn.0054de70
mov eax, dword [0x705d20]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0xe0]
lea edi, [ebx + edx*4]
test eax, eax
jne 0x54d9f8
mov dword [ebx + edx*4], ecx
jmp 0x54d98b
mov eax, ecx
call fcn.0045d700
jmp 0x54d98b
mov eax, edi
mov ecx, esi
call fcn.0045d7e0
mov ecx, esi
call fcn.0045d7c0
mov eax, edi
call fcn.0045d780
mov eax, edi
call fcn.0045d780
xor eax, eax
mov ecx, esi
call fcn.0045d780
mov eax, esi
call fcn.0045d780
lea edi, [edx + 1]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x114]
mov esi, dword [esp + 0x11c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x108]
cmp edi, edx
jge 0x54cbdb
cmp esi, edi
jbe 0x54daac
mov dword [esp + 0x4c], edi
mov ecx, dword [ebx + edi*4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0054dbe0
mov eax, dword [0x705d20]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x118]
lea edi, [ebx + edx*4]
test eax, eax
jne 0x54da93
mov dword [ebx + edx*4], ecx
jmp 0x54da2f
mov eax, ecx
call fcn.0045d700
jmp 0x54da2f
mov ecx, edx
call fcn.0045d7e0
mov ecx, edx
mov edx, edi
call fcn.0045d7c0
mov eax, edi
mov ecx, esi
call fcn.0045d780
mov eax, edi
call fcn.0045d780
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0xf8], edx
mov word [esp + 0x26], bp
mov ebp, dword [esp + 0xe0]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
jmp 0x54c97a
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x28]
movzx ebp, word [esp + 0x24]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
movzx ebx, word [esp + 0x22]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
cmp esi, ebp
jle 0x54db73
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jge 0x54db77
cmp esi, ebp
jbe 0x54dbb9
mov ebx, dword [esp + 0xcc]
mov ebx, dword [ebx + ebp*4]
mov esi, dword [esp + 0xe4]
lea esi, [esi + ebp*4]
cmp dword [esi], ebx
je 0x54db19
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
jmp 0x54db77
mov ebx, dword [esp + 0x50]
test ebp, ebp
jle 0x54db9d
mov ebx, dword [esp + 0x2c]
cmp ebx, ebp
jb 0x54dbb0
mov esi, edi
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0xe0]
jmp 0x54c85e
movzx ebx, word [esp + 0x22]
movzx ebp, word [esp + 0x24]
mov esi, dword [esp + 0x30]
jmp 0x54dabc
mov ecx, ebp
mov edx, ebx
call fcn.0045d7c0
mov eax, ebp
mov ecx, esi
call fcn.0045d780
mov eax, esi
call fcn.0045d780
nop
call fcn.0045c2f0
jmp fcn.0054c7c0