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

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea esi, [ecx + 4]
mov dword [ecx], 0x10029ec8
push ebx
mov dword [esp + 0x1c], ecx
mov dword [esi], ebx
call fcn.10002e75
push 1
mov dword [esi], ebx
call fcn.10002e89
add esp, 8
mov dword [esi], eax
push 0x100201d8
lea ecx, [esp + 0x14]
mov byte [eax], bl
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x100218cc
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x100218bc
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0x100218ac
mov dword [esp + 0x40], 8
mov dword [esp + 0x44], 0x1002189c
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x4c], 0x1002188c
mov dword [esp + 0x50], 0x20
mov dword [esp + 0x54], 0x10021878
mov dword [esp + 0x58], 0x40
mov dword [esp + 0x5c], 0x10021860
mov dword [esp + 0x60], 0x80
mov dword [esp + 0x64], 0x10021848
mov dword [esp + 0x68], 0x100
mov dword [esp + 0x6c], 0x1002183c
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], 0x1002182c
mov dword [esp + 0x78], 0x400
mov dword [esp + 0x7c], 0x10021818
mov dword [esp + 0x14], ebx
call fcn.10005cf0
mov edi, dword [esp + 0x10]
push edi
mov ecx, esi
call fcn.10005cf0
push edi
call fcn.10002e75
mov ebp, dword [esp + 0x184]
add esp, 4
lea edi, [esp + 0x24]
mov dword [esp + 0x14], 0xb
jmp 0x1000f160
mov eax, dword [edi]
test ebp, eax
je 0x1000f217
not eax
and ebp, eax
mov eax, dword [esi]
xor ecx, ecx
cmp byte [eax], bl
je 0x1000f1ce
add eax, 1
add ecx, 1
cmp byte [eax], bl
jne 0x1000f176
cmp ecx, ebx
je 0x1000f1ce
push 0x10021404
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.10005cf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.1000dbf0
mov edx, dword [eax]
add esp, 0xc
push edx
mov ecx, esi
call fcn.10005cf0
mov eax, dword [esp + 0x20]
push eax
call fcn.10002e75
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x28], ebx
call fcn.10002e75
add esp, 8
mov edx, dword [edi + 4]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.10005cf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.1000dbf0
mov edx, dword [eax]
add esp, 0xc
push edx
mov ecx, esi
call fcn.10005cf0
mov eax, dword [esp + 0x1c]
push eax
call fcn.10002e75
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x24], ebx
call fcn.10002e75
add esp, 8
add edi, 8
sub dword [esp + 0x14], 1
jne 0x1000f160
mov eax, dword [esi]
xor ecx, ecx
cmp byte [eax], bl
je 0x1000f23e
lea ecx, [ecx]
add eax, 1
add ecx, 1
cmp byte [eax], bl
jne 0x1000f230
cmp ecx, ebx
jne 0x1000f276
push 0x100213fc
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.10005cf0
mov edi, dword [esp + 0x14]
push edi
mov ecx, esi
call fcn.10005cf0
push edi
call fcn.10002e75
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 4
cmp ebp, ebx
je 0x1000f33a
push ebp
lea edx, [esp + 0x80]
push 0x100213f4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi]
add esp, 0xc
xor ecx, ecx
cmp byte [eax], bl
je 0x1000f2f4
lea ecx, [ecx]
add eax, 1
add ecx, 1
cmp byte [eax], bl
jne 0x1000f2a0
cmp ecx, ebx
je 0x1000f2f4
push 0x10021404
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.10005cf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.1000dbf0
mov edx, dword [eax]
add esp, 0xc
push edx
mov ecx, esi
call fcn.10005cf0
mov eax, dword [esp + 0x14]
push eax
call fcn.10002e75
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10002e75
add esp, 8
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.10005cf0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.1000dbf0
mov edx, dword [eax]
add esp, 0xc
push edx
mov ecx, esi
call fcn.10005cf0
mov eax, dword [esp + 0x14]
push eax
call fcn.10002e75
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10002e75
add esp, 8
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 4