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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xbcf841
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 0x44]
xor ebx, ebx
push esi
mov dword [esp + 0x24], ebx
call ecx
test eax, eax
js 0xb502d0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0xb502d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
push ecx
push eax
xor edi, edi
call edx
test eax, eax
js 0xb502c4
cmp dword [esp + 0x14], ebx
je 0xb502b8
cmp edi, ebx
je 0xb50119
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0xc8], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00b51e10
test eax, eax
js 0xb5026c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xb5026c
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x4c]
call fcn.00a948c0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0xc8], 1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x80]
call fcn.00b51be0
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00b51d30
mov ecx, edi
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0xdc], 2
call fcn.00a2c4e0
add esp, 0x14
mov ecx, dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0xc8], 3
call fcn.00a2b670
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call fcn.00a29870
mov edi, 0x10
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x78], edi
jb 0xb5021b
mov edx, dword [esp + 0x64]
push edx
call fcn.00b68a36
add esp, 4
mov byte [esp + 0xc8], 1
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0xb0], edi
jb 0xb5024c
mov eax, dword [esp + 0x9c]
push eax
call fcn.00b68a36
add esp, 4
mov byte [esp + 0xc8], bl
cmp dword [esp + 0x94], edi
jb 0xb5026c
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00b68a36
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0xb5028f
mov edx, dword [esp + 0x48]
push edx
call fcn.00b68a36
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call eax
test eax, eax
jns 0xb50103
cmp edi, ebx
je 0xb502c4
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x30
mov dword [esp + 0x38], ebx
call fcn.00b68a50
add esp, 4
cmp eax, ebx
je 0xb5065a
mov dword [esp + 0x30], eax
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x30]
mov byte [eax + 0x2c], 1
mov ecx, dword [esp + 0x30]
mov byte [ecx + 0x2d], 1
mov dword [esp + 0xc8], 5
mov edx, dword [esi]
mov ecx, dword [edx + 0x34]
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], ebx
call ecx
cmp eax, ebx
mov eax, dword [esp + 0x18]
jl 0xb505f2
cmp eax, ebx
je 0xb505fe
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
test eax, eax
js 0xb505bf
cmp dword [esp + 0x3c], 1
jne 0xb505bf
mov esi, 0xf
mov dword [esp + 0x94], esi
mov byte [esp + 0xc8], 6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00b51e10
test eax, eax
js 0xb503c1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xb503c1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x84]
call fcn.00a948c0
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x78], esi
mov byte [esp + 0xc8], 7
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00b51e00
test eax, eax
js 0xb50417
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xb50417
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x68]
call fcn.00a948c0
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x28]
push ebx
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00a29870
mov byte [esp + 0xc8], 8
cmp dword [esi + 0x10], ebx
je 0xb5044e
push 0x2f
push 1
lea ecx, [esp + 0x50]
call fcn.00a297c0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
call fcn.00a277b0
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 4]
lea edx, [esp + 0x48]
push edx
mov esi, ecx
call fcn.00a79170
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 4]
je 0xb504a7
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0xb5048c
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [esp + 0x60]
push eax
push ebx
lea ecx, [esp + 0x58]
call fcn.00a2bb10
test eax, eax
js 0xb504a7
lea eax, [esp + 0x10]
jmp 0xb504b2
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x28]
cmp dword [eax], edi
lea ecx, [esp + 0x80]
lea edi, [esp + 0x2c]
je 0xb5050d
call fcn.00a9c310
inc dword [eax]
mov eax, dword [eax]
push eax
push str.__d_
lea edx, [esp + 0xa4]
push 0x14
push edx
call fcn.00b6adee
lea eax, [esp + 0xac]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xb504f0
sub eax, edx
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x50]
call fcn.00a278a0
jmp 0xb50518
call fcn.00a9c310
mov dword [eax], 1
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00a2b7e0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
mov ecx, eax
call fcn.00a29870
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.00b50070
mov esi, 0x10
add esp, 0xc
mov byte [esp + 0xc8], 7
cmp dword [esp + 0x5c], esi
jb 0xb50566
mov edx, dword [esp + 0x48]
push edx
call fcn.00b68a36
add esp, 4
mov edi, 0xf
mov byte [esp + 0xc8], 6
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x78], esi
jb 0xb50592
mov eax, dword [esp + 0x64]
push eax
call fcn.00b68a36
add esp, 4
mov byte [esp + 0xc8], 5
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x94], esi
jb 0xb505bf
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00b68a36
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp edi, ebx
jge 0xb50332
cmp eax, ebx
je 0xb505fe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc8], 9
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x34]
call fcn.00a9c8a0
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [esp + 0x30]
push eax
call fcn.00b68a36
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00b68a41
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], 4
call fcn.00a24df0
int3