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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
push ebx
push ebp
mov ebp, dword [eax]
push esi
mov esi, dword [eax + 0xc]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x90]
mov eax, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], ebp
call fcn.0048a130
mov dword [esp + 0x20], eax
mov eax, esi
call fcn.0048a130
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
movzx eax, byte [edi + 4]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
cmp eax, 0x71
je 0x4a4e8b
mov edx, 1
mov dword [esp + 0x34], edx
cmp byte [ebp + 0x1e], bl
jne 0x4a4e8b
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov dword [esp + 0x48], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
cmp edx, dword [ecx]
jg 0x4a4e8b
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x4a4d5a
add ecx, 0xe
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x44]
movzx ecx, word [ecx]
cmp ecx, edx
je 0x4a4d5a
add dword [esp + 0x44], 0x14
inc eax
cmp eax, edi
jl 0x4a4d45
cmp eax, edi
jne 0x4a4e7d
cmp byte [ebp + 0x1e], bl
jne 0x4a4ef8
cmp byte [ebp + 0xda], bl
je 0x4a4daf
mov edx, 0x31
cmp dx, word [ebp + 0xd8]
ja 0x4a4daf
mov edi, dword [ebp + 0xe4]
cmp edi, ebx
je 0x4a4daf
mov eax, dword [edi]
inc dword [ebp + 0xdc]
mov dword [ebp + 0xe4], eax
mov eax, dword [ebp + 0xdc]
cmp eax, dword [ebp + 0xe0]
jle 0x4a4dfd
mov dword [ebp + 0xe0], eax
jmp 0x4a4dfd
cmp dword [0x58a148], ebx
je 0x4a4ee4
mov eax, dword [0x58a370]
cmp eax, ebx
je 0x4a4dce
push eax
call dword [0x58a190]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, 0x31
call fcn.004873f0
mov eax, dword [0x58a370]
test eax, eax
je 0x4a4def
push eax
call dword [0x58a198]
add esp, 4
xor ebx, ebx
mov edi, dword [esp + 0x50]
cmp edi, ebx
jne 0x4a4e05
mov byte [ebp + 0x1e], 1
cmp edi, ebx
je 0x4a4ef8
push 0x31
push ebx
push edi
call fcn.0050aaf0
push ebx
lea eax, [edi + 0x30]
or ecx, 0xffffffff
push ebx
push eax
mov byte [edi], 0x81
mov word [edi + 0x1e], cx
mov dword [edi + 4], eax
call fcn.0050bbc0
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x4c]
mov byte [edx], bl
mov eax, 0x800
or word [edi + 2], ax
mov eax, dword [esp + 0xa4]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov dword [edi + 0x2c], 1
call fcn.00491060
mov edx, dword [eax + 0xc]
mov cx, word [esp + 0x34]
inc dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov word [edx + eax + 0xe], cx
mov edx, dword [esp + 0x34]
add eax, 0x14
mov dword [esp + 0x48], eax
inc edx
mov dword [esp + 0x34], edx
cmp byte [ebp + 0x1e], bl
je 0x4a4d20
lea eax, [edi*4]
cmp ebp, ebx
je 0x4a4f4a
cmp byte [ebp + 0x1e], bl
je 0x4a4f05
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
push ebx
push eax
mov dword [edx + 0x18], eax
mov eax, dword [edi]
push eax
call fcn.0048b080
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x14], 0x71
mov dword [ecx + 0x18], eax
jne 0x4a51d5
mov dword [esp + 0x44], ebx
jmp 0x4a540a
push 0x31
call dword [0x58a160]
add esp, 4
mov dword [esp + 0x50], eax
jmp 0x4a4df1
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x78
ret
cmp byte [ebp + 0xda], bl
je 0x4a4f4a
movzx edx, word [ebp + 0xd8]
cmp eax, edx
jg 0x4a4f4a
mov ecx, dword [ebp + 0xe4]
cmp ecx, ebx
je 0x4a4f4a
mov eax, dword [ecx]
inc dword [ebp + 0xdc]
mov dword [ebp + 0xe4], eax
mov eax, dword [ebp + 0xdc]
cmp eax, dword [ebp + 0xe0]
jle 0x4a4f44
mov dword [ebp + 0xe0], eax
mov dword [esp + 0x34], ecx
jmp 0x4a4fb0
dec eax
cmp eax, 0x7ffffefe
ja 0x4a5054
cmp dword [0x58a148], ebx
je 0x4a503e
mov eax, dword [0x58a370]
cmp eax, ebx
je 0x4a4f75
push eax
call dword [0x58a190]
add esp, 4
lea ebx, [esp + 0x50]
lea eax, [edi*4]
call fcn.004873f0
mov eax, dword [0x58a370]
test eax, eax
je 0x4a4f98
push eax
call dword [0x58a198]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x4a4faa
cmp ebp, ebx
je 0x4a4faa
mov byte [ebp + 0x1e], 1
mov ecx, eax
mov dword [esp + 0x34], eax
cmp ecx, ebx
je 0x4a4ea3
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x4a4fe5
add edx, 0xe
mov dword [esp + 0x44], edx
lea esp, [esp]
mov edx, dword [esp + 0x44]
movzx edx, word [edx]
add dword [esp + 0x44], 0x14
dec edx
mov dword [ecx + eax*4], edx
inc eax
cmp eax, edi
jl 0x4a4fd0
lea edi, [edi + edi*4 + 0x10]
cmp ebp, ebx
je 0x4a505b
cmp byte [ebp + 0x1e], bl
jne 0x4a4ea3
cmp byte [ebp + 0xda], bl
je 0x4a505b
movzx eax, word [ebp + 0xd8]
cmp edi, eax
jg 0x4a505b
mov ecx, dword [ebp + 0xe4]
cmp ecx, ebx
je 0x4a505b
mov edx, dword [ecx]
inc dword [ebp + 0xdc]
mov eax, dword [ebp + 0xdc]
cmp eax, dword [ebp + 0xe0]
mov dword [ebp + 0xe4], edx
jle 0x4a5035
mov dword [ebp + 0xe0], eax
mov dword [esp + 0x28], ecx
jmp 0x4a50be
lea eax, [edi*4]
push eax
call dword [0x58a160]
add esp, 4
jmp 0x4a4f9e
xor eax, eax
jmp 0x4a4fa2
lea eax, [edi - 1]
cmp eax, 0x7ffffefe
ja 0x4a512a
cmp dword [0x58a148], ebx
je 0x4a511e
mov eax, dword [0x58a370]
cmp eax, ebx
je 0x4a5088
push eax
call dword [0x58a190]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, edi
call fcn.004873f0
mov eax, dword [0x58a370]
test eax, eax
je 0x4a50a6
push eax
call dword [0x58a198]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x4a50b8
cmp ebp, ebx
je 0x4a50b8
mov byte [ebp + 0x1e], 1
mov ecx, eax
mov dword [esp + 0x28], eax
cmp ecx, ebx
je 0x4a4ea7
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax*4 + 0xc]
mov dword [ecx + 8], edx
mov word [ecx + 6], ax
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + 0x39]
xor edi, edi
cmp eax, ebx
mov byte [ecx + 4], dl
jle 0x4a4ea7
xor eax, eax
add ecx, 0xc
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ecx
jmp 0x4a5100
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + edx]
mov edx, 0x100
mov dword [esp + 0x58], ecx
test word [ecx + 2], dx
je 0x4a512e
mov edx, dword [ecx + 0x14]
jmp 0x4a519a
push edi
call dword [0x58a160]
add esp, 4
jmp 0x4a50ac
xor eax, eax
jmp 0x4a50b0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x90]
mov ebp, dword [eax + edi*4]
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
je 0x4a51d1
mov edx, dword [esp + 0x8c]
push ebp
push eax
push edx
call fcn.004a4c50
add esp, 0xc
cmp eax, ebx
jne 0x4a5180
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx]
cmp ebp, dword [ecx]
jge 0x4a5180
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x8c]
lea edx, [ebp + ebp*4]
mov eax, dword [eax + edx*4]
call fcn.004a1da0
mov ecx, dword [esp + 0x58]
mov ebp, 0x100
or word [ecx + 2], bp
mov ebp, dword [esp + 0x38]
mov edx, eax
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x44], 4
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x28]
mov cl, byte [ecx + eax + 0xc]
mov edx, dword [edx + 8]
mov byte [edi + edx], cl
inc edi
add eax, 0x14
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
jl 0x4a5100
jmp 0x4a4ea7
xor eax, eax
jmp 0x4a515d
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
mov eax, dword [eax]
mov ecx, dword [edi + 0x3c]
lea edx, [eax + 1]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x38]
cmp edx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], ecx
jg 0x4a523f
lea edx, [edi + 0x70]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
cmp edx, ecx
jl 0x4a5219
lea eax, [eax + ecx - 1]
cmp edx, eax
jle 0x4a523b
mov eax, dword [edi + 0x38]
inc dword [esp + 0x3c]
add dword [esp + 0x44], 0x18
cmp dword [esp + 0x3c], 0xa
jl 0x4a5204
mov edx, dword [esp + 0x30]
add edx, ecx
sub eax, dword [esp + 0x30]
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], eax
jmp 0x4a524e
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x50], ecx
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
jg 0x4a5271
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5295
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esp + 0x2c]
lea edi, [eax + eax*4 + 0x10]
cmp ebp, ebx
je 0x4a52ee
cmp byte [ebp + 0x1e], bl
je 0x4a52ad
xor ebp, ebp
jmp 0x4a535d
cmp byte [ebp + 0xda], bl
je 0x4a52ee
movzx eax, word [ebp + 0xd8]
cmp edi, eax
jg 0x4a52ee
mov eax, dword [ebp + 0xe4]
cmp eax, ebx
je 0x4a52ee
mov ecx, dword [eax]
inc dword [ebp + 0xdc]
mov dword [ebp + 0xe4], ecx
mov ecx, dword [ebp + 0xdc]
cmp ecx, dword [ebp + 0xe0]
jle 0x4a534c
mov dword [ebp + 0xe0], ecx
jmp 0x4a534c
lea edx, [edi - 1]
cmp edx, 0x7ffffefe
ja 0x4a549e
cmp dword [0x58a148], ebx
je 0x4a548f
mov eax, dword [0x58a370]
cmp eax, ebx
je 0x4a531c
push eax
call dword [0x58a190]
add esp, 4
lea ebx, [esp + 0x50]
mov eax, edi
call fcn.004873f0
mov eax, dword [0x58a370]
test eax, eax
je 0x4a533a
push eax
call dword [0x58a198]
add esp, 4
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
jne 0x4a534c
cmp ebp, ebx
je 0x4a534c
mov byte [ebp + 0x1e], 1
mov ebp, eax
cmp ebp, ebx
je 0x4a535d
push edi
push ebx
push ebp
call fcn.0050aaf0
add esp, 0xc
mov dword [esp + 0x54], ebp
cmp ebp, ebx
je 0x4a540a
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
lea ecx, [ebp + eax*4 + 0xc]
mov dword [ebp + 8], ecx
mov word [ebp + 6], ax
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x39]
xor edi, edi
cmp eax, ebx
mov byte [ebp + 4], cl
jle 0x4a540a
lea edx, [ebp + 0xc]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], edx
lea esp, [esp]
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x4a54a5
mov ecx, dword [esp + 0x8c]
push edi
push eax
push ecx
call fcn.004a4c50
add esp, 0xc
cmp eax, ebx
jne 0x4a53eb
mov edx, dword [esp + 0x90]
mov ecx, dword [edx]
cmp edi, dword [ecx]
jge 0x4a53eb
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0x8c]
call fcn.004a1da0
mov ecx, dword [esp + 0x50]
add dword [esp + 0x3c], 0x14
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov byte [edi + edx], bl
inc edi
add ecx, 4
cmp edi, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
jl 0x4a53a0
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x8c]
push str.ORDER
mov dword [edi + 0x1c], ebx
mov dword [eax + 0x24], ebx
mov eax, dword [edi + 0x18]
push edi
push ebp
call fcn.004a1c20
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [ecx + 0x1c], ebx
jne 0x4a5451
mov eax, ecx
push str.ORDER
push eax
mov eax, dword [eax + 0x18]
push ebp
call fcn.004a1c20
add esp, 0xc
mov edx, dword [esp + 0x20]
push edx
push edi
mov eax, ebp
call fcn.00493fd0
add esp, 8
cmp dword [edi + 0x30], ebx
je 0x4a5535
cmp dword [esp + 0x14], 0x71
jne 0x4a5535
mov eax, dword [ebp + 0x48]
inc eax
mov dword [esp + 0x30], eax
inc eax
mov dword [ebp + 0x48], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x34]
cmp eax, ebx
je 0x4a54ac
inc eax
jmp 0x4a54af
push edi
call dword [0x58a160]
add esp, 4
jmp 0x4a5340
xor eax, eax
jmp 0x4a5344
xor eax, eax
jmp 0x4a53c8
mov eax, dword [edi + 0x30]
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x50], eax
jg 0x4a54c6
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a54f3
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5506
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a553d
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x30]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
jmp 0x4a553d
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x90]
mov ebp, dword [edx + 0x28]
mov edi, dword [esp + 0x38]
cmp ebp, ebx
je 0x4a55a0
push ebp
push edi
call fcn.0048af70
mov ax, word [ebp + 2]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
add esp, 8
cmp ax, dx
je 0x4a55a0
cmp edi, ebx
je 0x4a5597
cmp ebp, dword [edi + 0xe8]
jb 0x4a5597
cmp ebp, dword [edi + 0xec]
jae 0x4a5597
mov eax, dword [edi + 0xe4]
mov dword [ebp], eax
dec dword [edi + 0xdc]
mov dword [edi + 0xe4], ebp
jmp 0x4a55a0
push ebp
call fcn.0047ceb0
add esp, 4
mov eax, dword [esp + 0x90]
mov ebp, dword [eax + 0x2c]
mov dword [eax + 0x28], ebx
cmp ebp, ebx
je 0x4a5602
push ebp
push edi
call fcn.0048af70
mov cx, word [ebp + 2]
mov edx, 0x8000
and cx, dx
mov eax, edx
add esp, 8
cmp cx, ax
je 0x4a5602
cmp edi, ebx
je 0x4a55f9
cmp ebp, dword [edi + 0xe8]
jb 0x4a55f9
cmp ebp, dword [edi + 0xec]
jae 0x4a55f9
mov ecx, dword [edi + 0xe4]
mov dword [ebp], ecx
dec dword [edi + 0xdc]
mov dword [edi + 0xe4], ebp
jmp 0x4a5602
push ebp
call fcn.0047ceb0
add esp, 4
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov dword [edx + 0x2c], ebx
mov eax, dword [edi + 0x48]
inc eax
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
inc ecx
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
add edx, 2
mov dword [edi + 0x48], edx
mov dword [esp + 0x48], edx
mov dl, 0xa
mov byte [esp + 0x78], dl
mov dword [esp + 0x7c], eax
mov byte [esp + 0x79], bl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x68], dl
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x69], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x2c], eax
jg 0x4a5681
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a5681
mov dword [esp + 0x58], 1
jmp 0x4a56aa
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
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 [esi + 0x6e], bl
mov dword [esp + 0x58], ebp
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x78]
push edx
push eax
mov dword [eax + 0x30], ecx
mov eax, dword [esp + 0x94]
push eax
call fcn.004c0b50
mov ebp, dword [esi + 0xc]
add esp, 0xc
cmp dword [esi + 0x10], ebp
jg 0x4a56e5
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5713
mov eax, dword [esi + 0x14]
mov ecx, 1
add dword [esi + 0xc], ecx
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5726
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a574f
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov edx, dword [esi + 0xc]
mov ebp, dword [esp + 0x90]
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
push ebp
push eax
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], ebx
call fcn.004c0b50
mov ecx, dword [esp + 0x5c]
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x34], ecx
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp dword [esi + 0x10], eax
mov dword [esp + 0x50], eax
jg 0x4a57ac
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a57d9
mov eax, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [esi + 0xc], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x50], eax
jg 0x4a57f4
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a581d
mov eax, dword [esp + 0x50]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x90]
push 0xfffffffffffffff0
push edi
inc eax
push eax
push edx
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x5c]
push ebp
push ecx
call fcn.00494110
add esp, 0x20
cmp dword [esp + 0x14], 0x71
mov dword [esp + 0x54], eax
je 0x4a5868
mov eax, dword [esp + 0x14]
cmp eax, 0x70
jne 0x4a589f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x94]
push edx
push 0xffffffffffffffef
push edi
push eax
mov eax, dword [esp + 0x9c]
push ecx
lea edx, [esp + 0x7c]
push edx
push ebp
push eax
mov eax, dword [esp + 0x64]
call fcn.00494110
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, 0x72
je 0x4a59c2
cmp eax, 0x73
je 0x4a59c2
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a58ce
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a58ce
mov dword [esp + 0x3c], 1
jmp 0x4a58ff
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
jg 0x4a591a
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5947
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a595a
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5984
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
inc ecx
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5997
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5a09
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x3c]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
jmp 0x4a5a09
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a59dc
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a59dc
mov ebp, 1
jmp 0x4a5a05
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x30], ebp
cmp dword [esp + 0x14], 0x73
jne 0x4a5a1d
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
jmp 0x4a5b2c
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5a3a
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a5a3a
mov dword [esp + 0x3c], 1
jmp 0x4a5a6b
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
jg 0x4a5a86
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5ab4
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
inc ecx
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5ac7
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5af0
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5b03
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5b2c
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5b49
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a5b49
mov dword [esp + 0x3c], 1
jmp 0x4a5b7b
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
inc ecx
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
jg 0x4a5b96
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5bbf
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5bd2
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5bff
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5c12
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5c3b
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esp + 0x14]
cmp eax, 0x71
jne 0x4a5c51
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
jmp 0x4a5d2b
cmp eax, 0x73
jne 0x4a5c68
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
inc eax
mov dword [esp + 0x54], eax
jmp 0x4a5d2b
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5c82
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a5c82
mov ebp, 1
jmp 0x4a5cab
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5cc2
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5cef
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5d02
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5d2b
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esp + 0x14]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x64], ebp
cmp eax, 0x71
je 0x4a5d40
cmp eax, 0x70
jne 0x4a5d7d
cmp dword [esi + 0x10], ebp
jg 0x4a5d50
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5d7d
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x48]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5d90
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5dba
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 0x3c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5dcd
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5dfa
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebp + ebp*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5e0d
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5e36
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jle 0x4a5e4b
mov edx, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5e5e
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5e87
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5e9a
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5ec3
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x30
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5ed6
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5f03
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5f16
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5f44
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov byte [eax], 0x2f
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5f57
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5f84
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5f97
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a5fc4
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x50]
mov byte [eax], 0xb
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4a5fdd
mov edx, dword [esp + 0x40]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0xc]
sub eax, ecx
mov dword [eax], edx
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a5ff7
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a5ff7
mov eax, 1
jmp 0x4a601e
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x85
mov byte [eax + 3], bl
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 [esi + 0x6e], bl
mov eax, ebp
mov ecx, dword [esi + 0x14]
mov edi, dword [esi]
cmp ecx, ebx
je 0x4a6070
cmp byte [edi + 0x1e], bl
jne 0x4a6070
cmp eax, ebx
jge 0x4a6034
mov eax, dword [esi + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ebp, [ecx + edx*4]
mov ecx, dword [ebp + 0x10]
call fcn.0048a410
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x10], ebx
cmp eax, ebx
jne 0x4a605a
mov dword [ebp + 0x10], ebx
mov byte [ebp + 1], bl
jmp 0x4a607e
mov dword [ebp + 0x10], eax
mov byte [ebp + 1], 0xf1
jmp 0x4a607e
mov ecx, dword [esp + 0x34]
mov eax, 0xfffffff1
call fcn.0048a410
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
jg 0x4a60ab
mov edi, esi
call fcn.00489f50
test eax, eax
je 0x4a60ab
mov ebp, 1
jmp 0x4a60dc
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x60]
lea edx, [ebp + ebp*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x5f
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ecx, dword [esi + 0x14]
mov edi, dword [esi]
mov eax, ebp
cmp ecx, ebx
je 0x4a6130
cmp byte [edi + 0x1e], bl
jne 0x4a6130
cmp ebp, ebx
jge 0x4a60f4
mov eax, dword [esi + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ebp, [ecx + edx*4]
mov ecx, dword [ebp + 0x10]
call fcn.0048a410
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x10], ebx
cmp eax, ebx
jne 0x4a611a
mov dword [ebp + 0x10], ebx
mov byte [ebp + 1], bl
jmp 0x4a613e
mov dword [ebp + 0x10], eax
mov byte [ebp + 1], 0xfa
jmp 0x4a613e
mov ecx, dword [esp + 0x28]
mov eax, 0xfffffff0
call fcn.0048a410
mov ebp, dword [esi + 0xc]
cmp dword [esi + 0x10], ebp
jg 0x4a6151
mov edi, esi
call fcn.00489f50
test eax, eax
jne 0x4a6182
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x54]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov byte [eax], 0x84
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x6e], bl
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x8c]
cmp ecx, ebx
je 0x4a61a1
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [edx + 0x38]
jle 0x4a61a1
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], ecx
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4a61ba
mov ecx, dword [esp + 0x20]
lea ecx, [ecx*4 + 4]
sub eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [esp + 0x94]
cmp byte [eax], 5
jne 0x4a61e7
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
je 0x4a61da
mov ecx, eax
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
jne 0x4a61d1
mov ecx, dword [ecx]
push ecx
push ebx
push edx
call fcn.0049b6b0
add esp, 0xc
mov ebp, dword [esp + 0x90]
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x4a6244
mov edi, dword [esp + 0x38]
mov eax, esi
mov ecx, edi
call fcn.004846f0
cmp edi, ebx
je 0x4a623b
cmp esi, dword [edi + 0xe8]
jb 0x4a623b
cmp esi, dword [edi + 0xec]
jae 0x4a623b
mov edx, dword [edi + 0xe4]
mov eax, dword [esp + 0x24]
mov dword [esi], edx
dec dword [edi + 0xdc]
mov dword [edi + 0xe4], esi
pop edi
pop esi
mov dword [ebp + 0x1c], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret
push esi
call fcn.0047ceb0
add esp, 4
mov eax, dword [esp + 0x24]
pop edi
pop esi
mov dword [ebp + 0x1c], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret