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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], eax
je 0x10001fa6
xor eax, eax
pop ebx
add esp, 0x28
ret
push edi
mov edi, dword [eax + 0x78]
mov dword [esp + 0x20], edi
test edi, edi
je 0x1000218a
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1000218a
push ebp
call fcn.10001e40
mov ebp, eax
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], ebp
call fcn.10001e40
test eax, eax
jne 0x10001fe4
pop ebp
pop edi
pop ebx
add esp, 0x28
ret
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001fe8
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
sub eax, esi
lea ecx, [ecx + ecx*2]
lea edx, [eax + edx*4]
lea eax, [edx + ecx*2 + 0x29]
mov dword [esp + 0x10], eax
call fcn.10001e40
mov ebp, dword [ebp + 0x18]
xor esi, esi
mov dword [esp + 0x14], eax
test ebp, ebp
jbe 0x1000204a
lea ebx, [ebx]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + esi*4]
call fcn.10001e40
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002030
sub eax, edx
mov edx, dword [esp + 0x10]
inc esi
lea eax, [edx + eax + 1]
mov dword [esp + 0x10], eax
cmp esi, ebp
jb 0x10002020
mov ebp, dword [esp + 0x1c]
mov edi, dword [ebp + 0x1c]
call fcn.10001e40
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x24], eax
call fcn.10001e40
xor esi, esi
mov edx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], esi
cmp dword [ebp + 0x14], esi
jbe 0x1000216e
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + esi*4]
test edi, edi
je 0x100020e0
mov eax, dword [esp + 0x28]
cmp edi, eax
jb 0x100020ba
mov ecx, dword [esp + 0x2c]
add ecx, eax
cmp edi, ecx
jae 0x100020ba
call fcn.10001e40
test eax, eax
je 0x1000212d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 2]
mov dword [esp + 0x10], eax
jmp 0x100020e0
mov ecx, dword [ebp + 0x18]
xor eax, eax
test ecx, ecx
jbe 0x100020d0
movzx edi, word [edx + eax*2]
cmp edi, esi
je 0x100020f4
inc eax
cmp eax, ecx
jb 0x100020c3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
lea edx, [eax + ecx + 0xb]
mov dword [esp + 0x10], edx
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [ebp + 0x14]
jae 0x1000216e
mov edx, dword [esp + 0x30]
jmp 0x10002077
cmp eax, 0xffffffff
je 0x100020d0
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + eax*4]
mov eax, dword [ebx + 0x3c]
add eax, ebx
lea ecx, [eax + 0xf8]
movzx eax, word [eax + 6]
xor edx, edx
test eax, eax
jle 0x1000212d
mov edi, dword [ecx + 0xc]
cmp esi, edi
jb 0x10002125
mov ebp, dword [ecx + 0x10]
add ebp, edi
cmp esi, ebp
jb 0x10002137
inc edx
add ecx, 0x28
cmp edx, eax
jl 0x10002115
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x28
ret
mov eax, dword [ecx + 0x14]
sub eax, edi
add eax, esi
add eax, ebx
je 0x1000212d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, dword [esp + 0x18]
jbe 0x10002153
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
add eax, edx
lea edx, [ecx + eax + 2]
jmp 0x100020dc
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
pop esi
lea eax, [ecx + edx - 1]
dec ecx
pop ebp
not ecx
pop edi
and eax, ecx
pop ebx
add esp, 0x28
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x28
ret