Function at 0x411b90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b2c7
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x437454]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 4]
call fcn.00411040
lea ecx, [edi + 0x58]
call fcn.004125d0
push 0x66
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
mov eax, dword [edi + 4]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.00410f40
lea ecx, [edi + 0x28]
lea esi, [eax + 4]
lea ebx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ecx
call fcn.00412020
mov edx, dword [edi + 4]
push 0x3e8
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x21c], eax
call fcn.0040e7e0
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x21c]
lea ebx, [edi + 0x78]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x224], ebx
call fcn.00414080
test eax, eax
js 0x411df0
cmp dword [ebx], 0
je 0x411df0
lea ebx, [edi + 0x80]
push ebx
call fcn.00413d20
mov edx, dword [edi + 0x84]
mov esi, dword [ebx]
push edx
call fcn.00404a40
mov eax, dword [edi + 4]
mov ecx, dword [ebx]
mov dword [ecx + 0x10c], eax
mov esi, dword [ebx]
mov dword [ebp - 0x23c], esi
test esi, esi
je 0x411ca4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
push esi
lea edx, [ebp - 0x21c]
push edx
mov byte [ebp - 4], 1
call fcn.00412090
mov dword [ebp - 0x220], 0
push 0x430f10
lea eax, [ebp - 0x21c]
push eax
lea ebx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.00412f50
test eax, eax
js 0x411d05
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x411d05
mov ecx, dword [eax]
mov edx, dword [ecx + 0x74]
push 0
push eax
call edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push 0x4000d
push eax
call edx
mov eax, dword [edi + 0x84]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x431a04
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call fcn.00411f90
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411d44
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ebx, [ebp - 0x228]
call fcn.00406350
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
mov ebx, dword [edx]
test eax, eax
jne 0x411e1b
xor edi, edi
mov dword [ebp - 0x224], edi
lea ecx, [ebp - 0x238]
push ecx
mov edx, ecx
push edx
push ecx
push edx
mov byte [ebp - 4], 4
mov eax, dword [ebx]
mov eax, dword [eax + 0x2c]
push edi
push ebx
call eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411dca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x411de0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
test esi, esi
je 0x411df0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041884c
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x224], edi
test edi, edi
jne 0x411d84
push 0x8007000e
call fcn.00404650
int3