Function at 0x4aac80
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 0x4aacbe
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 0x4aacd2
movzx eax, byte [esi]
mov dword [esp + 0x10], eax
add eax, 0xffffffed
cmp eax, 0x87
ja case.0x4aaceb.21
movzx eax, byte [eax + 0x4abdb0]
jmp dword [eax*4 + 0x4abd50]
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 0x4aad19
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 0x4aad43
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 4]
push ebx
push ecx
push edx
push 3
mov eax, ebp
call fcn.00484430
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 0x4aad62
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.004a72e0
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.0048b720
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.0048b5e0
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 0x4aadec
mov edi, ebp
call fcn.004843b0
test eax, eax
je 0x4aadec
mov eax, 1
xor ecx, ecx
jmp 0x4aae15
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 0x4aae89
cmp byte [edi + 0x1e], 0
jne 0x4aae89
cmp eax, ecx
jge 0x4aae2d
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.00484870
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esi + 0x10], eax
cmp ecx, eax
jne 0x4aae62
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.00477560
mov edx, dword [ebp]
mov edi, eax
mov ebx, ecx
call fcn.00481ee0
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.00484870
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.00484530
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.00477560
mov esi, eax
mov eax, dword [ebp]
dec esi
push esi
push eax
mov edi, ecx
call fcn.004821c0
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.0048a810
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 0x4aaf5d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp]
dec eax
cmp byte [ecx + 0x1e], dl
je 0x4aaf21
mov eax, 0x586868
jmp 0x4aaf2a
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp byte [eax], 0x1b
jne 0x4aaf5d
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 4]
add edi, ecx
cmp edi, dword [esi + 0x18]
jne 0x4aaf5d
mov edi, dword [eax + 8]
add edi, ecx
cmp edi, ebx
jne 0x4aaf5d
cmp dword [eax + 0x10], edx
jne 0x4aaf5d
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.00484430
mov ebx, dword [esi + 4]
add esp, 0x10
cmp byte [ebx + 1], 0
je 0x4abd28
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
test ecx, ecx
je 0x4aafe8
cmp byte [edi + 0x1e], 0
jne 0x4aafe8
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.00484870
xor eax, eax
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x4aafc1
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.00477560
mov edx, dword [ebp]
mov edi, eax
call fcn.00481ee0
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.00484870
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.004aac80
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.004aac80
mov edi, eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x28], edi
call fcn.0047dea0
movsx esi, al
add esi, 0x2c
cmp edi, ebx
je 0x4ab069
push ebx
push edi
push 9
mov eax, ebp
call fcn.00484530
add esp, 0xc
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x28]
push edi
push esi
mov eax, ebp
call fcn.004844e0
mov eax, dword [esp + 0xa8]
push eax
mov eax, 1
mov esi, edi
call fcn.0047d8e0
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.0048ac20
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.0049c310
add esp, 0x28
jmp 0x4abccc
lea edx, [esp + 0x18]
mov edi, esi
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0xa0]
push edx
call fcn.00485970
mov ecx, dword [edi + 0xc]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
call fcn.00485970
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x18]
push ecx
push ebx
push eax
push edx
mov eax, ebp
call fcn.00484430
add esp, 0x18
mov edi, esi
jmp 0x4abccc
mov esi, dword [esi + 8]
mov al, byte [esi]
cmp al, 0x82
jne 0x4ab147
mov eax, dword [esi + 4]
push ebx
push 1
push ebp
call fcn.0048b5e0
add esp, 0xc
mov dword [esp + 0x28], ebx
jmp 0x4abccc
cmp al, 0x81
jne 0x4ab165
push ebx
push ebp
mov ecx, 1
mov eax, esi
call fcn.0048b720
add esp, 8
mov dword [esp + 0x28], ebx
jmp 0x4abccc
mov esi, edi
mov eax, esi
call fcn.0047da70
mov edi, eax
push edi
push 0
push 0x30
mov eax, ebp
mov dword [esp + 0x24], edi
call fcn.00484530
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x28]
push eax
call fcn.00485970
mov edx, ebx
push edx
push edi
push eax
push 0x55
mov eax, ebp
call fcn.00484430
add esp, 0x20
mov edi, esi
mov dword [esp + 0x28], ebx
jmp 0x4abccc
lea eax, [esp + 0x18]
mov ecx, esi
mov ecx, dword [ecx + 8]
push eax
mov esi, edi
call fcn.00485970
mov edx, dword [esp + 0x14]
mov ecx, ebx
push ecx
push eax
push edx
mov eax, ebp
mov dword [esp + 0x38], ecx
call fcn.00484530
add esp, 0x10
jmp 0x4abccc
mov edi, ebx
push edi
push 1
push 0x30
mov eax, ebp
call fcn.00484530
lea eax, [esp + 0x24]
mov ecx, esi
mov ecx, dword [ecx + 8]
mov esi, dword [esp + 0xac]
push eax
call fcn.00485970
mov edx, dword [esp + 0x20]
push eax
push edx
mov eax, ebp
call fcn.004844e0
push 0xffffffffffffffff
mov esi, eax
push edi
push 0x2a
mov eax, ebp
call fcn.00484530
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0xc4]
add esp, 0x24
cmp eax, esi
jle 0x4abccc
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x4abccc
mov eax, dword [esi + 0x24]
cmp eax, edx
jne 0x4ab26b
mov eax, esi
mov ecx, dword [eax + 4]
push ecx
push str.misuse_of_aggregate:__s__
mov esi, edi
call fcn.004893a0
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 0x4ab305
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edx
mov ebx, edx
mov ecx, dword [esi + 4]
call fcn.00477560
mov edx, dword [esp + 0x18]
push 0
push edx
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call fcn.0048c910
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
test eax, eax
je 0x4ab318
push ebx
mov ebx, edi
call fcn.0047dac0
push 1
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
push edi
call fcn.00492250
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
add esp, 0x10
jmp 0x4ab320
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
cmp eax, edx
je 0x4ab2ae
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
jmp 0x4ab2b4
mov dword [esp + 0x2c], 0
cmp ebx, 2
jl 0x4ab33e
test byte [esi + 2], 0x80
je 0x4ab33e
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 0x4ab352
test ebx, ebx
jle 0x4ab35e
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.0048f440
mov dword [esp + 0x24], eax
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x4ab3bf
xor ebx, ebx
cmp esi, 0x20
jge 0x4ab38b
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + ebx]
call fcn.00485770
test eax, eax
je 0x4ab38b
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 0x4ab3b1
cmp dword [esp + 0x10], 0
jne 0x4ab3b1
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ebx]
mov ecx, edi
call fcn.0049c200
mov dword [esp + 0x10], eax
inc esi
add ebx, 0x14
cmp esi, dword [esp + 0x1c]
jl 0x4ab366
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test byte [ecx + 3], 8
je 0x4ab47d
cmp dword [esp + 0x10], 0
jne 0x4ab3df
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 0x4ab3fb
mov edi, ebp
call fcn.004843b0
test eax, eax
je 0x4ab3fb
mov eax, 1
xor ebx, ebx
jmp 0x4ab424
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 0x4ab46b
cmp byte [edi + 0x1e], 0
jne 0x4ab46b
cmp eax, ebx
jge 0x4ab43c
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.00484870
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x4ab462
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0
jmp 0x4ab479
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfc
jmp 0x4ab479
mov ecx, dword [esp + 0x10]
mov eax, 0xfffffffc
call fcn.00484870
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4ab497
mov edi, ebp
call fcn.004843b0
test eax, eax
je 0x4ab497
mov eax, 1
jmp 0x4ab4d3
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 0x4ab50c
cmp byte [edi + 0x1e], 0
jne 0x4ab50c
test eax, eax
jge 0x4ab4eb
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.00484870
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfb
jmp 0x4ab51a
mov ecx, dword [esp + 0x18]
mov eax, 0xfffffffb
call fcn.00484870
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ab52c
mov ebp, dword [ebp + 0xc]
lea ecx, [ebp + ebp*4]
mov byte [eax + ecx*4 - 0x11], bl
test ebx, ebx
je 0x4ab546
mov eax, dword [esp + 0xa0]
cmp ebx, dword [eax + 0x38]
jle 0x4ab546
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.0047d8e0
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.0049c480
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.004aa8f0
add esp, 0xc
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x4ab5bb
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x20], eax
mov ebx, esi
call fcn.00485370
inc dword [edi + 0x54]
mov esi, dword [esp + 0xa8]
mov byte [esp + 0x33], al
mov eax, dword [ebx + 8]
call fcn.004859f0
push esi
push 0x47
mov eax, ebp
call fcn.004844e0
add esp, 8
cmp dword [esp + 0x10], 1
mov dword [esp + 0x24], eax
jne 0x4ab656
push esi
push 0x26
mov eax, ebp
call fcn.004844e0
mov ecx, dword [ebx + 0x18]
push esi
push 0
push ecx
mov edi, eax
push 0x2e
mov eax, ebp
call fcn.00484430
push esi
mov ebx, eax
push 1
push 0x30
mov eax, ebp
call fcn.00484530
push 0x60
mov eax, ebp
call fcn.00484490
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
add esp, 0x28
cmp eax, edi
jle 0x4ab63b
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 0x4ab64c
mov ecx, dword [ebp + 0x14]
lea edx, [ebx + ebx*4]
mov dword [ecx + edx*4 + 8], eax
push esi
push 0
push 0x30
jmp 0x4ab86e
mov eax, edi
call fcn.0047da70
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x1c], eax
jg 0x4ab67b
mov edi, ebp
call fcn.004843b0
test eax, eax
je 0x4ab67b
mov ebx, 1
jmp 0x4ab6af
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 0x4ab6fe
cmp byte [edi + 0x1e], 0
jne 0x4ab6fe
test ebx, ebx
jge 0x4ab6c9
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.00484870
mov dword [esi + 0x10], 0
mov edx, dword [ebp]
mov edi, 1
lea ebx, [esp + 0x33]
call fcn.00481ee0
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x4ab70c
lea ecx, [esp + 0x33]
mov eax, 1
call fcn.00484870
mov edi, dword [esp + 0xa8]
push edi
push 1
push 0x30
mov eax, ebp
call fcn.00484530
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.00484430
mov esi, eax
add esp, 0x1c
cmp dword [esp + 0x20], 0
mov dword [esp + 0x10], esi
mov eax, ebp
jne 0x4ab75e
push edi
push 0
push 0x30
call fcn.00484530
jmp 0x4ab879
mov ebx, dword [esp + 0x14]
push ebx
push 0x48
call fcn.004844e0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
push 0
push 0x77
mov eax, ebp
call fcn.00484530
mov esi, dword [ebp + 0xc]
add esp, 0x14
cmp dword [ebp + 0x10], esi
jg 0x4ab79b
mov edi, ebp
call fcn.004843b0
test eax, eax
je 0x4ab79b
mov esi, 1
jmp 0x4ab7c6
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 0x4ab7ff
cmp byte [edi + 0x1e], 0
jne 0x4ab7ff
test esi, esi
jge 0x4ab7e0
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.00484870
mov dword [esi + 0x10], 0x54ae8c
mov byte [esi + 1], 0xfe
jmp 0x4ab80e
mov ecx, 0x54ae8c
mov eax, 0xfffffffe
call fcn.00484870
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x18]
push ebx
push 0
push edx
push 0x80
mov eax, ebp
call fcn.00484430
mov edi, dword [esp + 0x30]
push edi
mov esi, eax
push 0
push 0x30
mov eax, ebp
call fcn.00484530
mov eax, dword [ebp + 0xc]
add esp, 0x1c
cmp eax, esi
jle 0x4ab84e
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 0x4ab863
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.00484530
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ecx
jle 0x4ab891
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 0x4ab8a2
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.0047d840
mov edi, eax
jmp 0x4abcf9
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.0048ac20
mov eax, edi
call fcn.0047da70
mov edx, eax
mov eax, edi
mov dword [esp + 0x34], edx
call fcn.0047da70
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.0049c310
mov edx, dword [esi + 0x14]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x48], edx
mov edx, edi
call fcn.0047da90
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x44]
push eax
mov esi, edi
call fcn.00485970
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.0049c310
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.00484430
add esp, 0x10
mov edx, edi
call fcn.0047da90
mov esi, dword [esp + 0x10]
call fcn.0047da90
jmp 0x4abccc
mov eax, dword [esi + 8]
push ebx
push eax
push edi
call fcn.004aac80
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 0x4ab9cb
push 0x54efc8
mov esi, edi
call fcn.004893a0
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 0x4aba81
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x14], ecx
movsx ebx, al
jg 0x4ab9fc
mov edi, ebp
call fcn.004843b0
test eax, eax
je 0x4ab9fc
mov eax, 1
xor ebx, ebx
jmp 0x4aba29
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 0x4aae89
cmp byte [edi + 0x1e], 0
jne 0x4aae89
cmp eax, ebx
jge 0x4aba49
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.00484870
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], ebx
cmp ecx, ebx
jne 0x4aae62
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.00484530
mov eax, dword [edi + 0x1e8]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0x60
mov eax, ebp
call fcn.00484530
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.00484590
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4abb2e
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.00485970
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 0x4abc35
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 0x4abb66
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x78], eax
jmp 0x4abb70
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, ebp
call fcn.00484590
push 8
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
call fcn.0049cc00
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
push ebx
push eax
push edi
call fcn.004aac80
add esp, 0x1c
cmp eax, ebx
je 0x4abbb4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4abbb4
push ebx
push eax
push 9
mov eax, ecx
call fcn.00484530
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x38], eax
jg 0x4abbd6
mov edi, ebp
call fcn.004843b0
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4abc00
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.0047d840
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4abc25
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 0x4abb50
cmp dword [esi + 0xc], 0
je 0x4abc73
inc dword [edi + 0x54]
mov esi, dword [esi + 0xc]
push ebx
push esi
push edi
call fcn.004aac80
add esp, 0xc
cmp eax, ebx
je 0x4abc65
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4abc65
push ebx
push eax
push 9
mov eax, ecx
call fcn.00484530
add esp, 0xc
mov ecx, 1
mov eax, edi
call fcn.0047d840
jmp 0x4abcb3
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x4abc8d
mov edi, ebp
call fcn.004843b0
mov edi, dword [esp + 0xa0]
test eax, eax
jne 0x4abcb3
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 0x4abccc
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 0x4abcf9
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4abcf9
xor eax, eax
lea ecx, [edi + 0x60]
cmp dword [ecx + 0x10], esi
je 0x4abd37
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4abce1
movzx edx, dl
mov dword [edi + edx*4 + 0x18], esi
inc byte [edi + 0x15]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4abd28
mov dl, byte [edi + 0x15]
cmp dl, 8
jae 0x4abd28
xor eax, eax
lea ecx, [edi + 0x60]
mov edi, edi
cmp dword [ecx + 0x10], esi
je 0x4abd3d
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4abd10
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 0x4abcf9
mov eax, dword [esp + 0x28]
pop esi
pop edi
pop ebp
mov byte [ecx + 9], 1
pop ebx
add esp, 0x8c
ret