Function at 0x47f8e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53e915
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x188]
push edi
test eax, eax
mov dword [esp + 0x34], eax
jne 0x47f921
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test eax, eax
jne 0x47f943
mov ecx, dword [ebp + 0xcc]
push ebp
add ecx, 0x1f0
call fcn.004d0370
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc8]
test eax, eax
jne 0x47f951
xor edi, edi
jmp 0x47f957
mov edi, dword [ebp + 0xc0]
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x1c], edi
test eax, eax
jne 0x47f966
xor eax, eax
jmp 0x47f969
mov eax, dword [ebp + 0x5c]
mov ebx, dword [esp + 0x78]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], 0
mov esi, dword [eax + ebx*4]
mov dword [esp + 0x10], esi
call fcn.00470b30
add edi, esi
mov ecx, ebp
push edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], edi
call fcn.004ca8d0
test al, 2
je 0x47fe9f
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], 1
push ecx
push 0
push 0
push ebx
mov ecx, ebp
mov dword [esp + 0x4c], 0
call fcn.004c89b0
cmp eax, 1
jne 0x47f9df
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47f9df
test byte [eax + 0xe], 0x20
jne 0x47f9df
mov dword [esp + 0x44], 0
cmp dword [esp + 0x7c], 1
jne 0x47f9f1
push edi
call fcn.004c7520
add esp, 4
add esi, eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov ebp, esi
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x14], ebx
jle 0x480df4
jmp 0x47fa11
xor ebx, ebx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x184]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x64]
shr eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc8]
cmp eax, ebx
jne 0x47fa43
mov dword [esp + 0x20], ebx
jmp 0x47fa4d
mov edx, dword [edi + 0xc0]
mov dword [esp + 0x20], edx
cmp dword [edi + 0x64], ebx
jne 0x47fa58
mov dword [esp + 0x10], ebx
jmp 0x47fa5f
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
and eax, 1
cmp eax, 1
mov dword [esp + 0x48], eax
jne 0x47fa70
mov ebx, eax
cmp ebx, dword [esp + 0x38]
jge 0x47fe85
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x47fae5
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [ecx + ebx*4]
mov ecx, edi
add eax, esi
inc eax
push eax
call fcn.004ca180
test eax, eax
mov dword [esp + 0x3c], eax
je 0x47fae5
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x47fae5
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jge 0x47fe72
mov edx, dword [esp + 0x10]
lea esi, [edx + ebx*4]
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, edi
push eax
call fcn.004ca8d0
cmp eax, 1
je 0x47fe72
mov eax, dword [esp + 0x38]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x47fabb
jmp 0x47fe72
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x47fbd0
mov ecx, dword [esp + 0x1c]
mov dl, byte [ecx + ebp]
lea eax, [ecx + ebp]
xor ecx, ecx
cmp dl, 1
sete cl
test ecx, ecx
mov dword [esp + 0x40], ecx
jne 0x47fbd0
push eax
call fcn.004c7520
mov esi, dword [esp + 0x78]
add esp, 4
mov edi, eax
mov ecx, esi
push 0
push edi
push ebp
call fcn.004c8810
mov edx, edi
mov ecx, esi
neg edx
push edx
push ebp
call fcn.004c8730
mov eax, dword [esp + 0x70]
lea ecx, [esi + 0xb8]
push eax
push edi
push ebp
call fcn.004e5b60
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x47fb5a
xor eax, eax
jmp 0x47fb5d
mov eax, dword [eax + 8]
shr ecx, 3
dec ecx
test ecx, ecx
jl 0x47fbdc
lea esi, [ecx*8]
inc ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + eax + 4]
sub ecx, edi
cmp ecx, ebp
jge 0x47fba8
mov ecx, dword [esp + 0x84]
push 8
push esi
call fcn.00471570
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x47fb9c
xor eax, eax
jmp 0x47fbc0
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
jmp 0x47fbc0
mov ecx, dword [esi + eax]
sub ecx, edi
cmp ebp, ecx
jle 0x47fbb3
mov ecx, ebp
mov dword [esi + eax], ecx
mov ecx, dword [esi + eax + 4]
sub ecx, edi
mov dword [esi + eax + 4], ecx
mov ecx, dword [esp + 0x7c]
sub esi, 8
dec ecx
mov dword [esp + 0x7c], ecx
jne 0x47fb71
jmp 0x47fbdc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x47fe7d
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 0x54]
mov ecx, dword [ecx + 0x64]
test ecx, ecx
jne 0x47fbee
xor eax, eax
jmp 0x47fbf1
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x88], eax
lea esi, [eax + edx]
mov eax, dword [esp + 0x48]
cmp eax, 1
push esi
jne 0x47fc42
call fcn.004c7520
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
add esp, 4
mov ebp, eax
mov ecx, edi
mov dword [esp + 0x2c], ebp
push ebp
push ebx
call fcn.004c8730
mov eax, dword [esp + 0x70]
add edi, 0xb8
push eax
push ebp
push esi
push ebx
mov ecx, edi
call fcn.004e59e0
jmp 0x47fc84
mov ecx, dword [esp + 0x28]
call fcn.004ca1a0
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebp, eax
push ebp
push edi
mov dword [esp + 0x34], ebp
call fcn.004c8730
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov bl, byte [esi]
push ecx
push ebp
push esi
push edi
lea edi, [edx + 0xb8]
mov ecx, edi
mov byte [esi], 0x21
call fcn.004e59e0
mov byte [esi], bl
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x47fc96
xor ecx, ecx
jmp 0x47fc99
mov ecx, dword [ecx + 8]
push ebp
push ebx
shr eax, 2
push eax
push ecx
call fcn.004dd170
mov eax, dword [edi + 0x10]
add esp, 0x10
test eax, eax
jne 0x47fcb9
mov dword [esp + 0x1c], 0
jmp 0x47fcc0
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x88]
mov edx, 1
add ecx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
jmp 0x47fce8
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x47fcf5
add ecx, 0x7c
add ebp, 0x7c
jmp 0x47fd23
cmp edx, 2
jne 0x47fd08
add ecx, 0x90
add ebp, 0x90
jmp 0x47fd23
cmp edx, 3
jne 0x47fd1b
add ecx, 0xa4
add ebp, 0xa4
jmp 0x47fd23
lea eax, [ebp + 0x54]
add ecx, 0x54
mov ebp, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x7c], ebp
test eax, eax
jne 0x47fd32
xor ebx, ebx
jmp 0x47fd35
mov ebx, dword [ecx + 8]
shr eax, 2
cmp edx, 4
mov edi, eax
jne 0x47fddc
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x47fd4e
xor ecx, ecx
jmp 0x47fd51
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x78]
shr eax, 2
push edx
push eax
push ecx
call fcn.00408950
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x47fdd8
xor ecx, ecx
xor esi, esi
test edi, edi
mov dword [esp + 0x5c], ecx
jle 0x47fe20
mov eax, dword [ebx]
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x47fdaf
mov edx, dword [esp + 0x88]
cmp eax, edx
jl 0x47fda7
mov ecx, edx
mov edx, dword [esp + 0x78]
sub eax, ecx
lea ecx, [esp + 0x4c]
add eax, edx
push eax
call fcn.00470df0
mov ecx, dword [esp + 0x5c]
inc esi
add ebx, 4
cmp esi, edi
jl 0x47fd7a
test ecx, ecx
jle 0x47fe20
mov eax, ecx
push ecx
shr eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
lea ecx, [ebp*4]
push eax
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00471350
jmp 0x47fe20
mov ebp, dword [esp + 0x7c]
test edi, edi
jle 0x47fe20
mov esi, dword [esp + 0x88]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x78]
mov eax, dword [ebx]
cmp eax, esi
jl 0x47fe12
cmp eax, dword [esp + 0x30]
jge 0x47fe12
sub eax, esi
mov ecx, ebp
add eax, edi
push eax
call fcn.00470df0
cmp dword [esp + 0x18], 4
jne 0x47fe12
inc dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
add ebx, 4
dec eax
mov dword [esp + 0x7c], eax
jne 0x47fdef
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x47fce0
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x47fe41
xor eax, eax
jmp 0x47fe44
mov eax, dword [ecx + 0x5c]
mov ecx, dword [ecx + 0x64]
mov edx, dword [esp + 0x30]
shr ecx, 2
push edx
push ecx
push eax
call fcn.00408950
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x84]
add esp, 0xc
add eax, edx
mov dword [esp + 0x78], eax
mov ebp, eax
cmp ebx, 0xffffffff
jne 0x47fa70
jmp 0x47fe85
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x47fa0f
jmp 0x480df4
push 0xd0
call fcn.005151e5
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
xor ebp, ebp
cmp esi, ebp
je 0x47ff71
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x184]
mov eax, dword [edx]
mov edi, dword [eax + 0xcc]
mov eax, dword [0x58f614]
mov dword [esi], eax
mov ecx, dword [0x58f614]
mov dword [esi + 4], ecx
lea ebx, [esi + 0x14]
push edi
mov ecx, ebx
mov byte [esp + 0x6c], 3
call fcn.004374c0
mov dword [ebx], 0x547f50
push edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x6c], 4
call fcn.004272d0
lea ecx, [esi + 0x54]
mov byte [esp + 0x68], 5
call fcn.00470b30
lea ecx, [esi + 0x68]
mov byte [esp + 0x68], 6
call fcn.00470b30
lea ecx, [esi + 0x7c]
mov byte [esp + 0x68], 7
call fcn.00470b30
lea ecx, [esi + 0x90]
mov byte [esp + 0x68], 8
call fcn.00470b30
lea ecx, [esi + 0xa4]
mov byte [esp + 0x68], 9
call fcn.00470b30
lea ecx, [esi + 0xb8]
mov byte [esp + 0x68], 0xa
call fcn.00470b30
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xcc], edi
mov dword [esp + 0x14], esi
jmp 0x47ff75
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x34]
mov byte [esp + 0x68], 0
cmp eax, ebp
mov dword [esp + 0x3c], ebp
jle 0x4801bd
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x184]
mov ebp, dword [eax + ecx*4]
test byte [ebp + 0xc], 1
je 0x4800d7
mov eax, dword [ebp + 0xc8]
test eax, eax
jne 0x47ffbc
mov dword [esp + 0x20], 0
jmp 0x47ffc6
mov edx, dword [ebp + 0xc0]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
call fcn.004c7d70
mov esi, eax
mov bl, byte [esi]
mov dword [esp + 0x44], esi
cmp bl, 1
je 0x4801a8
push esi
call fcn.004c7520
add esp, 4
cmp bl, 0x21
mov dword [esp + 0x2c], eax
jne 0x4800d0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov edi, esi
push eax
mov ecx, dword [ebx + 0xc8]
push esi
mov dword [esp + 0x2c], ecx
lea ecx, [ebx + 0xb8]
sub edi, edx
mov byte [esi], 0x6a
call fcn.004713f0
mov eax, 1
mov byte [esi], 0x21
mov dword [esp + 0x18], eax
jmp 0x480035
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp eax, 1
jne 0x480042
lea ecx, [ebp + 0x7c]
add ebx, 0x7c
jmp 0x48006e
cmp eax, 2
jne 0x480055
lea ecx, [ebp + 0x90]
add ebx, 0x90
jmp 0x48006e
cmp eax, 3
jne 0x480068
lea ecx, [ebp + 0xa4]
add ebx, 0xa4
jmp 0x48006e
lea ecx, [ebp + 0x54]
add ebx, 0x54
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x480079
xor esi, esi
jmp 0x48007c
mov esi, dword [ecx + 8]
shr eax, 2
test eax, eax
jle 0x4800b6
mov dword [esp + 0x48], eax
mov eax, dword [esi]
cmp eax, edi
jl 0x4800a8
mov edx, dword [esp + 0x2c]
lea ecx, [edi + edx]
cmp eax, ecx
jge 0x4800a8
mov ecx, dword [esp + 0x24]
sub ecx, edi
add ecx, eax
push ecx
mov ecx, ebx
call fcn.00470df0
mov eax, dword [esp + 0x48]
add esi, 4
dec eax
mov dword [esp + 0x48], eax
jne 0x480087
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x48002d
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
add esi, eax
jmp 0x47ffd4
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [esi + 0xc8]
push eax
push 0
call fcn.004c8730
mov ecx, dword [ebp + 0xc8]
mov eax, ecx
test eax, eax
jne 0x4800fb
xor eax, eax
jmp 0x480101
mov eax, dword [ebp + 0xc0]
push ecx
push eax
lea ecx, [esi + 0xb8]
call fcn.004713f0
mov ecx, dword [ebp + 0x64]
mov eax, ecx
test eax, eax
jne 0x48011b
xor eax, eax
jmp 0x48011e
mov eax, dword [ebp + 0x5c]
push ecx
push eax
lea ecx, [esi + 0x54]
call fcn.004713f0
mov ecx, dword [ebp + 0x78]
mov eax, ecx
test eax, eax
jne 0x480135
xor eax, eax
jmp 0x480138
mov eax, dword [ebp + 0x70]
push ecx
push eax
lea ecx, [esi + 0x68]
call fcn.004713f0
mov ecx, dword [ebp + 0x8c]
mov eax, ecx
test eax, eax
jne 0x480152
xor eax, eax
jmp 0x480158
mov eax, dword [ebp + 0x84]
push ecx
push eax
lea ecx, [esi + 0x7c]
call fcn.004713f0
mov ecx, dword [ebp + 0xa0]
mov eax, ecx
test eax, eax
jne 0x480172
xor eax, eax
jmp 0x480178
mov eax, dword [ebp + 0x98]
push ecx
push eax
lea ecx, [esi + 0x90]
call fcn.004713f0
mov ecx, dword [ebp + 0xb4]
mov eax, ecx
test eax, eax
jne 0x480195
xor eax, eax
jmp 0x48019b
mov eax, dword [ebp + 0xac]
push ecx
push eax
lea ecx, [esi + 0xa4]
call fcn.004713f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x47ff8a
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp dword [ebp + 0xc8], edi
jne 0x48020d
cmp ebp, edi
je 0x4801df
mov ecx, ebp
call fcn.0044e370
push ebp
call fcn.0051520e
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x5477b0
call fcn.00470d30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
cmp dword [esp + 0x88], edi
jne 0x480884
cmp dword [esp + 0x7c], 1
jne 0x48023a
mov edx, dword [esp + 0x40]
push edx
call fcn.004a85a0
mov esi, dword [esp + 0x14]
add esp, 4
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x48023e
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp esi, edi
jle 0x480257
mov al, byte [esi + ebx - 1]
cmp al, 0x6d
je 0x480252
cmp al, 0x55
jne 0x480257
dec esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x74]
mov dl, byte [esi + ebx]
lea ecx, [esi + ebx]
mov eax, dword [eax + 0xc8]
cmp esi, eax
jge 0x48027c
cmp dl, 0x6e
je 0x480275
cmp dl, 0x6d
jne 0x48027c
mov edi, 1
jmp 0x48027e
xor edi, edi
cmp ecx, ebx
jbe 0x480294
mov al, byte [ecx - 1]
mov dword [esp + 0x80], 1
cmp al, 0x6f
je 0x48029f
mov dword [esp + 0x80], 0
mov eax, dword [ebp + 0xc8]
lea esi, [ebp + 0xb8]
test eax, eax
jne 0x4802b3
xor eax, eax
jmp 0x4802b6
mov eax, dword [esi + 8]
xor ebx, ebx
cmp byte [eax], 0x6d
sete bl
cmp edi, 1
mov eax, ebx
jne 0x4802e5
test eax, eax
jne 0x4802e5
cmp dl, 0x6e
jne 0x48042b
push ecx
mov ecx, dword [esp + 0x78]
call fcn.004ca1a0
add dword [esp + 0x10], eax
jmp 0x48042b
mov ebx, 1
cmp eax, ebx
jne 0x48030a
cmp edi, ebx
jne 0x4802fd
cmp dl, 0x6d
jne 0x4802fd
inc dword [esp + 0x10]
jmp 0x480323
cmp dword [esp + 0x80], ebx
jne 0x48030a
dec dword [esp + 0x10]
cmp edi, ebx
je 0x48031b
cmp dword [esp + 0x80], ebx
jne 0x48042b
cmp eax, ebx
jne 0x48042b
mov eax, dword [ebp + 0x78]
lea ecx, [ebp + 0x68]
test eax, eax
jne 0x480331
xor esi, esi
jmp 0x480334
mov esi, dword [ecx + 8]
mov edx, dword [ebp + 0x78]
mov eax, 0x38e38e39
mul edx
shr edx, 1
xor eax, eax
test edx, edx
jle 0x480367
cmp byte [esi], 4
jne 0x480352
mov edi, dword [esi + 1]
test edi, edi
je 0x48035c
add esi, 9
inc eax
cmp eax, edx
jl 0x480346
jmp 0x480367
lea edx, [eax + eax*8]
push 9
push edx
call fcn.00471570
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.004c8730
lea esi, [ebp + 0xb8]
push ebx
push 0
mov ecx, esi
call fcn.00471570
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x48038d
xor edi, edi
jmp 0x480390
mov edi, dword [esi + 8]
cmp byte [edi], 0x6e
jne 0x4803b0
inc edi
mov ecx, edi
call fcn.004c7bc0
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004ca1d0
add edi, eax
cmp byte [edi], 0x6e
je 0x480395
mov eax, dword [ebp + 0xc8]
lea esi, [ebp + 0xb8]
test eax, eax
jne 0x4803c4
xor eax, eax
jmp 0x4803c7
mov eax, dword [esi + 8]
sub edi, eax
push 0xfffffffffffffffe
dec edi
mov ecx, ebp
push edi
call fcn.004c8730
push 2
push edi
mov ecx, esi
call fcn.00471570
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4803e9
xor eax, eax
jmp 0x4803ec
mov eax, dword [esi + 8]
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004ca1d0
mov ecx, dword [esi + 0x10]
lea eax, [edi + eax - 1]
test ecx, ecx
jne 0x480407
xor ecx, ecx
jmp 0x48040a
mov ecx, dword [esi + 8]
sub eax, ecx
push 0xfffffffffffffffe
mov edi, eax
mov ecx, ebp
push edi
call fcn.004c8730
push 2
push edi
mov ecx, esi
call fcn.00471570
push 0x53
mov ecx, esi
call fcn.00470e70
mov edi, dword [ebp + 0xc8]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
push edi
push ebx
mov dword [esp + 0x34], edi
call fcn.004c8730
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x480456
xor ecx, ecx
jmp 0x480459
mov ecx, dword [ecx + 8]
push edi
push ebx
shr eax, 2
push eax
push ecx
call fcn.004dd170
mov eax, dword [esi + 0x10]
add esp, 0x10
test eax, eax
jne 0x480473
xor esi, esi
jmp 0x480476
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x70]
push eax
push edi
mov edi, dword [esp + 0x7c]
push esi
push ebx
lea ecx, [edi + 0xb8]
call fcn.004e59e0
mov eax, dword [edi + 0x64]
add edi, 0x54
test eax, eax
jne 0x48049b
xor eax, eax
jmp 0x48049e
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [edx + 0x64]
shr ecx, 2
push ecx
push eax
call fcn.00408950
mov esi, dword [ebp + 0x64]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x480507
mov ecx, dword [ebp + 0x64]
lea eax, [ebp + 0x54]
test ecx, ecx
jne 0x4804cf
xor eax, eax
jmp 0x4804d2
mov eax, dword [eax + 8]
lea ebp, [ebx*4]
push esi
push eax
push ebp
mov ecx, edi
call fcn.00471350
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4804ee
xor edi, edi
jmp 0x4804f1
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x7c]
lea ecx, [edi + ebp]
cmp eax, 1
jne 0x480554
sub ebx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
jmp 0x480554
cmp dword [esp + 0x7c], 1
jne 0x480522
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [edx + 0x64]
shr eax, 2
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x64]
test ecx, ecx
mov ebx, dword [eax + 0x64]
lea eax, [ebp + 0x54]
jne 0x480537
xor eax, eax
jmp 0x48053a
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.004713f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x48054e
xor edi, edi
jmp 0x480551
mov edi, dword [edi + 8]
lea ecx, [edi + ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x64]
xor edx, edx
shr eax, 2
dec eax
test eax, eax
setl dl
dec edx
and eax, edx
mov edx, dword [esp + 0x28]
add edx, eax
mov eax, dword [esp + 0x10]
shr esi, 2
push eax
push esi
push ecx
mov dword [esp + 0x34], edx
call fcn.004dd520
add esp, 0xc
mov ebp, 1
cmp ebp, 1
jne 0x48059f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 0x7c]
lea edi, [edx + 0x7c]
jmp 0x4805e2
cmp ebp, 2
jne 0x4805ba
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
lea eax, [edx + 0x90]
lea edi, [ecx + 0x90]
jmp 0x4805e2
cmp ebp, 3
jne 0x4805d4
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
add eax, 0xa4
lea edi, [edx + 0xa4]
jmp 0x4805e2
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x68]
mov ecx, dword [esp + 0x74]
lea edi, [ecx + 0x68]
mov esi, dword [eax + 0x10]
mov ebx, dword [edi + 0x10]
test esi, esi
jne 0x4805f0
xor eax, eax
jmp 0x4805f3
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.004713f0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x480607
xor edi, edi
jmp 0x48060a
mov edi, dword [edi + 8]
cmp ebp, 4
lea ecx, [edi + ebx]
jne 0x480630
mov edx, dword [esp + 0x10]
mov eax, 0x38e38e39
push edx
mul esi
push 1
push 0
shr edx, 1
push edx
push ecx
call fcn.00408820
add esp, 0x14
jmp 0x480642
mov eax, dword [esp + 0x10]
shr esi, 2
push eax
push esi
push ecx
call fcn.004dd520
add esp, 0xc
inc ebp
cmp ebp, 4
jle 0x48058a
mov ecx, dword [esp + 0x74]
lea eax, [ecx + 0xb8]
mov ecx, dword [ecx + 0xc8]
test ecx, ecx
jne 0x480664
xor edi, edi
jmp 0x480667
mov edi, dword [eax + 8]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add edi, edx
mov dword [esp + 0x78], 0
lea ebp, [eax + edi]
cmp edi, ebp
jae 0x480ce4
mov esi, dword [esp + 0x78]
mov cl, byte [edi]
inc edi
mov byte [esp + 0x80], cl
mov edx, dword [esp + 0x80]
push edx
call fcn.004ca130
add esp, 4
cmp eax, 1
jne 0x480871
mov ecx, edi
call fcn.004c7bc0
mov ebx, eax
mov ax, word [edi + 6]
test al, 2
je 0x480847
and eax, 0xfffd
mov ecx, edi
mov word [edi + 6], ax
call fcn.004c7b90
cmp eax, 0xffff
jne 0x480847
test esi, esi
jne 0x480753
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xb8]
mov eax, dword [eax + 0xc8]
test eax, eax
jne 0x4806f7
xor eax, eax
jmp 0x4806fa
mov eax, dword [ecx + 8]
lea edx, [edi - 1]
cmp edx, eax
jbe 0x480847
mov al, byte [edi - 2]
cmp al, 0x73
je 0x480718
cmp al, 0x72
je 0x480718
cmp al, 0x74
jne 0x480847
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x480723
xor edx, edx
jmp 0x480726
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xc8]
lea eax, [ebx + edi]
add ecx, edx
cmp eax, ecx
jae 0x480847
mov cl, byte [eax]
push ecx
call fcn.004c6f70
add esp, 4
cmp eax, 5
je 0x480847
jmp 0x48075c
cmp esi, 1
jne 0x480843
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x48076e
xor eax, eax
jmp 0x480774
mov eax, dword [ecx + 0xc0]
sub edi, eax
lea eax, [ecx + 0x54]
dec edi
inc ebx
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x480786
xor eax, eax
jmp 0x480789
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
push edi
mov edx, dword [esi + 0x64]
shr edx, 2
push edx
push eax
call fcn.00471960
add esp, 0xc
lea ecx, [esi + 0x54]
shl eax, 2
push 4
push eax
call fcn.00471570
mov ebp, ebx
mov ecx, esi
neg ebp
push ebp
push edi
call fcn.004c8730
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4807cb
xor ecx, ecx
jmp 0x4807d5
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + 8]
push ebp
push edi
shr eax, 2
push eax
push ecx
call fcn.004dd170
mov eax, dword [esp + 0x80]
add esp, 0x10
add esi, 0xb8
push eax
push ebx
push edi
mov ecx, esi
call fcn.004e5b60
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
sub ecx, ebx
test eax, eax
mov dword [esp + 0x2c], ecx
jne 0x480810
xor eax, eax
jmp 0x480813
mov eax, dword [esi + 8]
add edi, eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x480820
xor esi, esi
jmp 0x480823
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
xor ebx, ebx
lea ebp, [esi + ecx]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x78]
add ebp, ecx
dec eax
add edi, ebx
mov dword [esp + 0x28], eax
jmp 0x480877
test esi, esi
jne 0x48086d
mov al, byte [esp + 0x80]
cmp al, 0x6c
je 0x480867
cmp al, 0x6b
je 0x480867
cmp al, 0x6e
je 0x480867
mov esi, 1
add edi, ebx
mov dword [esp + 0x78], esi
jmp 0x480877
xor esi, esi
mov dword [esp + 0x78], esi
add edi, ebx
jmp 0x480877
xor esi, esi
mov dword [esp + 0x78], esi
cmp edi, ebp
jb 0x480688
jmp 0x480ce4
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x64]
shr eax, 2
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc8]
cmp eax, edi
jne 0x4808a2
mov dword [esp + 0x1c], edi
jmp 0x4808ac
mov edx, dword [ecx + 0xc0]
mov dword [esp + 0x1c], edx
lea eax, [ecx + 0x54]
mov ecx, dword [ecx + 0x64]
cmp ecx, edi
jne 0x4808bf
mov dword [esp + 0x84], edi
jmp 0x4808c9
mov eax, dword [eax + 8]
mov dword [esp + 0x84], eax
cmp dword [ebp + 0xc8], edi
jne 0x4808d7
mov dword [esp + 0x20], edi
jmp 0x4808e1
mov ecx, dword [ebp + 0xc0]
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0x64], edi
jne 0x4808ec
mov dword [esp + 0x10], edi
jmp 0x4808f3
mov edx, dword [ebp + 0x5c]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x80], edi
shr eax, 2
cmp eax, edi
mov dword [esp + 0x38], eax
jle 0x480ce4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jge 0x480ce4
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x44], eax
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
lea edi, [eax + edx]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x88], eax
lea esi, [eax + edx]
mov al, byte [esi + 7]
mov dword [esp + 0x7c], esi
inc esi
test al, 2
jne 0x480c96
mov ecx, dword [esp + 0x7c]
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x480ce4
cmp al, 0x70
je 0x48097a
cmp al, 0x71
jne 0x48098d
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004c7b60
test eax, eax
je 0x480ce4
push edi
call fcn.004a85a0
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.004c7bc0
mov esi, dword [esp + 0x74]
mov ebp, eax
mov eax, dword [esp + 0x24]
push 0
push ebx
push eax
mov ecx, esi
inc ebp
call fcn.004c8810
mov ecx, dword [esi + 0x64]
lea eax, [esi + 0x54]
test ecx, ecx
jne 0x4809c3
xor eax, eax
jmp 0x4809c6
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edi, ebp
mov edx, dword [esi + 0x64]
sub edi, ebx
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004dd170
mov edx, dword [esi + 0x78]
add esp, 0x10
mov eax, edx
test eax, eax
jne 0x4809f1
xor ecx, ecx
jmp 0x4809f4
mov ecx, dword [esi + 0x70]
mov eax, dword [esp + 0x24]
push edi
inc eax
push 1
push eax
mov eax, 0x38e38e39
mul edx
shr edx, 1
push edx
push ecx
call fcn.00408820
mov eax, dword [esi + 0x8c]
add esp, 0x14
test eax, eax
jne 0x480a1e
xor eax, eax
jmp 0x480a24
mov eax, dword [esi + 0x84]
mov edx, dword [esi + 0x8c]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004dd170
mov eax, dword [esi + 0xa0]
add esp, 0x10
test eax, eax
jne 0x480a4b
xor eax, eax
jmp 0x480a51
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0xa0]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004dd170
mov eax, dword [esi + 0xb4]
add esp, 0x10
test eax, eax
jne 0x480a78
xor eax, eax
jmp 0x480a7e
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004dd170
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x34]
add esp, 0x10
push eax
push ebp
push ecx
push ebx
push edx
lea ecx, [esi + 0xb8]
call fcn.004e5ac0
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x14]
add ebp, eax
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
jmp 0x480adc
mov ebx, dword [esp + 0x14]
cmp ecx, 1
jne 0x480aed
mov edx, dword [esp + 0x74]
add ebx, 0x7c
lea eax, [edx + 0x7c]
jmp 0x480b26
cmp ecx, 2
jne 0x480b03
mov eax, dword [esp + 0x74]
add ebx, 0x90
add eax, 0x90
jmp 0x480b26
cmp ecx, 3
jne 0x480b1a
mov edx, dword [esp + 0x74]
add ebx, 0xa4
lea eax, [edx + 0xa4]
jmp 0x480b26
lea eax, [ebx + 0x54]
mov ebx, eax
mov eax, dword [esp + 0x74]
add eax, 0x54
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x480b35
xor esi, esi
jmp 0x480b38
mov esi, dword [ebx + 8]
mov ebp, eax
shr ebp, 2
cmp ecx, 4
jne 0x480bdf
test eax, eax
je 0x480b51
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x480b56
or eax, 0xffffffff
jmp 0x480b6b
mov edx, dword [esp + 0x88]
shr eax, 2
push edx
push eax
push ecx
call fcn.00471b40
add esp, 0xc
lea ecx, [eax*4]
mov edi, eax
add esi, ecx
cmp eax, ebp
jge 0x480b8a
mov edx, dword [esp + 0x30]
cmp dword [esi], edx
jge 0x480b8a
inc edi
add esi, 4
cmp edi, ebp
jl 0x480b7e
sub edi, eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x480b97
xor eax, eax
jmp 0x480b9a
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
lea edx, [edi*4]
add eax, ecx
push edx
push eax
push esi
mov ecx, ebx
call fcn.00471350
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x480bc0
xor eax, eax
jmp 0x480bc3
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x88]
sub ecx, ebp
add esi, eax
push ecx
push edi
push esi
call fcn.004dd520
add esp, 0xc
jmp 0x480c10
test ebp, ebp
jle 0x480c10
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi]
cmp eax, edi
jl 0x480c0a
cmp eax, dword [esp + 0x30]
jge 0x480c0a
mov ecx, dword [esp + 0x7c]
mov edx, ebx
sub edx, edi
add edx, eax
push edx
call fcn.00470df0
add esi, 4
dec ebp
jne 0x480bee
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, 4
mov dword [esp + 0x18], ecx
jle 0x480ad8
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xc8]
test eax, eax
jne 0x480c38
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x480c44
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x1c], eax
mov ebp, eax
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x480c4f
xor esi, esi
jmp 0x480c52
mov esi, dword [edi + 0x5c]
mov ebx, dword [edi + 0x64]
mov eax, dword [esp + 0x78]
shr ebx, 2
inc eax
mov dword [esp + 0x84], esi
cmp eax, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x78], eax
jge 0x480c96
mov ecx, eax
lea esi, [esi + ecx*4]
mov edx, dword [esi]
mov ecx, edi
add edx, ebp
push edx
call fcn.004ca8d0
cmp eax, 1
je 0x480c96
mov eax, dword [esp + 0x78]
add esi, 4
inc eax
cmp eax, ebx
mov dword [esp + 0x78], eax
jl 0x480c75
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
inc edi
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x480ce4
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
lea esi, [eax + edi*4]
mov ecx, dword [esi]
add ecx, ebp
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004ca8d0
cmp eax, 1
je 0x480cdc
inc edi
add esi, 4
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x480ce4
jmp 0x480cb8
cmp edi, ebx
jl 0x48090c
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x74], edi
je 0x480df4
lea ecx, [edi + 0xb8]
mov byte [esp + 0x68], 0x13
mov dword [ecx], 0x5477b0
call fcn.00470d30
lea ecx, [edi + 0xa4]
mov byte [esp + 0x68], 0x12
mov dword [ecx], 0x5477b0
call fcn.00470d30
lea ecx, [edi + 0x90]
mov byte [esp + 0x68], 0x11
mov dword [ecx], 0x5477b0
call fcn.00470d30
lea ecx, [edi + 0x7c]
mov byte [esp + 0x68], 0x10
mov dword [ecx], 0x5477b0
call fcn.00470d30
lea ecx, [edi + 0x68]
mov byte [esp + 0x68], 0xf
mov dword [ecx], 0x5477b0
call fcn.00470d30
lea ecx, [edi + 0x54]
mov byte [esp + 0x68], 0xe
mov dword [ecx], 0x5477b0
call fcn.00470d30
lea eax, [edi + 0x34]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004d02e0
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x14
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00470d30
mov ecx, esi
mov byte [esp + 0x68], 0xd
mov dword [esi], 0x5477b0
call fcn.00470d30
lea eax, [edi + 0x14]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004d02e0
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x15
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00470d30
mov ecx, esi
mov byte [esp + 0x68], 0xc
mov dword [esi], 0x5477b0
call fcn.00470d30
lea ecx, [edi + 4]
mov byte [esp + 0x68], 0xb
call fcn.00514336
mov ecx, edi
mov byte [esp + 0x68], bl
call fcn.00514336
push edi
call fcn.0051520e
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x5477b0
call fcn.00470d30
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret