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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ecx + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
push edi
mov edi, dword [ecx]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x4a4b22
mov ebx, dword [ebx]
jmp 0x4a4b24
xor ebx, ebx
mov eax, dword [edi + 0x38]
lea edx, [edi + 0x2c]
mov cl, byte [edi + 0x13]
dec eax
mov dword [esp + 0xc], eax
dec eax
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x38], eax
test cl, cl
jne 0x4a4b53
mov eax, dword [edx]
inc eax
mov dword [edx], eax
inc dword [edx]
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
xor cl, cl
mov dword [esp + 0x10], eax
jmp 0x4a4b90
sub cl, 1
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x10], eax
jne 0x4a4b75
inc dword [edx]
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
xor cl, cl
jmp 0x4a4b90
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x4a4c35
cmp ebx, 1
jne 0x4a4bdd
test cl, cl
jne 0x4a4ba7
inc dword [edx]
mov eax, dword [edx]
jmp 0x4a4bb6
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x20], eax
test cl, cl
jne 0x4a4bc8
inc dword [edx]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
jmp 0x4a4c31
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x18], eax
jmp 0x4a4c31
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
cmp ebx, ecx
jg 0x4a4bff
add eax, ebx
sub ecx, ebx
mov dword [esp + 0x18], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], ecx
jmp 0x4a4c14
mov eax, dword [edx]
lea ebx, [eax + 1]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
add eax, ebx
mov dword [edx], eax
mov eax, dword [esp + 0x18]
cmp ebx, ecx
jg 0x4a4c24
add eax, ebx
sub ecx, ebx
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], ecx
jmp 0x4a4c31
mov eax, dword [edx]
lea ecx, [eax + 1]
add eax, ebx
mov dword [esp + 0x18], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x30]
cmp dword [esi + 0x78], ecx
jg 0x4a4c59
push 0
push eax
push edx
mov edx, 0x85
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a4c88
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x20]
mov edx, dword [ebx + 0x30]
mov ecx, dword [esp + 0x3c]
call fcn.004a3de0
add esp, 4
nop dword [eax + eax]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x34]
cmp dword [esi + 0x78], ecx
jg 0x4a4cc1
push 0
push edx
push 0
mov edx, 0x49
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a4cf0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebx + 0x24]
test ebx, ebx
jne 0x4a4ca0
mov ebx, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x58]
cmp dword [esi + 0x78], ecx
jg 0x4a4d22
mov eax, dword [esp + 0xc]
mov ecx, esi
push edx
dec eax
mov edx, 0x19
push eax
push dword [esp + 0x2c]
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a4d5a
mov ebx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
dec ebx
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x19
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x78], ecx
jg 0x4a4d82
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x85
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a4db5
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x5c]
cmp dword [esi + 0x78], ecx
jg 0x4a4de0
push dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, esi
dec eax
push eax
push edx
mov edx, 0x36
call fcn.0042a9a0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4a4e14
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
dec edx
mov dword [eax + ecx*4], 0x36
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [ebx + 0x14]
cmp al, 0x55
jne 0x4a4eb8
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a4e83
push edx
push dword [esp + 0x10]
mov edx, 0x35
mov ecx, esi
push dword [esp + 0x18]
call fcn.0042a9a0
add esp, 0xc
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, eax
mov edx, dword [esp + 0x34]
push dword [eax + 0x14]
push 0
push dword [esp + 0x2c]
call fcn.004a3ec0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov edx, dword [esp + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a50cc
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x4a50d5
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a4e3f
cmp al, 0x42
je 0x4a4e3f
mov edx, dword [ebx + 0xc]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
test edx, edx
je 0x4a4edd
push eax
push eax
mov ecx, edi
call fcn.0047afa0
add esp, 8
mov dword [esp + 0x2c], eax
cmp byte [ebx + 0x14], 0x5e
jne 0x4a4f41
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x3c], ebx
cmp dword [esi + 0x78], ebx
jg 0x4a4f0e
push dword [esp + 0x14]
mov edx, 0x35
mov ecx, esi
push 0
push dword [esp + 0x18]
call fcn.0042a9a0
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x4a4f41
mov edx, dword [esp + 0x10]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x2c], 0
je 0x4a5032
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push ebx
call fcn.004a3de0
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x4a4f87
mov ebx, dword [esp + 0x1c]
mov edx, 0x58
push ebx
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x20]
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a4fb6
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x58
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x53], 0
je 0x4a4fd1
push dword [esp + 0x2c]
mov edx, 0xfffffff7
call fcn.0042b470
add esp, 4
jmp 0x4a4fe7
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x74]
lea edx, [eax + 1]
cmp dword [esi + 0x78], eax
jg 0x4a500c
push edx
push dword [esp + 0x10]
mov ecx, esi
push edx
mov edx, 0x10
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a508e
mov edi, dword [esp + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], edx
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x4a5086
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a5057
push 0
push dword [esp + 0x10]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0042a9a0
mov ebx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4a508e
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4a4e43
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x53], 0
je 0x4a50b2
mov eax, 0x4edf68
mov dword [eax + 8], edx
jmp 0x4a4e43
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4a4e43
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a50f8
push 0
push dword [esp + 0x2c]
mov edx, 5
mov ecx, esi
push dword [esp + 0x2c]
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a512b
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x74]
dec ecx
cmp byte [eax + 0x53], 0
je 0x4a5142
mov eax, 0x4edf70
jmp 0x4a5157
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov ecx, dword [esp + 0x28]
mov dword [eax], edx
inc ecx
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x53], 0
je 0x4a5170
mov eax, 0x4edf68
jmp 0x4a5181
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
test ecx, ecx
je 0x4a51a0
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a51a0
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a51bc
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a51bc
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
test ebx, ebx
je 0x4a5233
cmp ebx, 1
jne 0x4a5212
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4a51e1
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a51e1
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4a5233
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a5233
movzx eax, al
mov edx, 1
mov dword [edi + eax*4 + 0x98], ecx
mov ecx, dword [esp + 0x38]
inc byte [edi + 0x13]
call fcn.004a4760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
cmp ebx, eax
jle 0x4a5233
mov eax, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov eax, ebx
mov dword [edi + 0x1c], ebx
cmp ebx, eax
jle 0x4a5233
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], eax
mov ecx, dword [esp + 0x38]
mov edx, 1
call fcn.004a4760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret