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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e34a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x595cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0x7c], ecx
jle 0x40ffbe
nop dword [eax + eax]
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x18]
lea esi, [edx + 0x78]
push dword [esi + 8]
mov dword [ebp - 0x24], edx
push 0
lea edi, [eax + ecx*8]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x1c], edi
call dword [eax + 4]
cmp dword [edi], 0
mov dword [ebp - 0x28], 0
jbe 0x40ff0d
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
nop
push 4
mov dword [ebp - 4], 0
call fcn.004f457c
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [edi], 0
mov byte [ebp - 4], 0
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
jne 0x40feef
mov ecx, 1
cmp edx, 0x40
jl 0x40fed9
mov ecx, edx
shr ecx, 2
jmp 0x40fee4
cmp edx, 8
mov eax, 8
cmovge ecx, eax
lea eax, [edx + ecx]
mov ecx, esi
push eax
call fcn.0041b0f0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*4], edi
inc dword [esi + 8]
mov edi, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 4], 0xffffffff
cmp ebx, dword [edi]
jb 0x40fea0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
add esi, 0x8c
mov ecx, esi
push dword [esi + 8]
mov eax, dword [esi]
push 0
call dword [eax + 4]
cmp dword [edi + 4], 0
mov dword [ebp - 0x28], 0
jbe 0x40ffae
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0
nop dword [eax]
push 4
mov dword [ebp - 4], 3
call fcn.004f457c
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [edi], 0
mov byte [ebp - 4], 3
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
jne 0x40ff8f
mov ecx, 1
cmp edx, 0x40
jl 0x40ff79
mov ecx, edx
shr ecx, 2
jmp 0x40ff84
cmp edx, 8
mov eax, 8
cmovge ecx, eax
lea eax, [ecx + edx]
mov ecx, esi
push eax
call fcn.0041b0f0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*4], edi
inc dword [esi + 8]
mov eax, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 4], 0xffffffff
cmp ebx, dword [eax + 4]
jb 0x40ff40
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebx + 0x7c]
jl 0x40fe60
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x28], ecx
jle 0x41019b
nop dword [eax]
mov eax, dword [ebx + 0x2c]
xor edx, edx
mov edi, dword [eax + ecx*8]
lea esi, [eax + ecx*8]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edi
cmp edx, ecx
jae 0x4101c4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + edx*8]
cmp edi, eax
jb 0x40fffb
sub edi, eax
inc edx
jmp 0x40ffde
mov esi, dword [esi + 4]
xor ecx, ecx
mov dword [ebp - 0x28], esi
cmp ecx, dword [ebx + 0x14]
jae 0x4101c4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + ecx*8 + 4]
cmp esi, eax
jb 0x41001c
sub esi, eax
inc ecx
jmp 0x410000
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 0x30], eax
push 0xc
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + edx*4]
mov eax, dword [eax + 0x84]
mov edi, dword [eax + edi*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [eax + ebx*4]
call fcn.004f457c
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [esi + 4], 0
push esi
mov dword [esi], vtable.CSequentialInStreamForBinder.0
call fcn.00402070
mov dword [ebp - 4], 6
mov dword [esi + 8], ebx
push 0xc
mov dword [ebp - 0x34], 0
mov dword [edi], esi
call fcn.004f457c
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [esi + 4], 0
push esi
mov dword [esi], vtable.CSequentialOutStreamForBinder.0
call fcn.00402070
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], ebx
mov dword [eax], esi
mov dword [ebx + 0x10], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 9
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
mov eax, dword [ebx + 0x80]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4100fd
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x56a748
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x80]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x410121
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x56a748
push ecx
call dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x410162
test ecx, ecx
je 0x410162
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x24]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push 0x80000
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x410173
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xc
test eax, eax
je 0x410184
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x28]
jl 0x40ffd0
xor edi, edi
cmp dword [ebx + 0x3c], edi
jle 0x410218
mov eax, dword [ebx + 0x40]
xor ecx, ecx
mov esi, dword [ebx + 0x14]
mov edx, dword [eax + edi*4]
cmp ecx, esi
jae 0x4101c4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + ecx*8]
cmp edx, eax
jb 0x4101d9
sub edx, eax
inc ecx
jmp 0x4101b1
push 0x58e4c8
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
call fcn.004f9e9f
mov eax, dword [ebx + 0x80]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x84]
mov esi, dword [ecx + edi*4]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x410201
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x410210
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
inc edi
mov dword [eax], esi
cmp edi, dword [ebx + 0x3c]
jl 0x4101a6
xor edi, edi
cmp dword [ebx + 0x50], edi
jle 0x410283
nop
mov eax, dword [ebx + 0x54]
xor ecx, ecx
mov esi, dword [ebx + 0x14]
mov edx, dword [eax + edi*4]
nop dword [eax + eax]
cmp ecx, esi
jae 0x410299
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + ecx*8 + 4]
cmp edx, eax
jb 0x410244
sub edx, eax
inc ecx
jmp 0x410230
mov eax, dword [ebx + 0x80]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x98]
mov esi, dword [ecx + edi*4]
mov eax, dword [eax + edx*4]
mov dword [ebp + 8], eax
test esi, esi
je 0x41026c
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x41027b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
inc edi
mov dword [eax], esi
cmp edi, dword [ebx + 0x50]
jl 0x410220
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x58e4c8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 1
push eax
call fcn.004f9e9f
int3