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

Disassembly:
push 0xffffffffffffffff
push 0x555141
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 0x486b41
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 0x486b63
mov ecx, dword [ebp + 0xd0]
push ebp
add ecx, 0x1f0
call fcn.004d7b40
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xcc]
test eax, eax
jne 0x486b71
xor edi, edi
jmp 0x486b77
mov edi, dword [ebp + 0xc4]
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x1c], edi
test eax, eax
jne 0x486b86
xor eax, eax
jmp 0x486b89
mov eax, dword [ebp + 0x60]
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.00477cf0
add edi, esi
mov ecx, ebp
push edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], edi
call fcn.004d1ff0
test al, 2
je 0x4870c5
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.004d0060
cmp eax, 1
jne 0x486bff
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x486bff
test byte [eax + 0xe], 0x20
jne 0x486bff
mov dword [esp + 0x44], 0
cmp dword [esp + 0x7c], 1
jne 0x486c11
push edi
call fcn.004ce6c0
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 0x48804a
jmp 0x486c31
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 + 0x68]
shr eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xcc]
cmp eax, ebx
jne 0x486c63
mov dword [esp + 0x20], ebx
jmp 0x486c6d
mov edx, dword [edi + 0xc4]
mov dword [esp + 0x20], edx
cmp dword [edi + 0x68], ebx
jne 0x486c78
mov dword [esp + 0x10], ebx
jmp 0x486c7f
mov eax, dword [edi + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
and eax, 1
cmp eax, 1
mov dword [esp + 0x48], eax
jne 0x486c90
mov ebx, eax
cmp ebx, dword [esp + 0x38]
jge 0x4870ab
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x486d05
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.004d18a0
test eax, eax
mov dword [esp + 0x3c], eax
je 0x486d05
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x486d05
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jge 0x487098
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.004d1ff0
cmp eax, 1
je 0x487098
mov eax, dword [esp + 0x38]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x486cdb
jmp 0x487098
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x486df0
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 0x486df0
push eax
call fcn.004ce6c0
mov esi, dword [esp + 0x78]
add esp, 4
mov edi, eax
mov ecx, esi
push 0
push edi
push ebp
call fcn.004cfec0
mov edx, edi
mov ecx, esi
neg edx
push edx
push ebp
call fcn.004cfde0
mov eax, dword [esp + 0x70]
lea ecx, [esi + 0xbc]
push eax
push edi
push ebp
call fcn.004ef220
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x486d7a
xor eax, eax
jmp 0x486d7d
mov eax, dword [eax + 8]
shr ecx, 3
dec ecx
test ecx, ecx
jl 0x486dfc
lea esi, [ecx*8]
inc ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + eax + 4]
sub ecx, edi
cmp ecx, ebp
jge 0x486dc8
mov ecx, dword [esp + 0x84]
push 8
push esi
call fcn.00478730
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x486dbc
xor eax, eax
jmp 0x486de0
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 8]
jmp 0x486de0
mov ecx, dword [esi + eax]
sub ecx, edi
cmp ebp, ecx
jle 0x486dd3
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 0x486d91
jmp 0x486dfc
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4870a3
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 0x58]
mov ecx, dword [ecx + 0x68]
test ecx, ecx
jne 0x486e0e
xor eax, eax
jmp 0x486e11
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 0x486e62
call fcn.004ce6c0
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.004cfde0
mov eax, dword [esp + 0x70]
add edi, 0xbc
push eax
push ebp
push esi
push ebx
mov ecx, edi
call fcn.004ef0a0
jmp 0x486ea4
mov ecx, dword [esp + 0x28]
call fcn.004d18c0
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov ebp, eax
push ebp
push edi
mov dword [esp + 0x34], ebp
call fcn.004cfde0
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 + 0xbc]
mov ecx, edi
mov byte [esi], 0x21
call fcn.004ef0a0
mov byte [esi], bl
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x486eb6
xor ecx, ecx
jmp 0x486eb9
mov ecx, dword [ecx + 8]
push ebp
push ebx
shr eax, 2
push eax
push ecx
call fcn.004e66b0
mov eax, dword [edi + 0x10]
add esp, 0x10
test eax, eax
jne 0x486ed9
mov dword [esp + 0x1c], 0
jmp 0x486ee0
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 0x486f08
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x486f1b
add ecx, 0x80
add ebp, 0x80
jmp 0x486f49
cmp edx, 2
jne 0x486f2e
add ecx, 0x94
add ebp, 0x94
jmp 0x486f49
cmp edx, 3
jne 0x486f41
add ecx, 0xa8
add ebp, 0xa8
jmp 0x486f49
lea eax, [ebp + 0x58]
add ecx, 0x58
mov ebp, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x7c], ebp
test eax, eax
jne 0x486f58
xor ebx, ebx
jmp 0x486f5b
mov ebx, dword [ecx + 8]
shr eax, 2
cmp edx, 4
mov edi, eax
jne 0x487002
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x486f74
xor ecx, ecx
jmp 0x486f77
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x78]
shr eax, 2
push edx
push eax
push ecx
call fcn.00408e20
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x486ffe
xor ecx, ecx
xor esi, esi
test edi, edi
mov dword [esp + 0x5c], ecx
jle 0x487046
mov eax, dword [ebx]
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x486fd5
mov edx, dword [esp + 0x88]
cmp eax, edx
jl 0x486fcd
mov ecx, edx
mov edx, dword [esp + 0x78]
sub eax, ecx
lea ecx, [esp + 0x4c]
add eax, edx
push eax
call fcn.00478020
mov ecx, dword [esp + 0x5c]
inc esi
add ebx, 4
cmp esi, edi
jl 0x486fa0
test ecx, ecx
jle 0x487046
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.00478510
jmp 0x487046
mov ebp, dword [esp + 0x7c]
test edi, edi
jle 0x487046
mov esi, dword [esp + 0x88]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x78]
mov eax, dword [ebx]
cmp eax, esi
jl 0x487038
cmp eax, dword [esp + 0x30]
jge 0x487038
sub eax, esi
mov ecx, ebp
add eax, edi
push eax
call fcn.00478020
cmp dword [esp + 0x18], 4
jne 0x487038
inc dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
add ebx, 4
dec eax
mov dword [esp + 0x7c], eax
jne 0x487015
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x486f00
mov eax, dword [ecx + 0x68]
test eax, eax
jne 0x487067
xor eax, eax
jmp 0x48706a
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
mov edx, dword [esp + 0x30]
shr ecx, 2
push edx
push ecx
push eax
call fcn.00408e20
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 0x486c90
jmp 0x4870ab
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 0x486c2f
jmp 0x48804a
push 0xd4
call fcn.00528dfb
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
xor ebp, ebp
cmp esi, ebp
je 0x4871a3
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x184]
mov eax, dword [edx]
mov edi, dword [eax + 0xd0]
mov eax, dword [0x5ada84]
mov dword [esi], eax
mov ecx, dword [0x5ada84]
mov dword [esi + 4], ecx
mov edx, dword [0x5ada84]
mov dword [esi + 8], edx
lea ebx, [esi + 0x18]
push edi
mov ecx, ebx
mov byte [esp + 0x6c], 4
call fcn.0040d6b0
mov dword [ebx], 0x55fab8
push edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x6c], 5
call fcn.0040d680
lea ecx, [esi + 0x58]
mov byte [esp + 0x68], 6
call fcn.00477cf0
lea ecx, [esi + 0x6c]
mov byte [esp + 0x68], 7
call fcn.00477cf0
lea ecx, [esi + 0x80]
mov byte [esp + 0x68], 8
call fcn.00477cf0
lea ecx, [esi + 0x94]
mov byte [esp + 0x68], 9
call fcn.00477cf0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x68], 0xa
call fcn.00477cf0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x68], 0xb
call fcn.00477cf0
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0xd0], edi
mov dword [esp + 0x14], esi
jmp 0x4871a7
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x34]
mov byte [esp + 0x68], 0
cmp eax, ebp
mov dword [esp + 0x3c], ebp
jle 0x4873f5
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x184]
mov ebp, dword [ecx + edx*4]
test byte [ebp + 0x10], 1
je 0x48730c
mov eax, dword [ebp + 0xcc]
test eax, eax
jne 0x4871ee
mov dword [esp + 0x20], 0
jmp 0x4871f8
mov eax, dword [ebp + 0xc4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
inc ecx
call fcn.004cef10
mov esi, eax
mov bl, byte [esi]
mov dword [esp + 0x44], esi
cmp bl, 1
je 0x4873e0
push esi
call fcn.004ce6c0
add esp, 4
cmp bl, 0x21
mov dword [esp + 0x2c], eax
jne 0x487305
mov ebx, dword [esp + 0x14]
mov edi, esi
push eax
push esi
mov edx, dword [ebx + 0xcc]
lea ecx, [ebx + 0xbc]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
sub edi, edx
mov byte [esi], 0x6a
call fcn.004785b0
mov eax, 1
mov byte [esi], 0x21
mov dword [esp + 0x18], eax
jmp 0x487265
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp eax, 1
jne 0x487278
lea ecx, [ebp + 0x80]
add ebx, 0x80
jmp 0x4872a4
cmp eax, 2
jne 0x48728b
lea ecx, [ebp + 0x94]
add ebx, 0x94
jmp 0x4872a4
cmp eax, 3
jne 0x48729e
lea ecx, [ebp + 0xa8]
add ebx, 0xa8
jmp 0x4872a4
lea ecx, [ebp + 0x58]
add ebx, 0x58
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4872af
xor esi, esi
jmp 0x4872b2
mov esi, dword [ecx + 8]
shr eax, 2
test eax, eax
jle 0x4872eb
mov dword [esp + 0x48], eax
mov eax, dword [esi]
cmp eax, edi
jl 0x4872dd
mov ecx, dword [esp + 0x2c]
add ecx, edi
cmp eax, ecx
jge 0x4872dd
mov edx, dword [esp + 0x24]
mov ecx, ebx
sub edx, edi
add edx, eax
push edx
call fcn.00478020
mov eax, dword [esp + 0x48]
add esi, 4
dec eax
mov dword [esp + 0x48], eax
jne 0x4872bd
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jle 0x48725d
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
add esi, eax
jmp 0x487204
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [esi + 0xcc]
push eax
push 0
call fcn.004cfde0
mov ecx, dword [ebp + 0xcc]
mov eax, ecx
test eax, eax
jne 0x487330
xor eax, eax
jmp 0x487336
mov eax, dword [ebp + 0xc4]
push ecx
push eax
lea ecx, [esi + 0xbc]
call fcn.004785b0
mov ecx, dword [ebp + 0x68]
mov eax, ecx
test eax, eax
jne 0x487350
xor eax, eax
jmp 0x487353
mov eax, dword [ebp + 0x60]
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.004785b0
mov ecx, dword [ebp + 0x7c]
mov eax, ecx
test eax, eax
jne 0x48736a
xor eax, eax
jmp 0x48736d
mov eax, dword [ebp + 0x74]
push ecx
push eax
lea ecx, [esi + 0x6c]
call fcn.004785b0
mov ecx, dword [ebp + 0x90]
mov eax, ecx
test eax, eax
jne 0x487387
xor eax, eax
jmp 0x48738d
mov eax, dword [ebp + 0x88]
push ecx
push eax
lea ecx, [esi + 0x80]
call fcn.004785b0
mov ecx, dword [ebp + 0xa4]
mov eax, ecx
test eax, eax
jne 0x4873aa
xor eax, eax
jmp 0x4873b0
mov eax, dword [ebp + 0x9c]
push ecx
push eax
lea ecx, [esi + 0x94]
call fcn.004785b0
mov ecx, dword [ebp + 0xb8]
mov eax, ecx
test eax, eax
jne 0x4873cd
xor eax, eax
jmp 0x4873d3
mov eax, dword [ebp + 0xb0]
push ecx
push eax
lea ecx, [esi + 0xa8]
call fcn.004785b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x4871bc
mov ebp, dword [esp + 0x14]
xor edi, edi
cmp dword [ebp + 0xcc], edi
jne 0x487445
cmp ebp, edi
je 0x487417
mov ecx, ebp
call fcn.0040e220
push ebp
call fcn.00528e24
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ef0
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 0x487ac2
cmp dword [esp + 0x7c], 1
jne 0x487472
mov eax, dword [esp + 0x40]
push eax
call fcn.004af8b0
mov esi, dword [esp + 0x14]
add esp, 4
add esi, eax
mov dword [esp + 0x10], esi
jmp 0x487476
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp esi, edi
jle 0x48748f
mov al, byte [esi + ebx - 1]
cmp al, 0x6d
je 0x48748a
cmp al, 0x55
jne 0x48748f
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 + 0xcc]
cmp esi, eax
jge 0x4874b4
cmp dl, 0x6e
je 0x4874ad
cmp dl, 0x6d
jne 0x4874b4
mov edi, 1
jmp 0x4874b6
xor edi, edi
cmp ecx, ebx
jbe 0x4874cc
mov al, byte [ecx - 1]
mov dword [esp + 0x80], 1
cmp al, 0x6f
je 0x4874d7
mov dword [esp + 0x80], 0
mov eax, dword [ebp + 0xcc]
lea esi, [ebp + 0xbc]
test eax, eax
jne 0x4874eb
xor eax, eax
jmp 0x4874ee
mov eax, dword [esi + 8]
xor ebx, ebx
cmp byte [eax], 0x6d
sete bl
cmp edi, 1
mov eax, ebx
jne 0x48751d
test eax, eax
jne 0x48751d
cmp dl, 0x6e
jne 0x487663
push ecx
mov ecx, dword [esp + 0x78]
call fcn.004d18c0
add dword [esp + 0x10], eax
jmp 0x487663
mov ebx, 1
cmp eax, ebx
jne 0x487542
cmp edi, ebx
jne 0x487535
cmp dl, 0x6d
jne 0x487535
inc dword [esp + 0x10]
jmp 0x48755b
cmp dword [esp + 0x80], ebx
jne 0x487542
dec dword [esp + 0x10]
cmp edi, ebx
je 0x487553
cmp dword [esp + 0x80], ebx
jne 0x487663
cmp eax, ebx
jne 0x487663
mov eax, dword [ebp + 0x7c]
lea ecx, [ebp + 0x6c]
test eax, eax
jne 0x487569
xor esi, esi
jmp 0x48756c
mov esi, dword [ecx + 8]
mov edx, dword [ebp + 0x7c]
mov eax, 0x38e38e39
mul edx
shr edx, 1
xor eax, eax
test edx, edx
jle 0x48759f
cmp byte [esi], 4
jne 0x48758a
mov edi, dword [esi + 1]
test edi, edi
je 0x487594
add esi, 9
inc eax
cmp eax, edx
jl 0x48757e
jmp 0x48759f
lea edx, [eax + eax*8]
push 9
push edx
call fcn.00478730
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.004cfde0
lea esi, [ebp + 0xbc]
push ebx
push 0
mov ecx, esi
call fcn.00478730
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4875c5
xor edi, edi
jmp 0x4875c8
mov edi, dword [esi + 8]
cmp byte [edi], 0x6e
jne 0x4875e8
inc edi
mov ecx, edi
call fcn.004ced60
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004d18f0
add edi, eax
cmp byte [edi], 0x6e
je 0x4875cd
mov eax, dword [ebp + 0xcc]
lea esi, [ebp + 0xbc]
test eax, eax
jne 0x4875fc
xor eax, eax
jmp 0x4875ff
mov eax, dword [esi + 8]
sub edi, eax
push 0xfffffffffffffffe
dec edi
mov ecx, ebp
push edi
call fcn.004cfde0
push 2
push edi
mov ecx, esi
call fcn.00478730
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x487621
xor eax, eax
jmp 0x487624
mov eax, dword [esi + 8]
add edi, eax
push 0
push edi
mov ecx, ebp
call fcn.004d18f0
mov ecx, dword [esi + 0x10]
lea eax, [edi + eax - 1]
test ecx, ecx
jne 0x48763f
xor ecx, ecx
jmp 0x487642
mov ecx, dword [esi + 8]
sub eax, ecx
push 0xfffffffffffffffe
mov edi, eax
mov ecx, ebp
push edi
call fcn.004cfde0
push 2
push edi
mov ecx, esi
call fcn.00478730
push 0x53
mov ecx, esi
call fcn.00477ff0
mov edi, dword [ebp + 0xcc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
push edi
push ebx
mov dword [esp + 0x34], edi
call fcn.004cfde0
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x48768e
xor ecx, ecx
jmp 0x487691
mov ecx, dword [ecx + 8]
push edi
push ebx
shr eax, 2
push eax
push ecx
call fcn.004e66b0
mov eax, dword [esi + 0x10]
add esp, 0x10
test eax, eax
jne 0x4876ab
xor esi, esi
jmp 0x4876ae
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 + 0xbc]
call fcn.004ef0a0
mov eax, dword [edi + 0x68]
add edi, 0x58
test eax, eax
jne 0x4876d3
xor eax, eax
jmp 0x4876d6
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [edx + 0x68]
shr ecx, 2
push ecx
push eax
call fcn.00408e20
mov esi, dword [ebp + 0x68]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x48773f
mov ecx, dword [ebp + 0x68]
lea eax, [ebp + 0x58]
test ecx, ecx
jne 0x487707
xor eax, eax
jmp 0x48770a
mov eax, dword [eax + 8]
lea ebp, [ebx*4]
push esi
push eax
push ebp
mov ecx, edi
call fcn.00478510
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x487726
xor edi, edi
jmp 0x487729
mov edi, dword [edi + 8]
mov eax, dword [esp + 0x7c]
lea ecx, [edi + ebp]
cmp eax, 1
jne 0x48778c
sub ebx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
jmp 0x48778c
cmp dword [esp + 0x7c], 1
jne 0x48775a
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, dword [edx + 0x68]
shr eax, 2
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 0x68]
test ecx, ecx
mov ebx, dword [eax + 0x68]
lea eax, [ebp + 0x58]
jne 0x48776f
xor eax, eax
jmp 0x487772
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.004785b0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x487786
xor edi, edi
jmp 0x487789
mov edi, dword [edi + 8]
lea ecx, [edi + ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x68]
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.004e6a60
add esp, 0xc
mov ebp, 1
cmp ebp, 1
jne 0x4877dd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 0x80]
lea edi, [edx + 0x80]
jmp 0x487820
cmp ebp, 2
jne 0x4877f8
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
lea eax, [edx + 0x94]
lea edi, [ecx + 0x94]
jmp 0x487820
cmp ebp, 3
jne 0x487812
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
add eax, 0xa8
lea edi, [edx + 0xa8]
jmp 0x487820
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x6c]
mov ecx, dword [esp + 0x74]
lea edi, [ecx + 0x6c]
mov esi, dword [eax + 0x10]
mov ebx, dword [edi + 0x10]
test esi, esi
jne 0x48782e
xor eax, eax
jmp 0x487831
mov eax, dword [eax + 8]
push esi
push eax
mov ecx, edi
call fcn.004785b0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x487845
xor edi, edi
jmp 0x487848
mov edi, dword [edi + 8]
cmp ebp, 4
lea ecx, [edi + ebx]
jne 0x48786e
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.00408cf0
add esp, 0x14
jmp 0x487880
mov eax, dword [esp + 0x10]
shr esi, 2
push eax
push esi
push ecx
call fcn.004e6a60
add esp, 0xc
inc ebp
cmp ebp, 4
jle 0x4877c2
mov ecx, dword [esp + 0x74]
lea eax, [ecx + 0xbc]
mov ecx, dword [ecx + 0xcc]
test ecx, ecx
jne 0x4878a2
xor edi, edi
jmp 0x4878a5
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 0x487f2a
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.004d1850
add esp, 4
cmp eax, 1
jne 0x487aaf
mov ecx, edi
call fcn.004ced60
mov ebx, eax
mov ax, word [edi + 6]
test al, 2
je 0x487a85
and eax, 0xfffd
mov ecx, edi
mov word [edi + 6], ax
call fcn.004ced30
cmp eax, 0xffff
jne 0x487a85
test esi, esi
jne 0x487991
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0xbc]
mov eax, dword [eax + 0xcc]
test eax, eax
jne 0x487935
xor eax, eax
jmp 0x487938
mov eax, dword [ecx + 8]
lea edx, [edi - 1]
cmp edx, eax
jbe 0x487a85
mov al, byte [edi - 2]
cmp al, 0x73
je 0x487956
cmp al, 0x72
je 0x487956
cmp al, 0x74
jne 0x487a85
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x487961
xor edx, edx
jmp 0x487964
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xcc]
lea eax, [ebx + edi]
add ecx, edx
cmp eax, ecx
jae 0x487a85
mov cl, byte [eax]
push ecx
call fcn.004ce110
add esp, 4
cmp eax, 5
je 0x487a85
jmp 0x48799a
cmp esi, 1
jne 0x487a81
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0xcc]
test eax, eax
jne 0x4879ac
xor eax, eax
jmp 0x4879b2
mov eax, dword [ecx + 0xc4]
sub edi, eax
lea eax, [ecx + 0x58]
dec edi
inc ebx
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4879c4
xor eax, eax
jmp 0x4879c7
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
push edi
mov edx, dword [esi + 0x68]
shr edx, 2
push edx
push eax
call fcn.00478b20
add esp, 0xc
lea ecx, [esi + 0x58]
shl eax, 2
push 4
push eax
call fcn.00478730
mov ebp, ebx
mov ecx, esi
neg ebp
push ebp
push edi
call fcn.004cfde0
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x487a09
xor ecx, ecx
jmp 0x487a13
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + 8]
push ebp
push edi
shr eax, 2
push eax
push ecx
call fcn.004e66b0
mov eax, dword [esp + 0x80]
add esp, 0x10
add esi, 0xbc
push eax
push ebx
push edi
mov ecx, esi
call fcn.004ef220
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
sub ecx, ebx
test eax, eax
mov dword [esp + 0x2c], ecx
jne 0x487a4e
xor eax, eax
jmp 0x487a51
mov eax, dword [esi + 8]
add edi, eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x487a5e
xor esi, esi
jmp 0x487a61
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 0x487ab5
test esi, esi
jne 0x487aab
mov al, byte [esp + 0x80]
cmp al, 0x6c
je 0x487aa5
cmp al, 0x6b
je 0x487aa5
cmp al, 0x6e
je 0x487aa5
mov esi, 1
add edi, ebx
mov dword [esp + 0x78], esi
jmp 0x487ab5
xor esi, esi
mov dword [esp + 0x78], esi
add edi, ebx
jmp 0x487ab5
xor esi, esi
mov dword [esp + 0x78], esi
cmp edi, ebp
jb 0x4878c6
jmp 0x487f2a
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0x68]
shr eax, 2
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xcc]
cmp eax, edi
jne 0x487ae0
mov dword [esp + 0x1c], edi
jmp 0x487aea
mov edx, dword [ecx + 0xc4]
mov dword [esp + 0x1c], edx
lea eax, [ecx + 0x58]
mov ecx, dword [ecx + 0x68]
cmp ecx, edi
jne 0x487afd
mov dword [esp + 0x84], edi
jmp 0x487b07
mov eax, dword [eax + 8]
mov dword [esp + 0x84], eax
cmp dword [ebp + 0xcc], edi
jne 0x487b15
mov dword [esp + 0x20], edi
jmp 0x487b1f
mov ecx, dword [ebp + 0xc4]
mov dword [esp + 0x20], ecx
cmp dword [ebp + 0x68], edi
jne 0x487b2a
mov dword [esp + 0x10], edi
jmp 0x487b31
mov edx, dword [ebp + 0x60]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x80], edi
shr eax, 2
cmp eax, edi
mov dword [esp + 0x38], eax
jle 0x487f2a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jge 0x487f2a
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 0x487edc
mov ecx, dword [esp + 0x7c]
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x487f2a
cmp al, 0x70
je 0x487bb8
cmp al, 0x71
jne 0x487bcb
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004ced00
test eax, eax
je 0x487f2a
push edi
call fcn.004af8b0
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.004ced60
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.004cfec0
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x58]
test ecx, ecx
jne 0x487c01
xor eax, eax
jmp 0x487c04
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
mov edi, ebp
mov edx, dword [esi + 0x68]
sub edi, ebx
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004e66b0
mov edx, dword [esi + 0x7c]
add esp, 0x10
mov eax, edx
test eax, eax
jne 0x487c2f
xor ecx, ecx
jmp 0x487c32
mov ecx, dword [esi + 0x74]
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.00408cf0
mov eax, dword [esi + 0x90]
add esp, 0x14
test eax, eax
jne 0x487c5c
xor eax, eax
jmp 0x487c62
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x90]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004e66b0
mov eax, dword [esi + 0xa4]
add esp, 0x10
test eax, eax
jne 0x487c89
xor eax, eax
jmp 0x487c8f
mov eax, dword [esi + 0x9c]
mov edx, dword [esi + 0xa4]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004e66b0
mov eax, dword [esi + 0xb8]
add esp, 0x10
test eax, eax
jne 0x487cb6
xor eax, eax
jmp 0x487cbc
mov eax, dword [esi + 0xb0]
mov edx, dword [esi + 0xb8]
mov ecx, dword [esp + 0x24]
push edi
push ecx
shr edx, 2
push edx
push eax
call fcn.004e66b0
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 + 0xbc]
call fcn.004ef180
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 0x487d1a
mov ebx, dword [esp + 0x14]
cmp ecx, 1
jne 0x487d31
mov edx, dword [esp + 0x74]
add ebx, 0x80
lea eax, [edx + 0x80]
jmp 0x487d6a
cmp ecx, 2
jne 0x487d47
mov eax, dword [esp + 0x74]
add ebx, 0x94
add eax, 0x94
jmp 0x487d6a
cmp ecx, 3
jne 0x487d5e
mov edx, dword [esp + 0x74]
add ebx, 0xa8
lea eax, [edx + 0xa8]
jmp 0x487d6a
lea eax, [ebx + 0x58]
mov ebx, eax
mov eax, dword [esp + 0x74]
add eax, 0x58
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x487d79
xor esi, esi
jmp 0x487d7c
mov esi, dword [ebx + 8]
mov ebp, eax
shr ebp, 2
cmp ecx, 4
jne 0x487e23
test eax, eax
je 0x487d95
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x487d9a
or eax, 0xffffffff
jmp 0x487daf
mov edx, dword [esp + 0x88]
shr eax, 2
push edx
push eax
push ecx
call fcn.00478d00
add esp, 0xc
lea ecx, [eax*4]
mov edi, eax
add esi, ecx
cmp eax, ebp
jge 0x487dce
mov edx, dword [esp + 0x30]
cmp dword [esi], edx
jge 0x487dce
inc edi
add esi, 4
cmp edi, ebp
jl 0x487dc2
sub edi, eax
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x487ddb
xor eax, eax
jmp 0x487dde
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
lea edx, [edi*4]
add ecx, eax
push edx
push ecx
push esi
mov ecx, ebx
call fcn.00478510
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x487e04
xor eax, eax
jmp 0x487e07
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.004e6a60
add esp, 0xc
jmp 0x487e54
test ebp, ebp
jle 0x487e54
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x88]
mov eax, dword [esi]
cmp eax, edi
jl 0x487e4e
cmp eax, dword [esp + 0x30]
jge 0x487e4e
mov ecx, dword [esp + 0x7c]
mov edx, ebx
sub edx, edi
add edx, eax
push edx
call fcn.00478020
add esi, 4
dec ebp
jne 0x487e32
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, 4
mov dword [esp + 0x18], ecx
jle 0x487d16
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xcc]
test eax, eax
jne 0x487e7c
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x487e88
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x1c], eax
mov ebp, eax
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x487e93
xor esi, esi
jmp 0x487e96
mov esi, dword [edi + 0x60]
mov ebx, dword [edi + 0x68]
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 0x487edc
mov ecx, eax
lea esi, [esi + ecx*4]
mov ecx, dword [esi]
mov edx, ebp
add edx, ecx
mov ecx, edi
push edx
call fcn.004d1ff0
cmp eax, 1
je 0x487edc
mov eax, dword [esp + 0x78]
add esi, 4
inc eax
cmp eax, ebx
mov dword [esp + 0x78], eax
jl 0x487eb9
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
inc edi
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x487f2a
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.004d1ff0
cmp eax, 1
je 0x487f22
inc edi
add esi, 4
cmp edi, ebx
mov dword [esp + 0x80], edi
jge 0x487f2a
jmp 0x487efe
cmp edi, ebx
jl 0x487b4a
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x74], edi
je 0x48804a
lea ecx, [edi + 0xbc]
mov byte [esp + 0x68], 0x15
mov dword [ecx], 0x55f890
call fcn.00477ef0
lea ecx, [edi + 0xa8]
mov byte [esp + 0x68], 0x14
mov dword [ecx], 0x55f890
call fcn.00477ef0
lea ecx, [edi + 0x94]
mov byte [esp + 0x68], 0x13
mov dword [ecx], 0x55f890
call fcn.00477ef0
lea ecx, [edi + 0x80]
mov byte [esp + 0x68], 0x12
mov dword [ecx], 0x55f890
call fcn.00477ef0
lea ecx, [edi + 0x6c]
mov byte [esp + 0x68], 0x11
mov dword [ecx], 0x55f890
call fcn.00477ef0
lea ecx, [edi + 0x58]
mov byte [esp + 0x68], 0x10
mov dword [ecx], 0x55f890
call fcn.00477ef0
lea eax, [edi + 0x38]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004d7a60
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x16
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00477ef0
mov ecx, esi
mov byte [esp + 0x68], 0xf
mov dword [esi], 0x55f890
call fcn.00477ef0
lea eax, [edi + 0x18]
mov dword [esp + 0x78], eax
mov dword [eax], fcn.004d7a60
lea esi, [eax + 8]
mov byte [esp + 0x68], 0x17
mov ecx, esi
mov dword [eax + 4], ebx
call fcn.00477ef0
mov ecx, esi
mov byte [esp + 0x68], 0xe
mov dword [esi], 0x55f890
call fcn.00477ef0
lea ecx, [edi + 8]
mov byte [esp + 0x68], 0xd
call fcn.00527eff
lea ecx, [edi + 4]
mov byte [esp + 0x68], 0xc
call fcn.00527eff
mov ecx, edi
mov byte [esp + 0x68], bl
call fcn.00527eff
push edi
call fcn.00528e24
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x4c], 0x55f890
call fcn.00477ef0
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