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

Disassembly:
push 0xffffffffffffffff
push 0x5c2b50
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x664e94]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
xor esi, esi
lea ecx, [edi + 0x10]
mov dword [esp + 0x18], esi
call fcn.0046d0a0
mov ebp, dword [esp + 0x78]
lea ecx, [edi + 4]
cmp ebp, esi
jne 0x46ddba
xor eax, eax
jmp 0x46ddcf
mov eax, ebp
lea edi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x46ddc0
sub eax, edi
sar eax, 1
push eax
push ebp
call fcn.00401216
push str.Interface.
lea ecx, [esp + 0x28]
call fcn.004039d7
push ebp
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x78], esi
call fcn.004021b5
add esp, 0xc
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46de1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x18]
push edx
call fcn.004583a0
test eax, eax
je 0x46e1af
cmp dword [esp + 0x18], esi
je 0x46e1af
call fcn.00496dcd
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x46de5b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 5
call fcn.004964e5
push str.Pages
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 6
call fcn.004039d7
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x74], 7
call edx
test eax, eax
mov eax, dword [esp + 0x78]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x6c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ded0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46df25
push str.Could_not_load_Pages_entry_in
lea ecx, [esp + 0x78]
call fcn.004039d7
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x78], 8
call fcn.00403e34
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 9
call fcn.0043a37b
push 0x6449c0
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.CIniException.0
call fcn.005902bc
mov bl, 0xa
call fcn.00496dcd
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
je 0x46de51
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x78], eax
push 1
push 0x5d4e28
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x7c], bl
call fcn.0044507b
add esp, 0x10
test eax, eax
je 0x46e0eb
mov eax, dword [esp + 0x78]
cmp dword [eax - 0xc], esi
je 0x46df8f
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00496a66
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46dfb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], esi
jne 0x46df27
mov edi, dword [esp + 0x3c]
test edi, edi
jle 0x46e03d
mov bl, 0xd
jmp 0x46dfd0
lea ecx, [esp + 0x48]
call fcn.0046ceb0
mov byte [esp + 0x6c], bl
test esi, esi
jl 0x46e139
cmp esi, dword [esp + 0x3c]
jge 0x46e139
mov eax, dword [esp + 0x38]
mov eax, dword [eax + esi*4]
mov ecx, dword [esp + 0x74]
push eax
push ebp
push ecx
lea ecx, [esp + 0x54]
call fcn.0046d2e0
lea ecx, [esp + 0x48]
call fcn.0046cd90
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x48]
push edx
push eax
add ecx, 0x10
call fcn.0046d9b0
mov ecx, eax
call fcn.0046d100
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 6
call fcn.0046cf40
inc esi
cmp esi, edi
jl 0x46dfd0
push 0x5f4d30
lea ecx, [esp + 0x78]
call fcn.004039d7
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
add edx, 8
push edx
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x74], 0xe
call eax
test eax, eax
mov eax, dword [esp + 0x74]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x6c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e092
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46e13e
push str.Could_not_load_Start_entry_in
lea ecx, [esp + 0x78]
call fcn.004039d7
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x78], 0xf
call fcn.00403e34
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0x10
call fcn.0043a37b
push 0x6449c0
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.CIniException.0
call fcn.005902bc
push str.Error_while_parsing_Pages_entry_in
lea ecx, [esp + 0x78]
call fcn.004039d7
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x78], 0xb
call fcn.00403e34
add esp, 0xc
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0xc
call fcn.0043a37b
push 0x6449c0
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], vtable.CIniException.0
call fcn.005902bc
call fcn.004963bf
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 5
call fcn.004968d3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46e171
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46e199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
push 0x5f4a38
lea ecx, [esp + 0x78]
call fcn.004039d7
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x78], 3
call fcn.00403e34
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 4
call fcn.0043a37b
push 0x6449c0
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.CIniException.0
call fcn.005902bc
int3