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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x54], ebx
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x60], ebx
xor eax, eax
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
lea esi, [esp + 0x38]
mov dword [esp + 0x30], ebx
stosd dword es:[edi], eax
call fcn.0040b808
lea esi, [esp + 0x84]
mov eax, 0xae
mov dword [esp + 0x38], 0x408e9c
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.00413de7
lea esi, [esp + 0xac]
mov eax, 0xaf
call fcn.00413de7
mov eax, esi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00423263
test al, al
jne 0x430278
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00423263
test al, al
je 0x4303b8
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x4092e0
mov dword [esp + 0x2c], 3
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
lea esi, [esp + 0xd8]
call fcn.00413de7
cmp dword [esp + 0x44], ebx
jne 0x4302da
push 0x408e94
call edi
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x4303a4
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0x14], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x43030d
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push ebx
push 0x30
push esi
push dword [esp + 0x54]
push eax
call dword [ecx + 0x50]
test eax, eax
je 0x43030d
mov dword [esp + 0x10], ebx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x4303a4
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x38]
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x43039a
cmp dword [esp + 0x6c], 1
jne 0x43039a
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x78]
push edx
push ebx
push 0x4092e8
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x430390
cmp word [esp + 0x70], 8
jne 0x430385
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x430385
cmp word [eax], bx
je 0x430385
push eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
or eax, 0xffffffff
call fcn.0041bcd7
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add dword [esp + 0x1c], 2
add dword [esp + 0x14], 4
dec dword [esp + 0x2c]
jne 0x4302ae
lea esi, [esp + 0x38]
call fcn.0042323c
lea esi, [esp + 0x20]
call fcn.0040b808
mov dword [esp + 0x28], ebx
mov ebx, esi
mov dword [esp + 0x20], 0x408fb4
call fcn.004281ba
test al, al
je 0x43040d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x4303ff
cmp word [esp + 0x10], 0xffff
sete al
jmp 0x430401
xor al, al
test al, al
je 0x43040d
mov dword [esp + 0x30], 1
lea esi, [esp + 0x20]
call fcn.0042819c
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
lea ebx, [ecx + eax + 8]
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x430432
xor edi, edi
jmp 0x43049e
mov eax, ebx
call fcn.00421cb4
mov edi, eax
test edi, edi
je 0x43049e
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
mov dword [edi + 1], eax
mov byte [edi], 1
mov al, byte [esp + 0x50]
mov byte [edi + 5], al
mov al, byte [esp + 0x5c]
mov byte [edi + 6], al
mov al, byte [esp + 0x68]
mov byte [edi + 7], al
movzx eax, byte [edi + 5]
push eax
push dword [esp + 0x4c]
lea ebx, [edi + 8]
push ebx
call esi
movzx eax, byte [edi + 5]
add ebx, eax
movzx eax, byte [edi + 6]
push eax
push dword [esp + 0x64]
push ebx
call esi
movzx eax, byte [edi + 7]
push eax
movzx eax, byte [edi + 6]
push dword [esp + 0x7c]
add eax, ebx
push eax
call esi
mov ebx, dword [esp + 0x3c]
add esp, 0x24
lea esi, [esp + 0x48]
call fcn.0041bcc7
lea esi, [esp + 0x54]
call fcn.0041bcc7
lea esi, [esp + 0x60]
call fcn.0041bcc7
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4