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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov edi, dword [eax + 0x4c]
mov ecx, dword [ebx + 0x2c]
mov esi, dword [ebx + 8]
mov dword [esp + 0x20], edi
movzx eax, word [edi + 0x32]
mov edx, dword [edi + 0x20]
lea ebp, [ecx + 1]
movzx edi, word [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, edi
mov dword [esp + 0x18], ebp
push edx
push dword [ebx]
mov dword [esp + 0x2c], eax
add eax, ecx
mov dword [esp + 0x1c], edi
mov dword [ebx + 0x2c], eax
call fcn.00535080
mov edx, dword [ebx]
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4e0862
xor ecx, ecx
mov dword [esp + 0x38], ecx
jmp 0x4e08ab
mov ecx, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e0867
sub ecx, edi
push 0
lea edi, [ecx + 1]
push edi
test edx, edx
je 0x4e088b
push edx
call fcn.00521f00
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x38], ecx
jmp 0x4e0899
call fcn.005387b0
add esp, 8
mov dword [esp + 0x38], eax
mov ecx, eax
test ecx, ecx
je 0x4e08ab
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x10]
test ax, ax
je 0x4e0a3a
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
movzx edx, ax
dec edx
mov edi, dword [edi + 8]
add edx, ebp
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x78], ecx
jg 0x4e08e2
push edx
push ebp
push 0
push 0x4a
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x4e090d
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
xor eax, eax
cmp dword [esp + 0x34], eax
push edi
sete al
lea eax, [eax*4 + 0x22]
push eax
push esi
call fcn.0054b390
mov edi, dword [esi + 0x74]
add esp, 0xc
cmp dword [esi + 0x78], edi
jg 0x4e0945
push 0
push 0
push 0
push 0xb
push esi
call fcn.004ffef0
add esp, 0x14
mov edi, eax
jmp 0x4e0978
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
movzx eax, cx
push eax
mov eax, dword [esp + 0x38]
neg eax
push ebp
sbb eax, eax
push 0
push dword [esp + 0x28]
and eax, 0xfffffffd
add eax, 0x1a
push eax
push esi
call fcn.0054b580
mov ecx, dword [esp + 0x48]
add esp, 0x18
mov dword [ecx + 0x14], eax
mov edx, dword [esi + 0x74]
test edi, edi
jns 0x4e09b0
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4e09bf
mov eax, 0x5e05ac
jmp 0x4e09c8
mov eax, dword [esi + 0x70]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
xor edi, edi
mov dword [eax + 8], edx
movzx eax, cx
test eax, eax
jle 0x4e0a36
mov ebx, dword [esp + 0x1c]
lea esp, [esp]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e09fb
lea eax, [edi + ebp]
push eax
push edi
push ebx
push 0x5d
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x4e0a26
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], ebx
mov dword [eax + ecx*4 + 8], edi
lea ecx, [eax + ecx*4]
lea eax, [edi + ebp]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x10]
inc edi
movzx eax, cx
cmp edi, eax
jl 0x4e09e0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
movzx ecx, ax
mov eax, dword [esp + 0x14]
mov edi, ecx
mov dword [esp + 0x10], ecx
cmp edi, eax
jge 0x4e0b01
nop
mov eax, dword [esp + 0x20]
lea ebx, [edi + ebp]
push ebx
push dword [esp + 0x38]
mov eax, dword [eax + 0x38]
push edi
push dword [esp + 0x3c]
push dword [eax + edi*4]
push dword [esp + 0x40]
call fcn.004e1360
mov edx, eax
add esp, 0x18
cmp edx, ebx
je 0x4e0aec
cmp dword [esp + 0x24], 1
jne 0x4e0aa4
test ebp, ebp
je 0x4e0a9c
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4e0a9c
movzx eax, al
mov dword [ecx + eax*4 + 0x98], ebp
inc byte [ecx + 0x13]
mov ebp, edx
mov dword [esp + 0x18], ebp
jmp 0x4e0aec
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4e0abd
push 0
push ebx
push edx
push 0x4f
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x4e0aec
mov ebp, 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], 0x4f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x4e0a50
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
cmp ecx, eax
jge 0x4e0c40
mov eax, ebp
lea edi, [ecx + edx]
sub eax, edx
mov dword [esp + 0x1c], eax
jmp 0x4e0b20
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + ecx*4]
movzx eax, word [ecx + 0xc]
test al, 1
je 0x4e0b48
mov eax, dword [ecx]
test dword [eax + 4], 0x800
je 0x4e0c12
test edx, edx
jmp 0x4e0c0d
test eax, 0x100
jne 0x4e0c12
mov eax, dword [ecx]
mov ebp, dword [eax + 0x10]
mov eax, 0x800
test word [ecx + 0xa], ax
jne 0x4e0bc8
push ebp
call fcn.00524d80
add esp, 4
test eax, eax
je 0x4e0bc8
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4e0b96
mov eax, dword [esp + 0x1c]
push 0
push edx
add eax, edi
push eax
push 0x32
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x4e0bc8
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
add eax, edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
cmp dword [ebx + 0x24], 0
jne 0x4e0c12
mov bl, byte [edi]
push ebp
call fcn.00524890
add esp, 4
cmp al, 0x40
jle 0x4e0bf2
cmp bl, 0x40
jle 0x4e0bed
cmp al, 0x43
jge 0x4e0bfe
cmp bl, 0x43
jl 0x4e0bfb
jmp 0x4e0bfe
movsx eax, al
jmp 0x4e0bf5
movsx eax, bl
or al, 0x40
cmp al, 0x41
jne 0x4e0bfe
mov byte [edi], 0x41
movzx eax, byte [edi]
push eax
push ebp
call fcn.00529490
add esp, 8
test eax, eax
je 0x4e0c12
mov byte [edi], 0x41
mov ecx, dword [esp + 0x10]
inc edi
mov ebx, dword [esp + 0x2c]
inc ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x14]
jl 0x4e0b20
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov dword [eax], edx
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret