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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov dword [ebp - 0x50], 0x30
mov eax, dword [ebp - 0x50]
mov eax, dword fs:[eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
sub eax, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 8], 0x100
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x25c]
mov dword [esp], eax
call sym._mbstowcs
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x25c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._wcsstr
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4015dc
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x28]
mov dword [esp + 4], eax
mov dword [esp], str.Find_target_DLL:__S_n
call sym._printf
jmp 0x4015ed
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x28]
jne 0x401574
cmp dword [ebp - 0x10], 0
jne 0x4015fd
mov eax, 0
jmp 0x401714
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x7c]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x40169a
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
lea edx, [eax*4]
mov eax, dword [ebp - 0x3c]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x401696
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.target_function__s_found__index_is_:__d_n
call sym._printf
jmp 0x4016a7
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x18]
cmp edx, eax
jb 0x401637
mov dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x14], 0xffffffff
je 0x4016d6
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x44]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x40170f
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
lea edx, [eax*4]
mov eax, dword [ebp - 0x4c]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
jmp 0x401714
mov eax, 0
leave
ret