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

Disassembly:
sub esp, 0xec
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xf0]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x104]
push eax
pop eax
xor ebx, ebx
mov ecx, ecx
test al, al
mov ch, ch
test edi, edi
mov edx, edx
mov edx, dword [ecx + 0x3c]
add edx, ecx
nop
mov eax, dword [edx + 0x78]
add eax, ecx
mov cl, cl
mov esi, dword [edx + 0x78]
mov dword [esp + 0x1c], esi
mov ebx, ebx
mov edx, dword [edx + 0x7c]
mov dword [esp + 0x24], edx
test ebx, ebx
mov edx, dword [eax + 0x1c]
add edx, ecx
mov dword [esp + 0x18], edx
test ch, ch
mov ebp, dword [eax + 0x20]
add ebp, ecx
test ebx, ebx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
push ecx
pop ecx
mov edx, dword [eax + 0x10]
mov dh, dh
mov esi, dword [eax + 0x24]
add esi, ecx
mov dword [esp + 0x20], esi
test eax, 0x6d1c
test ah, ah
test edi, 0xffff0000
jne 0x1004e4d0
cmp edi, edx
jb 0x1004e4c9
mov eax, dword [eax + 0x14]
lea eax, [eax + edx - 1]
cmp edi, eax
ja 0x1004e4c9
sub edi, edx
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + edi*4]
add ebx, ecx
mov dh, dh
jmp 0x1004e53f
xor eax, eax
jmp 0x1004e624
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jle 0x1004e53f
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
add eax, ecx
mov ebx, ebx
mov esi, edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [esi]
jne 0x1004e510
test dl, dl
je 0x1004e50c
mov dl, byte [eax + 1]
cmp dl, byte [esi + 1]
jne 0x1004e510
add eax, 2
add esi, 2
test dl, dl
jne 0x1004e4f0
xor eax, eax
jmp 0x1004e515
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x10]
je 0x1004e52c
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x1004e4e0
jmp 0x1004e53f
mov edx, dword [esp + 0x20]
movzx edx, word [edx + eax*2]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + edx*4]
add ebx, ecx
test edx, edx
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax]
cmp ebx, edx
jb 0x1004e622
mov edx, dword [esp + 0x24]
add ecx, edx
add ecx, eax
cmp ebx, ecx
ja 0x1004e622
push 0x63
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.1005e5f0
add esp, 0xc
test eax, 0x4f58
push 0x63
lea ecx, [esp + 0x99]
push 0
push ecx
mov byte [esp + 0xa0], 0
call fcn.1005e5f0
add esp, 0xc
mov ebp, ebp
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
lea edx, [esp + 0x34]
push edx
call esi
test bh, bh
lea eax, [esp + 0x30]
push 0x2e
push eax
call fcn.1005fef0
add esp, 8
test al, al
test eax, eax
je 0x1004e622
mov byte [eax], 0
test esi, esi
add eax, 1
push eax
lea ecx, [esp + 0x98]
push ecx
call esi
test edx, edx
mov al, 0x6c
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0
push edx
pop edx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test edi, edi
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, edi
test eax, eax
je 0x1004e622
lea edx, [esp + 0x94]
push edx
push eax
call fcn.1004e420
add esp, 8
jmp 0x1004e624
mov eax, ebx
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005df84
add esp, 0xec
ret