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

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x40]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
xor ebx, ebx
mov ecx, dword [eax + 0x18]
push esi
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
dec dword [edi + 0x38]
mov eax, dword [eax]
mov ecx, dword [edi + 0x38]
movzx edx, byte [ebp]
mov esi, dword [edi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 0x1c]
add eax, 8
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e0aea
push eax
mov eax, dword [esp + 0x54]
push dword [eax + 0xc]
push 0xc
push esi
call fcn.0052e180
push dword [esp + 0x40]
push esi
call fcn.00536510
mov eax, dword [esp + 0x68]
add esp, 0x18
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x3c]
not edx
add eax, dword [ecx + 0x38]
jns 0x4e0ad9
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x4e0ae2
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
cmp edx, 9
je 0x4e0b68
cmp edx, 0xd
je 0x4e0b68
cmp edx, 0xa
je 0x4e0b6d
mov al, byte [edi + 0x13]
test al, al
jne 0x4e0b13
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4e0b22
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x18], eax
cmp edx, 0xc
je 0x4e0b44
cmp edx, 0xe
je 0x4e0b44
mov ebp, dword [esp + 0x54]
push ebp
push edi
mov dword [esp + 0x5c], ebp
call fcn.00516b60
add esp, 8
jmp 0x4e0b91
mov al, byte [edi + 0x13]
test al, al
jne 0x4e0b55
inc dword [edi + 0x2c]
xor ebp, ebp
mov eax, dword [edi + 0x2c]
jmp 0x4e0b8d
dec al
xor ebp, ebp
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x98]
jmp 0x4e0b8d
cmp edx, 0xa
jne 0x4e0b82
cmp dword [ecx + 0xc], ebx
je 0x4e0b82
push dword [ebp + 0xc]
push 0
push 0x4a
push esi
call fcn.0052e180
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebp
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x20], 1
mov dword [esp + 0x38], eax
je 0x4e0cda
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], eax
inc eax
mov dword [edi + 0x28], eax
cmp dword [ecx + 0x10], ebx
je 0x4e0bd7
push 0x11
push esi
call fcn.0052e0d0
add esp, 8
mov ebx, eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x74]
inc edx
add edx, ebp
cmp dword [esi + 0x78], ecx
jg 0x4e0bfc
push edx
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push 0x78
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e0c2f
mov edi, dword [esp + 0x14]
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], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
test ebx, ebx
je 0x4e0c56
mov edx, dword [esi + 0x74]
jns 0x4e0c3b
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4e0c4a
mov eax, 0x74c854
jmp 0x4e0c53
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push ebx
push 0x24
push esi
call fcn.0052e180
mov ecx, dword [esp + 0x5c]
inc eax
push dword [esp + 0x44]
mov dword [esp + 0x38], eax
push dword [ecx + 0xc]
push esi
call fcn.004c4920
mov ecx, dword [esi + 0x74]
add esp, 0x1c
cmp dword [esi + 0x78], ecx
jg 0x4e0ca7
push dword [esp + 0x14]
push dword [esp + 0x2c]
push ebx
push 0x84
push esi
call fcn.004e2c80
mov edx, dword [esp + 0x28]
add esp, 0x14
xor eax, eax
jmp 0x4e0d0f
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
xor eax, eax
jmp 0x4e0d0f
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push ebx
push 0x25
push esi
call fcn.0052e180
mov ecx, dword [esp + 0x5c]
inc eax
push dword [esp + 0x44]
mov dword [esp + 0x38], eax
push dword [ecx + 0xc]
push esi
call fcn.004c4920
mov edx, ebx
add esp, 0x1c
mov dword [esp + 0x14], edx
mov eax, 1
add eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
lea ebx, [eax - 1]
test ebp, ebp
jle 0x4e0d34
mov eax, dword [esp + 0x3c]
mov ecx, ebp
add eax, 0x10
cmp word [eax], 0
jne 0x4e0d2e
inc ebx
add eax, 0x14
dec ecx
jne 0x4e0d27
dec ebp
js 0x4e0dc6
mov edi, dword [esp + 0x10]
lea eax, [ebp*4 + 4]
mov ecx, dword [esp + 0x3c]
add edi, ebp
add eax, ebp
lea eax, [ecx + eax*4]
mov dword [esp + 0x4c], eax
movzx eax, word [eax]
test ax, ax
je 0x4e0d62
lea edx, [eax - 1]
jmp 0x4e0d65
mov edx, ebx
dec ebx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e0d80
push edi
push edx
push dword [esp + 0x1c]
push 0x5d
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e0daf
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
dec edi
sub eax, 0x14
dec ebp
mov dword [esp + 0x4c], eax
jns 0x4e0d55
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
lea eax, [ecx - 0xa]
cmp eax, 5
ja case.0x4e0dd6.13
jmp dword [eax*4 + 0x4e125c]
mov ecx, dword [esi + 0x74]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
cmp dword [esi + 0x78], ecx
jg 0x4e0dfd
push ebx
push ebp
push edx
push 0x5d
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e0e24
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov ebp, dword [esp + 0x1c]
cmp dword [esi + 0x78], ecx
jg 0x4e0e48
push 0
push dword [esp + 0x1c]
push ebp
push 0x7e
push esi
call fcn.004e2c80
mov edx, dword [esp + 0x2c]
add esp, 0x14
jmp 0x4e0e77
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 4], ebp
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]
cmp dword [esi + 0x78], ecx
jg 0x4e0e8f
push edx
push ebx
push ebp
push 0x7f
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e0eba
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
mov ebp, dword [esp + 0x54]
test eax, eax
jle 0x4e10d2
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4e10d2
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x10]
push ebp
push dword [edx + 0x14]
push dword [esp + 0x20]
push ebp
push ebx
push 0x60
push esi
call fcn.0052e240
mov edx, dword [esp + 0x38]
push ebp
push ebx
push dword [esp + 0x3c]
push edx
push 0x89
push esi
call fcn.0052e310
add esp, 0x34
jmp 0x4e10d2
mov edx, dword [esp + 0x58]
mov al, byte [edi + 0x13]
mov edx, dword [edx + 8]
mov dword [esp + 0x58], edx
test al, al
jne 0x4e0f34
inc dword [edi + 0x2c]
mov ebp, dword [edi + 0x2c]
jmp 0x4e0f43
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebp, dword [edi + eax*4 + 0x98]
mov ecx, dword [esp + 0x54]
xor eax, eax
mov ebx, dword [esp + 0x10]
test edx, edx
sets al
sub ecx, eax
add eax, ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
cmp dword [esi + 0x78], eax
jg 0x4e0f81
push ebp
push ecx
push dword [esp + 0x54]
push 0x60
push esi
call fcn.004e2c80
mov edx, dword [esp + 0x6c]
add esp, 0x14
jmp 0x4e0fb6
mov edi, dword [esp + 0x4c]
inc eax
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x40]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
jns 0x4e1005
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x1c]
cmp dword [esi + 0x78], ecx
jg 0x4e0fd9
push ebx
push ebp
push edx
push 0x7f
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e10ce
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4e10ce
push edx
mov edx, dword [esp + 0x20]
push ebx
push ebp
push edx
push 0x89
push esi
call fcn.0052e310
add esp, 0x18
jmp 0x4e10ce
mov edx, dword [esp + 0x58]
cmp ecx, 9
mov ecx, dword [esi + 0x74]
jne 0x4e1081
mov edx, dword [edx + 0xc]
mov ebp, dword [esp + 0x54]
cmp dword [esi + 0x78], ecx
jg 0x4e1050
push 0
push ebp
push edx
push 0x53
push esi
call fcn.004e2c80
mov ebx, dword [esp + 0x24]
add esp, 0x14
jmp 0x4e10d2
mov ebx, 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], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4e10d2
mov edx, dword [edx + 4]
cmp dword [esi + 0x78], ecx
jg 0x4e109b
push 0
push 0
push edx
push 0xe
push esi
call fcn.004e2c80
add esp, 0x14
jmp case.0x4e0dd6.10
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4e111f
cmp dword [esp + 0x2c], 0xb
jne 0x4e10f3
cmp ebp, 1
je 0x4e10f3
cmp ebp, dword [edi + 0x1c]
jle 0x4e110b
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x20], ebx
jmp 0x4e110b
test ebx, ebx
je 0x4e110b
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4e110b
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4e111f
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e113d
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
jmp 0x4e1146
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x50]
mov ecx, dword [esi + 0x74]
test byte [ebx + 0x20], 1
je 0x4e1186
cmp dword [esi + 0x78], ecx
jg 0x4e1171
mov edx, dword [esp + 0x24]
push 0
push edx
mov edx, dword [esp + 0x28]
push edx
push 3
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e11d7
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 3
jmp 0x4e11b7
cmp dword [esi + 0x78], ecx
jg 0x4e11a4
mov edx, dword [esp + 0x24]
push 0
push edx
mov edx, dword [esp + 0x28]
push edx
push 5
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e11d7
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 5
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4e1227
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e11f8
push 0
push 0
push edx
push 0x43
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x4e1227
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e124b
push edx
push esi
push ecx
call fcn.004f4d20
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esi + 0x74]
mov ecx, dword [ecx + 0x40]
pop edi
pop esi
pop ebp
mov dword [ecx + edx*4], eax
pop ebx
add esp, 0x34
ret