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

Disassembly:
push 0xc80
mov eax, 0x4217f5
call fcn.00421242
mov ebx, edx
mov dword [ebp - 0xc3c], ebx
mov dword [ebp - 0xc0c], ecx
xor eax, eax
mov dword [ebp - 0xbec], eax
push 0x3b8
push eax
mov dword [ebp - 0xc1c], eax
mov dword [ebp - 0xc08], eax
mov dword [ebp - 0xc28], eax
lea eax, [ebp - 0x3cc]
push eax
call sub.msvcrt.dll_memset
xor ecx, ecx
xor eax, eax
inc ecx
mov dword [ebp - 0xc34], eax
add esp, 0xc
mov dword [ebp - 0xc38], ecx
mov dword [ebp - 0xc2c], eax
mov dword [ebp - 0xc10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xbfc], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0xbf8], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0xbf0], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0xbd4], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0xbd8], eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xbdc], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xbd0], eax
mov byte [ebp - 4], 0xf
mov esi, eax
mov dword [ebp - 0xc14], esi
mov dword [ebp - 0xc20], esi
mov byte [ebp - 4], 0x10
push 0x1fc
push eax
lea eax, [ebp - 0x5cc]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7cc]
mov ecx, 0x100
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x405096
call fcn.0041dbda
mov dword [ebp - 0xc28], eax
test eax, eax
jne 0x405122
push 2
call fcn.004208bb
pop ecx
mov edx, 0x20001
mov ecx, eax
call fcn.0041b108
mov esi, dword [ebx + 0x1400]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x4050dd
movzx edi, di
or edi, 0x80070000
test esi, esi
jne 0x4050e4
shr edi, 0x1f
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0xc10]
mov ecx, dword [ebx + 4]
push eax
push dword [ebx + 0x14]
call fcn.00415bba
mov edi, eax
test edi, edi
jns 0x405187
cmp dword [ebx + 0x1400], 0
jne 0x405149
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xc10]
and dword [ebp - 0xc00], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xbfc]
mov edi, dword [eax]
push ecx
push 0
push eax
mov ecx, dword [edi + 0x1c]
call dword [0x42c30c]
call dword [edi + 0x1c]
mov edi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc00]
call fcn.00407204
test edi, edi
jns 0x405216
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4051d8
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov edx, dword [ebp - 0xbfc]
lea edi, [ebx + 0x18]
push 0
push edi
lea ecx, [ebp - 0xc28]
mov dword [ebp - 0xc00], edi
call fcn.0040eb4f
test eax, eax
jne 0x4052bc
push edi
push 0x7a
pop ecx
call fcn.0041b2d7
push eax
lea eax, [ebp - 0x3cc]
push 0x1dc
push eax
call fcn.0040719d
push 2
call fcn.004208bb
add esp, 0x14
lea edx, [ebp - 0x3cc]
mov ecx, eax
call fcn.0041bd93
mov edi, dword [ebx + 0x1400]
mov byte [ebp - 4], 0xf
neg edi
push 0
sbb edi, edi
and edi, 0x80004004
inc edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbfc]
lea ecx, [ebp - 0xbf8]
push ecx
lea ecx, [ebx + 0x18]
push ecx
mov edi, dword [eax]
push eax
mov ecx, dword [edi + 0x34]
call dword [0x42c30c]
call dword [edi + 0x34]
mov edi, eax
test edi, edi
jns 0x405333
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4052f5
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
mov eax, dword [ebp - 0xbf8]
mov ecx, dword [eax]
je 0x40550d
mov edi, dword [ecx + 0x28]
lea edx, [ebp - 0xbe8]
push edx
push eax
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x4053b4
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405376
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
xor edx, edx
cmp dword [ebx + 0x13f0], edx
je 0x40547c
cmp word [ebp - 0xbe8], dx
je 0x405409
mov ecx, 0x9c4
push dword [ebp - 0xc00]
call fcn.0041b2d7
push eax
lea eax, [ebp - 0x3cc]
push 0x1dc
push eax
call fcn.0040719d
push 1
call fcn.004208bb
add esp, 0x14
lea edx, [ebp - 0x3cc]
mov ecx, eax
call fcn.0041bd93
jmp 0x406650
mov eax, dword [ebp - 0xbf8]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x2c]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x406650
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x40543e
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
cmp dword [ebx + 0x13f4], edx
je 0x406650
cmp word [ebp - 0xbe8], dx
jne 0x40549b
mov ecx, 0x9c5
jmp 0x4053d0
mov eax, dword [ebp - 0xbf8]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x2c]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x406650
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4054cf
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov edi, dword [ecx + 0x4c]
lea edx, [ebp - 0xbf0]
push edx
push eax
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405579
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x40553b
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov edi, dword [ebp - 0xc0c]
xor ecx, ecx
xor eax, eax
inc ecx
mov word [ebp - 0x5cc], ax
cmp dword [edi + 0x1ac], ecx
jne 0x4055a4
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc1c], eax
mov dword [ebp - 0xc18], ecx
jmp 0x40561a
push ecx
mov ecx, dword [ebp - 0xbf0]
lea edx, [ebp - 0x5cc]
call fcn.004132b7
mov edi, eax
test edi, edi
jns 0x40560d
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4055cf
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
and dword [ebp - 0xc18], 0
mov edi, dword [ebp - 0xc0c]
lea eax, [ebp - 0x5cc]
push eax
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrlenW]
test eax, eax
jne 0x4056a7
cmp dword [ebx + 0x13e8], eax
je 0x4056a7
cmp dword [edi + 0x1ac], eax
jne 0x4056a7
mov ecx, 0xba
call fcn.0041b2d7
push 2
mov esi, eax
call fcn.004208bb
pop ecx
mov edx, esi
mov ecx, eax
call fcn.0041bd93
mov edi, dword [ebx + 0x1400]
mov byte [ebp - 4], 0xf
neg edi
push 0
sbb edi, edi
and edi, 0x80004004
inc edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
cmp dword [edi + 0x29c], 1
jne 0x405b06
push 0x1fc
lea eax, [ebp - 0xbcc]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0xbe4], 0
add esp, 0xc
mov byte [ebp - 4], 0x1e
and dword [ebp - 0xbe0], 0
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0xbcc]
push eax
lea ecx, [ebx + 0x9e4]
lea edx, [ebp - 0x7cc]
call fcn.0040a987
cmp eax, 1
jne 0x40576a
mov edi, dword [ebx + 0x1400]
mov byte [ebp - 4], 0x1e
neg edi
lea ecx, [ebp - 0xbe0]
sbb edi, edi
and edi, 0x80004004
inc edi
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbf0]
lea edx, [ebp - 0xbe4]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x44]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x4057fc
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4057a0
xor edi, edi
inc edi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xbe0]
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbe4]
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x38]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405887
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x40582b
xor edi, edi
inc edi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xbe0]
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbe4]
lea ecx, [ebp - 0xbe0]
push ecx
push 0
push eax
mov edi, dword [eax]
mov ecx, dword [edi + 0x30]
call dword [0x42c30c]
call dword [edi + 0x30]
mov edi, eax
test edi, edi
jns 0x40591a
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4058be
xor edi, edi
inc edi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xbe0]
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbe0]
lea edx, [ebp - 0x7cc]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x2c]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x4059ac
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405950
xor edi, edi
inc edi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xbe0]
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
lea eax, [ebp - 0x7cc]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x405a56
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0xbe0]
push eax
push ecx
mov edx, dword [ecx]
mov edi, dword [edx + 0x3c]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405a56
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4059fa
xor edi, edi
inc edi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xbe0]
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbe0]
lea edx, [ebp - 0xbcc]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x34]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405ae8
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405a8c
xor edi, edi
inc edi
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xbe0]
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xbe0]
call fcn.00403a70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbe4]
call fcn.00403a70
mov eax, dword [ebp - 0xbf0]
lea edx, [ebp - 0xbd4]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x2c]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405b7a
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405b3c
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbd4]
lea edx, [ebp - 0xbe8]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x74]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405bee
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405bb0
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
cmp dword [ebx + 0x13f0], 0
je 0x405c82
cmp word [ebp - 0xbe8], 0
je 0x405c0f
mov ecx, 0x9c4
jmp 0x405c9e
mov eax, dword [ebp - 0xbd4]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x78]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405cd0
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405c44
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
cmp dword [ebx + 0x13f4], 0
je 0x405cd0
cmp word [ebp - 0xbe8], 0
jne 0x405d56
mov ecx, 0x9c5
lea eax, [ebx + 0x18]
push eax
call fcn.0041b2d7
push eax
lea eax, [ebp - 0x3cc]
push 0x1dc
push eax
call fcn.0040719d
push 1
call fcn.004208bb
add esp, 0x14
lea edx, [ebp - 0x3cc]
mov ecx, eax
call fcn.0041bd93
cmp dword [ebx + 0x13f8], 0
je 0x405dc9
mov eax, dword [ebp - 0xbd4]
push 0x402280
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x80]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405dc9
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405d18
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbd4]
push 0
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x78]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405cd0
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405d8b
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbf0]
lea edx, [ebp - 0xbd8]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x24]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405e3d
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405dff
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbd8]
lea edx, [ebp - 0xc2c]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x1c]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x405eb1
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405e73
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
cmp dword [ebp - 0xc2c], 0
jle 0x405f35
mov ecx, dword [ebp - 0xc0c]
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0xbd8]
mov edx, ebx
push eax
call fcn.004049e3
mov edi, eax
test edi, edi
jns 0x405f35
cmp dword [ebp - 0xc30], 0
jne 0x405eeb
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405ef7
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0xc1c]
mov ecx, ebx
push eax
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0xc38]
push eax
lea eax, [ebp - 0x5cc]
push eax
push dword [ebp - 0xc0c]
call fcn.0040443b
test eax, eax
je 0x405fc2
mov edi, dword [ebx + 0x1400]
mov byte [ebp - 4], 0xf
neg edi
push 0
sbb edi, edi
and edi, 0x80004004
inc edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbf0]
lea edx, [ebp - 0xbd0]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x3c]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x406036
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x405ff8
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov eax, dword [ebp - 0xbd0]
lea edx, [ebp - 0xbf4]
push edx
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x34]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x4060aa
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x40606c
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
test byte [ebx + 0x1408], 0x10
je 0x4060be
xor eax, eax
inc eax
mov dword [ebp - 0xbf4], eax
jmp 0x4060c4
mov eax, dword [ebp - 0xbf4]
cmp dword [ebx + 0x13e8], 0
je 0x4060e7
cmp eax, 1
jne 0x4060de
mov dword [ebp - 0xbf4], 6
jmp 0x4060f6
push 3
pop eax
mov dword [ebp - 0xbf4], eax
cmp eax, 4
jne 0x4060f6
mov dword [ebp - 0xbf4], 3
and dword [ebp - 0xc24], 0
lea eax, [ebp - 0x9cc]
push 0x1fc
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0xc1c]
add esp, 0xc
test edi, edi
je 0x4061f2
mov ecx, edi
call fcn.0040b54c
test eax, eax
je 0x406150
push ecx
mov ecx, dword [ebx + 0x13fc]
lea eax, [ebp - 0x9cc]
push eax
mov edx, edi
call fcn.0040b68d
mov dword [ebp - 0xbf4], 5
jmp 0x4061d4
lea edx, [ebp - 0xc24]
mov ecx, edi
call fcn.004081f8
cmp eax, 1
jne 0x4061c2
mov esi, dword [ebx + 0x1400]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x40617d
movzx edi, di
or edi, 0x80070000
test esi, esi
jne 0x406184
shr edi, 0x1f
mov byte [ebp - 4], 0xf
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
push 0xfe
mov edx, edi
lea ecx, [ebp - 0x9cc]
call fcn.0041bc68
lea eax, [ebp - 0x9cc]
push eax
lea ecx, [ebp - 0xc20]
call fcn.0040715c
mov esi, dword [ebp - 0xc20]
mov dword [ebp - 0xc14], esi
mov eax, dword [ebx + 0x13e8]
test eax, eax
je 0x40626a
mov eax, dword [ebp - 0xbd0]
push 3
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x38]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x40626a
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x40622d
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
mov ecx, dword [ebx + 0x1404]
test ecx, ecx
je 0x4062e2
mov eax, dword [ebp - 0xbd0]
dec ecx
push ecx
push eax
mov edx, dword [eax]
mov edi, dword [edx + 0x48]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
jns 0x4062e2
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x4062a5
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
cmp dword [ebp - 0xc24], 0
je 0x40634f
mov ecx, dword [ebp - 0xbd0]
and dword [ebp - 0xc04], 0
mov byte [ebp - 4], 0x36
mov eax, dword [ecx]
push dword [ebp - 0xc04]
push ecx
mov edi, dword [eax + 0x30]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
mov byte [ebp - 4], 0x10
push dword [ebp - 0xc04]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x406382
mov eax, dword [ebp - 0xbd0]
push esi
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x40]
mov ecx, edi
call dword [0x42c30c]
call edi
mov edi, eax
test edi, edi
js 0x406382
mov dword [ebp - 0xbf4], 4
mov edi, dword [ebp - 0xc08]
test edi, edi
je 0x4063d2
mov ecx, edi
call fcn.0041bcfd
test eax, eax
je 0x4063d2
xor ebx, ebx
lea ecx, [ebp - 0xc8c]
push edi
inc ebx
call fcn.004070e5
mov dword [ebp - 0xc08], eax
mov byte [ebp - 4], 0x38
xor edi, edi
inc edi
jmp 0x4063f7
mov ecx, edi
call fcn.004039c0
cmp dword [ebx + 0x1400], 0
jne 0x406395
shr edi, 0x1f
mov byte [ebp - 4], 0xf
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
jmp 0x4065e9
lea eax, [ebp - 0xc6c]
xor ebx, ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xc6c]
mov dword [ebp - 0xc08], eax
mov dword [ebp - 4], 0x39
push 2
pop edi
mov dword [ebp - 0xbec], edi
cmp dword [ebp - 0xc18], 0
jne 0x40642f
test ebx, ebx
jne 0x40642f
lea eax, [ebp - 0xc5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xc5c]
mov dword [ebp - 0xc04], eax
mov dword [ebp - 4], 0x3a
or edi, 4
jmp 0x40644b
push esi
lea ecx, [ebp - 0xc7c]
call fcn.004070e5
mov dword [ebp - 0xc04], eax
mov dword [ebp - 4], 0x3b
or edi, 8
lea eax, [ebp - 0xc4c]
mov dword [ebp - 0xbec], edi
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], 0x3c
lea ecx, [ebp - 0xbdc]
push ecx
sub esp, 0x10
mov eax, dword [ebp - 0xbfc]
mov edi, esp
lea esi, [ebp - 0xc4c]
push dword [ebp - 0xbf4]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov ebx, dword [eax]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc08]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc04]
mov edi, esp
push 4
push dword [ebp - 0xbf0]
push dword [ebp - 0xc00]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x42c30c]
call dword [ebx + 0x44]
mov edi, eax
mov byte [ebp - 4], 0x3b
lea eax, [ebp - 0xc4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x406725
mov dword [ebp - 4], 0x3a
mov ebx, dword [ebp - 0xbec]
test bl, 8
je 0x40650d
lea eax, [ebp - 0xc7c]
and ebx, 0xfffffff7
push eax
mov dword [ebp - 0xbec], ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x406725
mov dword [ebp - 4], 0x39
test bl, 4
je 0x406537
lea eax, [ebp - 0xc5c]
and ebx, 0xfffffffb
push eax
mov dword [ebp - 0xbec], ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x406725
mov dword [ebp - 4], 0x38
test bl, 2
je 0x406561
lea eax, [ebp - 0xc6c]
and ebx, 0xfffffffd
push eax
mov dword [ebp - 0xbec], ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x406725
mov dword [ebp - 4], 0x10
test bl, 1
je 0x40658b
lea eax, [ebp - 0xc8c]
and ebx, 0xfffffffe
push eax
mov dword [ebp - 0xbec], ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x406725
test edi, edi
jns 0x40664a
mov ecx, edi
call fcn.004039c0
mov eax, dword [ebp - 0xc3c]
cmp dword [eax + 0x1400], 0
jne 0x4065ac
xor edi, edi
inc edi
mov byte [ebp - 4], 0xf
push dword [ebp - 0xc14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xbd4]
test eax, eax
je 0x406607
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42c30c]
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbf0]
call fcn.00403a70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbf8]
call fcn.00403a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbfc]
call fcn.00403a70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc10]
call fcn.00403a70
mov eax, edi
jmp 0x40671d
mov esi, dword [ebp - 0xc14]
push dword [ebp - 0xc00]
mov ecx, 0x12f
call fcn.0041b2d7
push eax
lea eax, [ebp - 0x3cc]
push 0x1dc
push eax
call fcn.0040719d
push 1
call fcn.004208bb
add esp, 0x14
lea edx, [ebp - 0x3cc]
mov ecx, eax
call fcn.0041bd93
mov byte [ebp - 4], 0xf
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00403a70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbdc]
call fcn.00403a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbd8]
call fcn.00403a70
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xbd4]
test eax, eax
je 0x4066df
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x42c30c]
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbf0]
call fcn.00403a70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbf8]
call fcn.00403a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbfc]
call fcn.00403a70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc10]
call fcn.00403a70
xor eax, eax
call fcn.00421200
ret 4
mov ecx, eax
call fcn.004191bd
int3