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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [ebp + 8]
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
cmp dword [ebp + 8], 0
mov dword [esp + 0x84], eax
jne 0x475f3f
jmp 0x476725
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, esp
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], str.number_of_exports
mov dword [ecx + 4], 0
mov dword [ecx], 0
call fcn.0048a14c
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
call fcn.0048280c
mov dword [esp + 0xcc], eax
cmp dword [esp + 0xcc], 0
jne 0x475f99
jmp 0x476725
mov eax, dword [esp + 0xcc]
cmp dword [eax], 0
jne 0x475faa
jmp 0x476725
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xcc]
mov ecx, dword [ecx]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0
call fcn.00482900
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
test eax, eax
jns 0x475fe9
jmp 0x475fe4
jmp 0x476725
mov eax, 0x28
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xcc]
mov edx, dword [edx + 4]
mov dword [esp + 0xac], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
add edx, ecx
mov dword [esp + 0xc8], edx
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 4]
ja 0x47604a
mov eax, dword [esp + 0xc8]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx]
jb 0x47604a
mov eax, dword [esp + 0xc8]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
add ecx, 0xffffffd8
cmp eax, ecx
jbe 0x47604f
jmp 0x476725
mov eax, dword [esp + 0xc8]
cmp dword [eax + 0x14], 0x2000
jae 0x47606f
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x78], eax
jmp 0x47607a
mov eax, 0x2000
mov dword [esp + 0x78], eax
jmp 0x47607a
mov eax, dword [esp + 0x78]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xb4], ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov edx, esp
mov dword [edx + 8], ecx
mov dword [edx], eax
mov dword [edx + 0xc], str.export_timestamp
mov dword [edx + 4], 0
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc8]
mov edx, dword [edx + 0xc]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esp + 0x74], eax
call fcn.00482900
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
sub ecx, 1
sbb eax, 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
jl 0x476180
jmp 0x47610b
lea eax, str.dll_name
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov esi, dword [esp + 0xa0]
sub edx, esi
mov dword [esp + 0x9c], edx
mov ecx, dword [ecx]
add ecx, esi
mov edx, dword [esp + 0x9c]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esp + 0x68], eax
call fcn.0076d094
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [esp + 0xa0]
add eax, ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
call fcn.0048a324
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xbc]
shl eax, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
xor edi, edi
sub ecx, edx
sbb edi, esi
sub ecx, eax
sbb edi, 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edi
jge 0x4761ba
jmp 0x4761b5
jmp 0x476725
mov eax, dword [esp + 0xc8]
cmp dword [eax + 0x18], 0
jbe 0x47625d
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc8]
mov ecx, dword [ecx + 0x20]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0
call fcn.00482900
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
test eax, eax
jns 0x47620b
jmp 0x476206
jmp 0x476725
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0x18]
shl eax, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
xor edi, edi
sub ecx, edx
sbb edi, esi
sub ecx, eax
sbb edi, 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edi
jge 0x476248
jmp 0x476243
jmp 0x476725
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [esp + 0xa0]
add eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc8]
mov ecx, dword [ecx + 0x24]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0
call fcn.00482900
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
test eax, eax
jns 0x47629d
jmp 0x476298
jmp 0x476725
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [esp + 0xa0]
add eax, ecx
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00477780
mov ecx, dword [esp + 0xbc]
shl ecx, 1
cmp eax, ecx
jae 0x4762db
jmp 0x476725
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc8]
mov ecx, dword [ecx + 0x1c]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0
call fcn.00482900
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
test eax, eax
jns 0x47631b
jmp 0x476316
jmp 0x476725
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [esp + 0xa0]
add eax, ecx
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00477780
mov ecx, dword [esp + 0xbc]
shl ecx, 2
cmp eax, ecx
jae 0x476359
jmp 0x476725
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0x18]
cmp eax, dword [esp + 0xbc]
jae 0x47637c
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
jmp 0x476387
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0xc4]
cmp eax, dword [esp + 0xbc]
jae 0x4766fc
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc4]
add eax, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x94]
mov esi, esp
mov dword [esi + 0x10], edx
mov dword [esi + 8], ecx
mov dword [esi], eax
mov dword [esi + 0xc], str.export_details__i_.ordinal
mov dword [esi + 4], 0
call fcn.0048a14c
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0xc4]
mov edx, dword [edx + esi*4]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esp + 0x4c], eax
call fcn.00482900
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xb0]
xor esi, esi
sub edx, ecx
sbb esi, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edx
jge 0x476526
jmp 0x47644f
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xac]
add edx, esi
sub eax, edx
sbb ecx, 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
jge 0x476526
jmp 0x476482
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xa0]
sub ecx, edx
mov dword [esp + 0x9c], ecx
mov eax, dword [eax]
add eax, edx
mov ecx, dword [esp + 0x9c]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
call fcn.0076d094
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [esp + 0xa0]
add eax, ecx
cmp dword [esp + 0x98], 0x200
mov dword [esp + 0x38], eax
jae 0x4764e2
mov eax, dword [esp + 0x98]
mov dword [esp + 0x34], eax
jmp 0x4764ed
mov eax, pe_nt_image_headers32
mov dword [esp + 0x34], eax
jmp 0x4764ed
mov eax, dword [esp + 0x34]
lea ecx, str.export_details__i_.forward_name
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x38]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.0048a324
mov dword [esp + 0x30], eax
jmp 0x47655e
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov esi, dword [esp + 0x94]
mov edi, esp
mov dword [edi + 0x10], esi
mov dword [edi + 8], edx
mov dword [edi + 4], ecx
mov dword [edi], eax
mov dword [edi + 0xc], str.export_details__i_.offset
call fcn.0048a14c
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x90], 0
je 0x4766d5
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0xbc]
jae 0x4766d3
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xc0]
movzx eax, word [eax + ecx*2]
cmp eax, dword [esp + 0xc4]
jne 0x4766bb
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0xb8]
jae 0x4766bb
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0xc0]
mov ecx, dword [ecx + edx*4]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [edx + 8], 0
call fcn.00482900
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
sub ecx, 1
sbb eax, 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
jl 0x4766b9
jmp 0x476617
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xa0]
sub ecx, edx
mov dword [esp + 0x9c], ecx
mov eax, dword [eax]
add eax, edx
mov ecx, dword [esp + 0x9c]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
call fcn.0076d094
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [esp + 0xa0]
add eax, ecx
cmp dword [esp + 0x98], 0x200
mov dword [esp + 0x20], eax
jae 0x476677
mov eax, dword [esp + 0x98]
mov dword [esp + 0x1c], eax
jmp 0x476682
mov eax, pe_nt_image_headers32
mov dword [esp + 0x1c], eax
jmp 0x476682
mov eax, dword [esp + 0x1c]
lea ecx, str.export_details__i_.name
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x20]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.0048a324
mov dword [esp + 0x18], eax
jmp 0x4766d3
jmp 0x4766bd
mov eax, dword [esp + 0xc0]
add eax, 1
mov dword [esp + 0xc0], eax
jmp 0x476577
jmp 0x4766d5
mov eax, dword [esp + 0x94]
add eax, 1
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xc4]
add eax, 1
mov dword [esp + 0xc4], eax
jmp 0x47639d
xor eax, eax
mov ecx, dword [esp + 0x94]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [esi + 0xc], str.number_of_exports
call fcn.0048a14c
mov dword [esp + 0x14], eax
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret