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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push edi
mov edi, dword [esp + 0x9c]
mov ebp, dword [edi + 0xc]
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
cmp ebp, edx
jne 0x4ac72e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret
push esi
mov esi, dword [esp + 0xa4]
mov eax, 0x62
cmp esi, edx
je 0x4ac742
movzx eax, byte [esi]
mov dword [esp + 0x10], eax
add eax, 0xffffffed
cmp eax, 0x87
ja case.0x4ac75b.21
movzx eax, byte [eax + 0x4ad820]
jmp dword [eax*4 + 0x4ad7c0]
movsx ecx, word [esi + 0x1e]
mov eax, dword [esi + 0x24]
cmp byte [eax], 0
mov edx, dword [eax + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*8]
jne 0x4ac789
mov eax, dword [ecx + 0x10]
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
cmp byte [eax + 1], 0
je 0x4ac7b3
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 4]
push ebx
push ecx
push edx
push 3
mov eax, ebp
call fcn.00485ea0
mov eax, dword [esp + 0x38]
add esp, 0x10
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
xor edx, edx
mov ecx, dword [esi + 0x18]
cmp ecx, edx
jge 0x4ac7d2
movsx eax, word [esi + 0x1c]
add eax, dword [edi + 0x50]
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
movzx eax, word [esi + 2]
mov edx, dword [esi + 0x28]
push ebx
push ecx
movsx ecx, word [esi + 0x1c]
push ecx
push edx
and eax, 0x200
push edi
call fcn.004a8d50
add esp, 0x14
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
push ebx
push ebp
xor ecx, ecx
mov eax, esi
call fcn.0048d190
mov eax, dword [esp + 0x30]
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov eax, dword [esi + 4]
push ebx
push 0
push ebp
call fcn.0048d050
mov eax, dword [esp + 0x34]
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov eax, dword [esi + 4]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x14], eax
jg 0x4ac85c
mov edi, ebp
call fcn.00485e20
test eax, eax
je 0x4ac85c
mov eax, 1
xor ecx, ecx
jmp 0x4ac885
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0x5e
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov eax, esi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp]
cmp esi, ecx
je 0x4ac8f9
cmp byte [edi + 0x1e], 0
jne 0x4ac8f9
cmp eax, ecx
jge 0x4ac89d
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.004862e0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x10], eax
cmp ecx, eax
jne 0x4ac8d2
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
call fcn.00478fe0
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.00483950
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 1], 0xff
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
call fcn.004862e0
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
push ebx
push 0
push 0x77
mov eax, ebp
call fcn.00485fa0
mov eax, dword [esp + 0x34]
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esi + 4]
add ecx, 2
call fcn.00478fe0
mov esi, eax
mov eax, dword [ebp]
dec esi
push esi
push eax
mov edi, ecx
call fcn.00483c30
push 0xffffffffffffffff
push eax
mov eax, esi
cdq
sub eax, edx
mov edx, eax
sar edx, 1
push 0x79
xor eax, eax
mov ecx, ebx
mov edi, ebp
call fcn.0048c280
mov eax, dword [esp + 0x3c]
add esp, 0x14
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esi + 4]
cmp byte [ecx + 1], dl
jne 0x4ac9cd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp]
dec eax
cmp byte [ecx + 0x1e], dl
je 0x4ac991
mov eax, 0x5a0d98
jmp 0x4ac99a
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp byte [eax], 0x1b
jne 0x4ac9cd
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 4]
add edi, ecx
cmp edi, dword [esi + 0x18]
jne 0x4ac9cd
mov edi, dword [eax + 8]
add edi, ecx
cmp edi, ebx
jne 0x4ac9cd
cmp dword [eax + 0x10], edx
jne 0x4ac9cd
pop esi
pop edi
inc ecx
pop ebp
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x1c]
pop ebx
add esp, 0x8c
ret
mov edx, dword [esi + 0x18]
push 1
push ebx
push edx
push 0x1b
mov eax, ebp
call fcn.00485ea0
mov ebx, dword [esi + 4]
add esp, 0x10
cmp byte [ebx + 1], 0
je 0x4ad798
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
test ecx, ecx
je 0x4aca58
cmp byte [edi + 0x1e], 0
jne 0x4aca58
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004862e0
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x4aca31
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, ebx
call fcn.00478fe0
mov edx, dword [ebp]
mov edi, eax
call fcn.00483950
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov byte [esi + 1], 0xff
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, ebx
xor eax, eax
call fcn.004862e0
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov ecx, dword [esi + 0x18]
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], ecx
mov eax, ecx
pop ebx
add esp, 0x8c
ret
mov esi, dword [esi + 8]
push ebx
push esi
push edi
call fcn.004ac6f0
add esp, 0xc
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
mov edx, dword [esi + 8]
push ebx
push edx
push edi
call fcn.004ac6f0
mov edi, eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x28], edi
call fcn.0047f910
movsx esi, al
add esi, 0x2c
cmp edi, ebx
je 0x4acad9
push ebx
push edi
push 9
mov eax, ebp
call fcn.00485fa0
add esp, 0xc
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x28]
push edi
push esi
mov eax, ebp
call fcn.00485f50
mov eax, dword [esp + 0xa8]
push eax
mov eax, 1
mov esi, edi
call fcn.0047f350
add esp, 0xc
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 8]
mov edx, edi
call fcn.0048c690
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push 0x10
push ebx
push edx
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edi
call fcn.0049dd80
add esp, 0x28
jmp 0x4ad73c
lea edx, [esp + 0x18]
mov edi, esi
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0xa0]
push edx
call fcn.004873e0
mov ecx, dword [edi + 0xc]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
call fcn.004873e0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push eax
push edx
mov eax, ebp
call fcn.00485ea0
add esp, 0x18
mov edi, esi
jmp 0x4ad73c
mov esi, dword [esi + 8]
mov al, byte [esi]
cmp al, 0x82
jne 0x4acbb7
mov eax, dword [esi + 4]
push ebx
push 1
push ebp
call fcn.0048d050
add esp, 0xc
mov dword [esp + 0x28], ebx
jmp 0x4ad73c
cmp al, 0x81
jne 0x4acbd5
push ebx
push ebp
mov ecx, 1
mov eax, esi
call fcn.0048d190
add esp, 8
mov dword [esp + 0x28], ebx
jmp 0x4ad73c
mov esi, edi
mov eax, esi
call fcn.0047f4e0
mov edi, eax
push edi
push 0
push 0x30
mov eax, ebp
mov dword [esp + 0x24], edi
call fcn.00485fa0
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x28]
push eax
call fcn.004873e0
mov edx, ebx
push edx
push edi
push eax
push 0x55
mov eax, ebp
call fcn.00485ea0
add esp, 0x20
mov edi, esi
mov dword [esp + 0x28], ebx
jmp 0x4ad73c
lea eax, [esp + 0x18]
mov ecx, esi
mov ecx, dword [ecx + 8]
push eax
mov esi, edi
call fcn.004873e0
mov edx, dword [esp + 0x14]
mov ecx, ebx
push ecx
push eax
push edx
mov eax, ebp
mov dword [esp + 0x38], ecx
call fcn.00485fa0
add esp, 0x10
jmp 0x4ad73c
mov edi, ebx
push edi
push 1
push 0x30
mov eax, ebp
call fcn.00485fa0
lea eax, [esp + 0x24]
mov ecx, esi
mov ecx, dword [ecx + 8]
mov esi, dword [esp + 0xac]
push eax
call fcn.004873e0
mov edx, dword [esp + 0x20]
push eax
push edx
mov eax, ebp
call fcn.00485f50
push 0xffffffffffffffff
mov esi, eax
push edi
push 0x2a
mov eax, ebp
call fcn.00485fa0
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0xc4]
add esp, 0x24
cmp eax, esi
jle 0x4ad73c
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x4ad73c
mov eax, dword [esi + 0x24]
cmp eax, edx
jne 0x4accdb
mov eax, esi
mov ecx, dword [eax + 4]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, edi
call fcn.0048ae10
mov eax, dword [esp + 0x30]
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
movsx edx, word [esi + 0x1e]
mov eax, dword [eax + 0x20]
pop esi
pop edi
shl edx, 4
mov ecx, dword [edx + eax + 8]
pop ebp
mov dword [esp + 0x1c], ecx
mov eax, ecx
pop ebx
add esp, 0x8c
ret
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx + 0x39]
mov ecx, 0x4000
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], al
mov dword [esp + 0x10], edx
test word [esi + 2], cx
je 0x4acd75
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edx
mov ebx, edx
mov ecx, dword [esi + 4]
call fcn.00478fe0
mov edx, dword [esp + 0x18]
push 0
push edx
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call fcn.0048e380
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
test eax, eax
je 0x4acd88
push ebx
mov ebx, edi
call fcn.0047f530
push 1
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
push edi
call fcn.00493cc0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
add esp, 0x10
jmp 0x4acd90
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
cmp eax, edx
je 0x4acd1e
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
jmp 0x4acd24
mov dword [esp + 0x2c], 0
cmp ebx, 2
jl 0x4acdae
test byte [esi + 2], 0x80
je 0x4acdae
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x14]
jmp 0x4acdc2
test ebx, ebx
jle 0x4acdce
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ebx
push edx
push eax
mov eax, dword [ecx]
call fcn.00490eb0
mov dword [esp + 0x24], eax
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x4ace2f
xor ebx, ebx
cmp esi, 0x20
jge 0x4acdfb
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + ebx]
call fcn.004871e0
test eax, eax
je 0x4acdfb
mov eax, 1
mov ecx, esi
shl eax, cl
or dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
test byte [ecx + 3], 8
je 0x4ace21
cmp dword [esp + 0x10], 0
jne 0x4ace21
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ebx]
mov ecx, edi
call fcn.0049dc70
mov dword [esp + 0x10], eax
inc esi
add ebx, 0x14
cmp esi, dword [esp + 0x1c]
jl 0x4acdd6
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test byte [ecx + 3], 8
je 0x4aceed
cmp dword [esp + 0x10], 0
jne 0x4ace4f
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4ace6b
mov edi, ebp
call fcn.00485e20
test eax, eax
je 0x4ace6b
mov eax, 1
xor ebx, ebx
jmp 0x4ace94
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov byte [eax], 0xc
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, esi
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
cmp ecx, ebx
je 0x4acedb
cmp byte [edi + 0x1e], 0
jne 0x4acedb
cmp eax, ebx
jge 0x4aceac
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004862e0
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x4aced2
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x4acee9
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfc
jmp 0x4acee9
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffffc
call fcn.004862e0
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4acf07
mov edi, ebp
call fcn.00485e20
test eax, eax
je 0x4acf07
mov eax, 1
jmp 0x4acf43
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov byte [eax], 0x16
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov eax, esi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp]
test esi, esi
je 0x4acf7c
cmp byte [edi + 0x1e], 0
jne 0x4acf7c
test eax, eax
jge 0x4acf5b
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [esi + edx*4 + 1]
mov ecx, dword [esi + edx*4 + 0x10]
lea esi, [esi + edx*4]
call fcn.004862e0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfb
jmp 0x4acf8a
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffb
call fcn.004862e0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4acf9c
mov ebp, dword [ebp + 0xc]
lea ecx, [ebp + ebp*4]
mov byte [eax + ecx*4 - 0x11], bl
test ebx, ebx
je 0x4acfb6
mov eax, dword [esp + 0xa0]
cmp ebx, dword [eax + 0x38]
jle 0x4acfb6
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x2c]
push eax
mov eax, ebx
call fcn.0047f350
mov eax, dword [esp + 0x2c]
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
push 0
push 0
push esi
push edi
call fcn.0049def0
movsx ecx, word [esi + 0x1c]
add esp, 0x10
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], ecx
mov eax, ecx
pop ebx
add esp, 0x8c
ret
lea edx, [esp + 0x14]
push edx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call fcn.004ac360
add esp, 0xc
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x4ad02b
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x20], eax
mov ebx, esi
call fcn.00486de0
inc dword [edi + 0x54]
mov esi, dword [esp + 0xa8]
mov byte [esp + 0x33], al
mov eax, dword [ebx + 8]
call fcn.00487460
push esi
push 0x47
mov eax, ebp
call fcn.00485f50
add esp, 8
cmp dword [esp + 0x10], 1
mov dword [esp + 0x24], eax
jne 0x4ad0c6
push esi
push 0x26
mov eax, ebp
call fcn.00485f50
mov ecx, dword [ebx + 0x18]
push esi
push 0
push ecx
mov edi, eax
push 0x2e
mov eax, ebp
call fcn.00485ea0
push esi
mov ebx, eax
push 1
push 0x30
mov eax, ebp
call fcn.00485fa0
push 0x60
mov eax, ebp
call fcn.00485f00
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
add esp, 0x28
cmp eax, edi
jle 0x4ad0ab
mov ecx, dword [ebp + 0x14]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jle 0x4ad0bc
mov ecx, dword [ebp + 0x14]
lea edx, [ebx + ebx*4]
mov dword [ecx + edx*4 + 8], eax
push esi
push 0
push 0x30
jmp 0x4ad2de
mov eax, edi
call fcn.0047f4e0
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x1c], eax
jg 0x4ad0eb
mov edi, ebp
call fcn.00485e20
test eax, eax
je 0x4ad0eb
mov ebx, 1
jmp 0x4ad11f
mov eax, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x4f
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebp + 0x6e], 0
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp]
mov eax, ebx
test esi, esi
je 0x4ad16e
cmp byte [edi + 0x1e], 0
jne 0x4ad16e
test ebx, ebx
jge 0x4ad139
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [esi + edx*4 + 1]
mov ecx, dword [esi + edx*4 + 0x10]
lea esi, [esi + edx*4]
call fcn.004862e0
mov dword [esi + 0x10], 0
mov edx, dword [ebp]
mov edi, 1
lea ebx, [esp + 0x33]
call fcn.00483950
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x4ad17c
lea ecx, [esp + 0x33]
mov eax, 1
call fcn.004862e0
mov edi, dword [esp + 0xa8]
push edi
push 1
push 0x30
mov eax, ebp
call fcn.00485fa0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 0x18]
push eax
push 0
push edx
push 0x80
mov eax, ebp
call fcn.00485ea0
mov esi, eax
add esp, 0x1c
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], esi
mov eax, ebp
jne 0x4ad1ce
push edi
push 0
push 0x30
call fcn.00485fa0
jmp 0x4ad2e9
mov ebx, dword [esp + 0x14]
push ebx
push 0x48
call fcn.00485f50
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0x77
mov eax, ebp
call fcn.00485fa0
mov esi, dword [ebp + 0xc]
add esp, 0x14
cmp dword [ebp + 0x10], esi
jg 0x4ad20b
mov edi, ebp
call fcn.00485e20
test eax, eax
je 0x4ad20b
mov esi, 1
jmp 0x4ad236
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0x79
mov byte [eax + 3], 0
mov dword [eax + 4], 2
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
mov eax, esi
test ecx, ecx
je 0x4ad26f
cmp byte [edi + 0x1e], 0
jne 0x4ad26f
test esi, esi
jge 0x4ad250
mov eax, dword [ebp + 0xc]
dec eax
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.004862e0
mov dword [esi + 0x10], 0x55f1b4
mov byte [esi + 1], 0xfe
jmp 0x4ad27e
mov ecx, 0x55f1b4
mov eax, 0xfffffffe
call fcn.004862e0
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x18]
push ebx
push 0
push edx
push 0x80
mov eax, ebp
call fcn.00485ea0
mov edi, dword [esp + 0x30]
push edi
mov esi, eax
push 0
push 0x30
mov eax, ebp
call fcn.00485fa0
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, esi
jle 0x4ad2be
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jle 0x4ad2d3
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0xa8]
push eax
push edi
push 0x14
mov eax, ebp
call fcn.00485fa0
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ecx
jle 0x4ad301
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, esi
jle 0x4ad312
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esp + 0xa0]
mov ecx, 1
call fcn.0047f2b0
mov edi, eax
jmp 0x4ad769
mov eax, esi
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x30], eax
call fcn.0048c690
mov eax, edi
call fcn.0047f4e0
mov edx, eax
mov eax, edi
mov dword [esp + 0x34], edx
call fcn.0047f4e0
mov ecx, dword [esp + 0x3c]
push 0x10
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push 0x4e
push edi
mov ecx, ebx
call fcn.0049dd80
mov edx, dword [esi + 0x14]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, edi
call fcn.0047f500
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x44]
push eax
mov esi, edi
call fcn.004873e0
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
push 0x10
push esi
push eax
mov eax, dword [esp + 0x58]
push ecx
push 0x4c
push edi
mov ecx, ebx
call fcn.0049dd80
mov edx, dword [esp + 0xec]
add esp, 0x44
push edx
push esi
mov esi, dword [esp + 0x2c]
push esi
push 0x43
mov eax, ebp
call fcn.00485ea0
add esp, 0x10
mov edx, edi
call fcn.0047f500
mov esi, dword [esp + 0x10]
call fcn.0047f500
jmp 0x4ad73c
mov eax, dword [esi + 8]
push ebx
push eax
push edi
call fcn.004ac6f0
add esp, 0xc
pop esi
pop edi
pop ebp
mov dword [esp + 0x1c], eax
pop ebx
add esp, 0x8c
ret
cmp dword [edi + 0x1e8], edx
jne 0x4ad43b
push 0x5632f0
mov esi, edi
call fcn.0048ae10
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8c
ret
mov al, byte [esi + 1]
cmp al, 4
je 0x4ad4f1
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x14], ecx
movsx ebx, al
jg 0x4ad46c
mov edi, ebp
call fcn.00485e20
test eax, eax
je 0x4ad46c
mov eax, 1
xor ebx, ebx
jmp 0x4ad499
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ebx
xor ebx, ebx
mov byte [eax], 0x27
mov byte [eax + 3], 0
mov dword [eax + 4], 0x13
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x6e], bl
mov eax, esi
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
cmp ecx, ebx
je 0x4ac8f9
cmp byte [edi + 0x1e], 0
jne 0x4ac8f9
cmp eax, ebx
jge 0x4ad4b9
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.004862e0
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], ebx
cmp ecx, ebx
jne 0x4ac8d2
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
push 0
push 0
push 0x69
mov eax, ebp
call fcn.00485fa0
mov eax, dword [edi + 0x1e8]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0x60
mov eax, ebp
call fcn.00485fa0
mov eax, dword [esp + 0x40]
add esp, 0x18
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, ebp
mov dword [esp + 0x24], edx
call fcn.00486000
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4ad59e
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xa0]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.004873e0
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x58], eax
lea edx, [esp + 0x40]
lea eax, [esp + 0x70]
add esp, 4
mov byte [esp + 0x3c], 0x84
mov byte [esp + 0x6c], 0x4a
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4ad6a5
mov ecx, dword [esp + 0x24]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
lea ebx, [ebx]
inc dword [edi + 0x54]
cmp dword [esp + 0x20], 0
je 0x4ad5d6
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x78], eax
jmp 0x4ad5e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, ebp
call fcn.00486000
push 8
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.0049e670
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
push ebx
push eax
push edi
call fcn.004ac6f0
add esp, 0x1c
cmp eax, ebx
je 0x4ad624
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4ad624
push ebx
push eax
push 9
mov eax, ecx
call fcn.00485fa0
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x38], eax
jg 0x4ad646
mov edi, ebp
call fcn.00485e20
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4ad670
mov eax, dword [esp + 0x38]
xor ecx, ecx
inc dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov byte [eax], 0x60
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov ecx, 1
mov eax, edi
call fcn.0047f2b0
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4ad695
mov ecx, dword [esp + 0x34]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
add dword [esp + 0x10], 0x28
sub dword [esp + 0x24], 1
jne 0x4ad5c0
cmp dword [esi + 0xc], 0
je 0x4ad6e3
inc dword [edi + 0x54]
mov esi, dword [esi + 0xc]
push ebx
push esi
push edi
call fcn.004ac6f0
add esp, 0xc
cmp eax, ebx
je 0x4ad6d5
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4ad6d5
push ebx
push eax
push 9
mov eax, ecx
call fcn.00485fa0
add esp, 0xc
mov ecx, 1
mov eax, edi
call fcn.0047f2b0
jmp 0x4ad723
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4ad6fd
mov edi, ebp
call fcn.00485e20
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4ad723
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc dword [ebp + 0xc]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x77
mov byte [eax + 3], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x6e], cl
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4ad73c
mov ecx, dword [esp + 0x2c]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4ad769
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4ad769
xor eax, eax
lea ecx, [edi + 0x60]
cmp dword [ecx + 0x10], esi
je 0x4ad7a7
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4ad751
movzx edx, dl
mov dword [edi + edx*4 + 0x18], esi
inc byte [edi + 0x15]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4ad798
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4ad798
xor eax, eax
lea ecx, [edi + 0x60]
mov edi, edi
cmp dword [ecx + 0x10], esi
je 0x4ad7ad
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4ad780
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x15]
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x8c
ret
mov byte [ecx + 9], 1
jmp 0x4ad769
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x8c
ret