Function at 0x405dd0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x43dab0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451680]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push 0
push 0x68
push 0x66
mov ecx, esi
call fcn.00416cf1
mov dword [esp + 0x20], 0
mov dword [esi], vtable.CHalAppDlg.0
mov dword [esi + 0x74], vtable.CHalAppDlg.1.0
lea edi, [esi + 0x11c]
call fcn.0040b371
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405e3b
push 0x80004005
call fcn.00401940
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x20], 1
call fcn.0040b371
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405e68
push 0x80004005
call fcn.00401940
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x120], eax
mov byte [esp + 0x20], 2
call fcn.0040b371
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405e99
push 0x80004005
call fcn.00401940
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x124], eax
mov byte [esp + 0x20], 3
lea ebp, [esi + 0x128]
call fcn.0040b371
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405ed0
push 0x80004005
call fcn.00401940
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov bl, 4
mov byte [esp + 0x20], bl
call fcn.0040b08f
call fcn.0040b08f
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x445656
lea ecx, [esp + 0x18]
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], 0
call fcn.00404f50
push eax
mov ecx, edi
mov byte [esp + 0x24], 5
call fcn.00404990
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x445656
lea ecx, [esp + 0x18]
call fcn.00404f50
push eax
lea ecx, [esi + 0x120]
mov byte [esp + 0x24], 6
call fcn.00404990
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x445656
lea ecx, [esp + 0x18]
call fcn.00404f50
push eax
lea ecx, [esi + 0x124]
mov byte [esp + 0x24], 7
call fcn.00404990
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405fd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x445656
lea ecx, [esp + 0x18]
call fcn.00404f50
push eax
mov ecx, ebp
mov byte [esp + 0x24], 8
call fcn.00404990
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x12c], 0
call fcn.00405080
push 0
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x5c]
push str.GuiThreadJumper
push str.Message
push 0
mov ecx, edi
mov byte [edi + 0x60], 1
call eax
push 0x10
call fcn.0040a155
add esp, 4
test eax, eax
je 0x406065
mov dword [eax], vtable.JSWrapper.0
mov dword [eax + 4], esi
jmp 0x406067
xor eax, eax
mov dword [edi + 0x5c], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4