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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x41ed30
push 0x405c40
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x2060
call fcn.00416ca0
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov dword [ebp - 0x2038], ebx
mov dword [ebp - 0x204c], ecx
mov dword [ebp - 0x2070], ebx
mov eax, dword [ebx]
xor edx, edx
mov esi, edx
mov dword [ebp - 0x2040], edx
mov dword [ebp - 0x2050], edx
mov dword [ebp - 4], edx
test eax, eax
jne 0x402ed4
mov edx, str.WDEP_1.0_404_File_not_found_or_can_not_be_accessed_r_n
jmp 0x403250
lea ecx, [ebp - 0x2028]
mov dword [ebp - 0x2024], ecx
mov dword [ebp - 0x2028], ecx
mov ecx, dword [eax + 0x3c]
movzx edx, word [ecx + eax + 0x18]
mov edi, 0x10b
cmp dx, di
je 0x402f2a
mov edi, 0x20b
cmp dx, di
jne 0x403255
mov edi, dword [ecx + eax + 0x50]
mov dword [ebp - 0x2060], edi
cmp dword [ecx + eax + 0x84], 0
jbe 0x402f49
mov esi, dword [ecx + eax + 0x88]
mov eax, dword [ecx + eax + 0x8c]
jmp 0x402f43
mov edi, dword [ecx + eax + 0x50]
mov dword [ebp - 0x2060], edi
cmp dword [ecx + eax + 0x74], 0
jbe 0x402f49
mov esi, dword [ecx + eax + 0x78]
mov eax, dword [ecx + eax + 0x7c]
mov dword [ebp - 0x2040], eax
test esi, esi
je 0x4031ea
cmp esi, edi
jae 0x4031ea
mov edx, str.WDEP_1.0_200_OK_r_n_export_:
lea ecx, [ebp - 0x2028]
call fcn.004024b4
mov ebx, dword [ebx]
mov dword [ebp - 0x205c], ebx
mov eax, dword [ebx + esi + 0x1c]
add eax, ebx
mov dword [ebp - 0x202c], eax
mov eax, dword [ebx + esi + 0x20]
add eax, ebx
mov dword [ebp - 0x2064], eax
mov ecx, dword [ebx + esi + 0x24]
add ecx, ebx
mov dword [ebp - 0x203c], ecx
mov edx, dword [ebx + esi + 0x18]
mov eax, edx
shl eax, 2
cmp eax, edi
ja 0x402fc7
cmp ecx, ebx
jb 0x402fc7
lea ecx, [ebx + edi]
cmp dword [ebp - 0x203c], ecx
ja 0x402fc7
add eax, dword [ebp - 0x203c]
cmp eax, ecx
ja 0x402fc7
mov dword [ebp - 0x2054], 1
jmp 0x402fce
and dword [ebp - 0x2054], 0
push dword [ebx + esi + 0x10]
push edx
push dword [ebx + esi + 0x14]
push dword [ebx + esi + 4]
push str._library_:_timestamp_:_u__entries_:_u__named_:_u__base_:_u__functions_:_
push 0x1000
lea eax, [ebp - 0x2020]
push eax
call fcn.00401486
add esp, 0x1c
lea edx, [ebp - 0x2020]
lea ecx, [ebp - 0x2028]
call fcn.004024b4
xor edx, edx
mov dword [ebp - 0x2034], edx
cmp edx, dword [ebx + esi + 0x14]
jae 0x4031d4
cmp edi, 4
jb 0x4031d4
mov eax, dword [ebp - 0x202c]
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0x2038]
mov eax, dword [eax]
cmp ecx, eax
jb 0x4031d4
lea ecx, [eax + edi]
mov ebx, dword [ebp - 0x202c]
lea eax, [ebx + edx*4]
cmp eax, ecx
mov ebx, dword [ebp - 0x205c]
ja 0x4031d4
add eax, 4
cmp eax, ecx
ja 0x4031d4
mov eax, dword [ebp - 0x202c]
cmp dword [eax + edx*4], 0
je 0x4031ce
mov eax, dword [ebp - 0x2050]
inc eax
mov dword [ebp - 0x2050], eax
mov dword [ebp - 0x2074], eax
xor eax, eax
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x2058], eax
mov ecx, 0x41d18a
mov dword [ebp - 0x2044], ecx
mov dword [ebp - 0x206c], ecx
and dword [ebp - 0x2048], eax
cmp dword [ebp - 0x2054], eax
je 0x403104
xor ecx, ecx
mov dword [ebp - 0x2068], ecx
cmp ecx, dword [ebx + esi + 0x18]
jae 0x4030fe
mov eax, dword [ebp - 0x203c]
movzx eax, word [eax + ecx*2]
cmp eax, edx
jne 0x4030f5
mov dword [ebp - 0x2048], ecx
mov eax, dword [ebp - 0x2064]
mov eax, dword [eax + ecx*4]
mov edx, dword [ebp - 0x2038]
add eax, dword [edx]
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x2058], eax
mov edx, dword [ebp - 0x2034]
jmp 0x4030fb
mov eax, dword [ebp - 0x2030]
inc ecx
jmp 0x4030b0
mov ecx, dword [ebp - 0x2044]
test eax, eax
jne 0x403120
or dword [ebp - 0x2048], 0xffffffff
mov eax, 0x41d18a
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x2058], eax
mov eax, dword [ebp - 0x202c]
cmp dword [eax + edx*4], esi
jb 0x403161
mov eax, dword [ebp - 0x2040]
add eax, esi
mov ebx, dword [ebp - 0x202c]
cmp dword [ebx + edx*4], eax
mov ebx, dword [ebp - 0x205c]
jae 0x403161
mov eax, dword [ebp - 0x202c]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0x2038]
add ecx, dword [eax]
mov dword [ebp - 0x2044], ecx
mov dword [ebp - 0x206c], ecx
test edx, edx
je 0x403181
mov edx, 0x41cfe8
lea ecx, [ebp - 0x2028]
call fcn.004024b4
mov edx, dword [ebp - 0x2034]
mov ecx, dword [ebp - 0x2044]
push ecx
mov eax, dword [ebp - 0x202c]
push dword [eax + edx*4]
push dword [ebp - 0x2030]
push dword [ebp - 0x2048]
mov eax, dword [ebx + esi + 0x10]
add eax, edx
push eax
push str._ordinal_:_u__hint_:_u__name_:__S___pointer_:_u__forward_:__S_
push 0x1000
lea eax, [ebp - 0x2020]
push eax
call fcn.00401486
add esp, 0x20
lea edx, [ebp - 0x2020]
lea ecx, [ebp - 0x2028]
call fcn.004024b4
mov edx, dword [ebp - 0x2034]
inc edx
jmp 0x403007
mov edx, 0x41e34c
lea ecx, [ebp - 0x2028]
call fcn.004024b4
mov ebx, dword [ebp - 0x2038]
mov edx, 0x41e180
lea ecx, [ebp - 0x2028]
call fcn.004024b4
push ebx
push dword [ebp - 0x204c]
xor edx, edx
inc edx
lea ecx, [ebp - 0x2028]
call fcn.00402579
pop ecx
pop ecx
jmp 0x403255
call fcn.00404508
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00404f0e
leave
ret