Function at 0x403450
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x53b5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
push edi
mov eax, dword [0x58b998]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004181e2
call fcn.004181e2
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0x74], eax
call fcn.00416df7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4034ae
push 0x80004005
call fcn.00402a00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], 0
call fcn.00416df7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4034e0
push 0x80004005
call fcn.00402a00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x44], 1
call fcn.00416df7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40350f
push 0x80004005
call fcn.00402a00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x44], 2
mov eax, dword [edi + 0xec]
sub eax, 1
je 0x403782
sub eax, 1
je 0x403680
push 0x67
call fcn.004182ce
test eax, eax
je 0x403553
push 0x67
push eax
lea ecx, [esp + 0x18]
call fcn.00402630
mov ebp, 8
cmp dword [edi + 0x90], ebp
jb 0x403565
mov esi, dword [edi + 0x7c]
jmp 0x403568
lea esi, [edi + 0x7c]
cmp dword [edi + 0x90], ebp
jb 0x403575
mov edx, dword [edi + 0x7c]
jmp 0x403578
lea edx, [edi + 0x7c]
cmp dword [edi + 0xac], ebp
jb 0x403588
mov ecx, dword [edi + 0x98]
jmp 0x40358e
lea ecx, [edi + 0x98]
cmp dword [edi + 0x90], ebp
jb 0x40359b
mov eax, dword [edi + 0x7c]
jmp 0x40359e
lea eax, [edi + 0x7c]
push esi
push edx
push ecx
push eax
lea ecx, [esp + 0x24]
push 0x72
push ecx
call fcn.004022b0
add esp, 0x18
call fcn.00416df7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4035cb
push 0x80004005
call fcn.00402a00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
push 0x78
mov byte [esp + 0x48], 4
call fcn.004182ce
test eax, eax
je 0x4035fb
push 0x78
push eax
lea ecx, [esp + 0x24]
call fcn.00402630
mov ebp, dword [esp + 0x1c]
push 1
mov ecx, edi
call fcn.00415b18
mov esi, eax
test esi, esi
je 0x403624
push 1
mov ecx, esi
call fcn.00415d3b
push 5
mov ecx, esi
call fcn.00415cf9
push ebp
mov ecx, esi
call fcn.00415c2e
push 2
mov ecx, edi
call fcn.00415b18
mov esi, eax
test esi, esi
je 0x403656
push 0x77
call fcn.004182ce
test eax, eax
je 0x40364a
push 0x77
push eax
lea ecx, [esp + 0x20]
call fcn.00402630
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00415c2e
lea eax, [ebp - 0x10]
mov byte [esp + 0x44], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4037d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4037d5
push 0x69
call fcn.004182ce
test eax, eax
je 0x403697
push 0x69
push eax
lea ecx, [esp + 0x18]
call fcn.00402630
mov edx, dword [edi + 0xe8]
lea esi, [esp + 0x20]
call fcn.00402e50
mov ebp, 8
mov byte [esp + 0x44], 3
cmp dword [edi + 0xe4], ebp
jb 0x4036c0
mov esi, dword [edi + 0xd0]
jmp 0x4036c6
lea esi, [edi + 0xd0]
cmp dword [eax + 0x18], ebp
jb 0x4036d0
mov edx, dword [eax + 4]
jmp 0x4036d3
lea edx, [eax + 4]
cmp dword [edi + 0xac], ebp
jb 0x4036e3
mov ecx, dword [edi + 0x98]
jmp 0x4036e9
lea ecx, [edi + 0x98]
cmp dword [edi + 0x90], ebp
jb 0x4036f6
mov eax, dword [edi + 0x7c]
jmp 0x4036f9
lea eax, [edi + 0x7c]
push esi
push edx
push ecx
push eax
lea ecx, [esp + 0x24]
push 0x74
push ecx
call fcn.004022b0
add esp, 0x18
mov byte [esp + 0x44], 2
cmp dword [esp + 0x38], ebp
jb 0x403724
mov edx, dword [esp + 0x24]
push edx
call fcn.0040dd3a
add esp, 4
xor eax, eax
push 1
mov ecx, edi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.00415b18
mov esi, eax
test esi, esi
je 0x40375c
push 1
mov ecx, esi
call fcn.00415d3b
push 5
mov ecx, esi
call fcn.00415cf9
push 0x3f9
mov ecx, edi
call fcn.00415b18
mov esi, eax
test esi, esi
je 0x4037d5
push 1
mov ecx, esi
call fcn.00415d3b
push 5
mov ecx, esi
call fcn.00415cf9
jmp 0x4037d5
push 0x68
call fcn.004182ce
test eax, eax
je 0x403799
push 0x68
push eax
lea ecx, [esp + 0x18]
call fcn.00402630
mov ebp, 8
cmp dword [edi + 0xac], ebp
jb 0x4037ae
mov ecx, dword [edi + 0x98]
jmp 0x4037b4
lea ecx, [edi + 0x98]
cmp dword [edi + 0x90], ebp
jb 0x4037c1
mov eax, dword [edi + 0x7c]
jmp 0x4037c4
lea eax, [edi + 0x7c]
push ecx
push eax
lea ecx, [esp + 0x1c]
push 0x73
push ecx
call fcn.004022b0
add esp, 0x10
mov edx, dword [esp + 0x10]
push edx
mov ecx, edi
call fcn.00415c2e
push 0x3ef
mov ecx, edi
call fcn.00415b18
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x4037fd
push ebp
mov ecx, eax
call fcn.00415c2e
mov ecx, edi
call fcn.0040ec5e
mov eax, dword [edi + 0x74]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [edi + 0x20]
push 1
push 0x80
push eax
call esi
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x20]
push eax
push 0
push 0x80
push ecx
call esi
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403872
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40389a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret