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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
push ebx
xor ebx, ebx
push ebp
push esi
mov dword [esp + 0x64], ecx
push edi
lea ecx, [esp + 0x54]
mov esi, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.0040fdf4
lea edx, [esp + 0x84]
mov ecx, 0xb8
mov dword [esp + 0x54], 0x407a5c
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0041c8a9
lea edx, [esp + 0xac]
mov ecx, 0xb9
call fcn.0041c8a9
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x58]
call fcn.004184d2
or ebp, 0xffffffff
test al, al
jne 0x415ae6
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x58]
call fcn.004184d2
test al, al
je 0x415c1f
mov ebp, dword [esp + 0x60]
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov esi, 0x4079a0
mov dword [esp + 0x2c], 3
mov cx, word [esi]
lea edx, [esp + 0xd8]
call fcn.0041c8a9
test ebp, ebp
jne 0x415b3f
push 0x407a54
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
test ebp, ebp
je 0x415c04
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
je 0x415b7a
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push ebx
push 0x30
push edi
push ebp
push eax
call dword [ecx + 0x50]
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x415c04
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 1
push 0x2710
push edi
call dword [eax + 0x10]
test eax, eax
jne 0x415bfe
cmp dword [esp + 0x6c], 1
jne 0x415bfe
mov eax, dword [esp + 0x28]
push ebx
mov ecx, dword [eax]
push ebx
lea edx, [esp + 0x78]
push edx
push ebx
push 0x407988
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x415bf4
cmp word [esp + 0x70], 8
jne 0x415be9
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x415be9
cmp word [ecx], bx
je 0x415be9
mov eax, dword [esp + 0x18]
or edx, 0xffffffff
push dword [eax]
call fcn.004342b8
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
add dword [esp + 0x18], 4
add esi, 2
dec dword [esp + 0x2c]
jne 0x415b17
mov dword [esp + 0x60], ebp
mov esi, ebx
or ebp, 0xffffffff
lea ecx, [esp + 0x54]
call fcn.004184a7
lea ecx, [esp + 0x1c]
call fcn.0040fdf4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x4076b4
mov dword [esp + 0x24], ebx
call fcn.0040b257
test al, al
je 0x415c71
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x415c67
cmp word [esp + 0x14], bp
sete al
jmp 0x415c69
mov al, bl
test al, al
push 1
pop eax
cmovne esi, eax
lea ecx, [esp + 0x1c]
call fcn.0040b235
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
add ecx, dword [esp + 0x50]
add ebp, 8
add ebp, ecx
je 0x415cf2
mov ecx, ebp
call fcn.00430dfe
mov ebx, eax
test ebx, ebx
je 0x415cf2
xor eax, eax
inc eax
mov byte [ebx], al
mov dword [ebx + 1], esi
mov cl, byte [esp + 0x38]
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
mov byte [ebx + 5], cl
mov al, byte [esp + 0x44]
mov byte [ebx + 6], al
mov al, byte [esp + 0x50]
mov byte [ebx + 7], al
movzx eax, cl
push eax
push dword [esp + 0x34]
lea edi, [ebx + 8]
push edi
call esi
movzx eax, byte [ebx + 5]
add edi, eax
movzx eax, byte [ebx + 6]
push eax
push dword [esp + 0x4c]
push edi
call esi
movzx eax, byte [ebx + 7]
push eax
movzx eax, byte [ebx + 6]
push dword [esp + 0x64]
add eax, edi
push eax
call esi
add esp, 0x24
lea ecx, [esp + 0x30]
call fcn.0043429e
lea ecx, [esp + 0x3c]
call fcn.0043429e
lea ecx, [esp + 0x48]
call fcn.0043429e
mov eax, dword [esp + 0x68]
pop edi
mov dword [eax], ebp
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret