Function at 0x416dc0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44785c
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x460cd0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x460cd0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00424e37
push 0x2c
lea eax, [esi + 0xb90]
push 0
push eax
mov byte [esi + 0xbbc], 0
call fcn.00430500
add esp, 0xc
push 0xffffff
mov byte [esi + 0xbbd], 1
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 0x1c4]
call fcn.00424251
push 0
push 0x10000
push 0
mov ecx, esi
call fcn.0042648e
call fcn.00408f90
test al, al
je 0x416e68
push 3
push 0x400000
push 0
mov ecx, esi
call fcn.0042648e
lea ecx, [esp + 0x10]
call fcn.00403710
mov dword [esp + 0xd8], 0
push 0x453b88
push 0x100
push 0x46633c
call fcn.0042f50c
add esp, 0xc
call fcn.004272b3
mov eax, dword [eax + 8]
push 0xdf
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xde8], eax
je 0x416ec7
push eax
mov eax, dword [esi + 0x20]
push 0
push 0x80
push eax
call edi
jmp 0x416ed9
push str.cannot_load_main_icon
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov edx, dword [esi + 0xbc0]
mov eax, dword [edx + 0x134]
lea ebx, [esi + 0xbc0]
push esi
push 0xe3
mov ecx, ebx
call eax
push 4
push 0x1da
push 0xc6
push 0
push 0
push 0
mov ecx, ebx
call fcn.004265f5
push 1
mov ecx, ebx
mov dword [esi + 0xc34], 1
call fcn.00426552
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x10]
call fcn.00403580
push 0
lea eax, [esp + 0x18]
push 0xc9
push eax
call fcn.00418df0
add esp, 0xc
mov byte [esp + 0xd8], 1
push eax
lea ecx, [esp + 0x14]
call fcn.00403460
mov byte [esp + 0xd8], 0
lea ecx, [esp + 0x14]
call fcn.004036b0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004264b8
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
add edx, 0xffffff92
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edx
add ebx, 0xffffffe1
call fcn.00403580
push 0xe9
call fcn.0042636e
test eax, eax
je 0x416fb4
push 0xe9
push eax
lea ecx, [esp + 0x18]
call fcn.004032e0
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0xc8]
push eax
mov dword [esp + 0x38], ecx
call fcn.004264b8
lea ecx, [esp + 0x10]
call fcn.00403580
push 0xe8
call fcn.0042636e
test eax, eax
je 0x416fee
push 0xe8
push eax
lea ecx, [esp + 0x18]
call fcn.004032e0
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x11c]
push edx
mov dword [esp + 0x20], ecx
call fcn.004264b8
lea ecx, [esp + 0x10]
call fcn.00403580
push 0x93
call fcn.0042636e
test eax, eax
je 0x417028
push 0x93
push eax
lea ecx, [esp + 0x18]
call fcn.004032e0
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x170]
push eax
mov dword [esp + 0x34], ecx
call fcn.004264b8
mov ecx, dword [esp + 0x18]
push 4
push 0x19
push 0x5a
push ebx
push ecx
mov ecx, dword [esp + 0x48]
push 0
call fcn.004265f5
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 4
push 0x19
push 0x5a
push ebx
add edx, 0xffffff7e
push edx
push 0
call fcn.004265f5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
push 4
push 0x19
push 0x78
push ebx
add eax, 0xa
push eax
push 0
call fcn.004265f5
mov ecx, dword [esp + 0x1c]
push 0
call fcn.0042658e
mov ecx, dword [esi + 0x1f4]
push 0
push 0
push 0x31
push ecx
call edi
push eax
call fcn.00424243
lea edx, [esp + 0x64]
push edx
mov dword [esi + 0xb88], eax
mov eax, dword [eax + 4]
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x78], 0x258
mov dword [esp + 0x68], 0x14
lea ebx, [esi + 0xb78]
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, ebx
call fcn.00424251
test ebx, ebx
je 0x4170f1
mov ebx, dword [ebx + 4]
mov edx, dword [esi + 0x1f4]
push 0
push ebx
push 0x30
push edx
call edi
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x78], 0x1f4
lea ebx, [esi + 0xb80]
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, ebx
call fcn.00424251
test ebx, ebx
jne 0x417130
xor eax, eax
jmp 0x417133
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x248]
push 0
push eax
push 0x30
push ecx
call edi
test ebx, ebx
jne 0x417149
xor eax, eax
jmp 0x41714c
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x29c]
push 0
push eax
push 0x30
push edx
call edi
test ebx, ebx
jne 0x417162
xor eax, eax
jmp 0x417165
mov eax, dword [ebx + 4]
push 0
push eax
mov eax, dword [esi + 0x2f0]
push 0x30
push eax
call edi
test ebx, ebx
jne 0x41717b
xor eax, eax
jmp 0x41717e
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x94]
push 0
push eax
push 0x30
push ecx
call edi
mov edx, dword [esi + 0x94]
push 0x20
push 0
push 0x1036
push edx
call edi
test ebx, ebx
jne 0x4171a6
xor eax, eax
jmp 0x4171a9
mov eax, dword [ebx + 4]
push 0
push eax
mov eax, dword [esi + 0x190]
push 0x30
push eax
call edi
test ebx, ebx
jne 0x4171bf
xor eax, eax
jmp 0x4171c2
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x13c]
push 0
push eax
push 0x30
push ecx
call edi
test ebx, ebx
je 0x4171d7
mov ebx, dword [ebx + 4]
mov edx, dword [esi + 0xe8]
push 0
push ebx
push 0x30
push edx
call edi
lea ecx, [esp + 0x10]
call fcn.00403580
push 0
lea eax, [esp + 0x18]
push 0xca
push eax
call fcn.00418df0
add esp, 0xc
mov byte [esp + 0xd8], 2
push eax
lea ecx, [esp + 0x14]
call fcn.00403460
mov byte [esp + 0xd8], 0
lea ecx, [esp + 0x14]
call fcn.004036b0
mov ecx, dword [esp + 0x10]
lea ebx, [esi + 0x1d4]
push ecx
mov ecx, ebx
mov dword [esp + 0x3c], ebx
call fcn.004264b8
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push 0
push 0x32
push edx
add eax, 0x19
push eax
push 0xd0
push 0
mov ecx, ebx
call fcn.004265f5
lea ecx, [esp + 0x10]
call fcn.00403580
push 0
lea ecx, [esp + 0x18]
push 0xcb
push ecx
call fcn.00418df0
add esp, 0xc
mov byte [esp + 0xd8], 3
push eax
lea ecx, [esp + 0x14]
call fcn.00403460
mov byte [esp + 0xd8], 0
lea ecx, [esp + 0x14]
call fcn.004036b0
mov edx, dword [esp + 0x10]
lea ebx, [esi + 0x228]
push edx
mov ecx, ebx
mov dword [esp + 0x40], ebx
call fcn.004264b8
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0
push 0x32
push eax
add ecx, 0x4e
push ecx
push 0xd0
push 0
mov ecx, ebx
call fcn.004265f5
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
lea ebx, [esi + 0x2d0]
push 0
mov dword [esp + 0x44], ebx
push 0x5a
sub edx, 0x114
push edx
push 0x17c
push 0x105
push 0
mov ecx, ebx
call fcn.004265f5
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0
push 0x14
sub eax, 0x114
push eax
push 0x168
push 0x105
lea ecx, [esi + 0x27c]
push 0
mov dword [esp + 0x30], ecx
call fcn.004265f5
mov ecx, dword [esp + 0x18]
push 0x44f0cc
call fcn.004264b8
push 0x44f0cc
mov ecx, ebx
call fcn.004264b8
push 0x3ff
push 0x44f0cc
lea ecx, [esi + 0x378]
push 0x400
push ecx
call fcn.0042f011
add esp, 0x10
push 1
push 0x30
push 0x30
push 0x168
push 0xd0
lea ecx, [esi + 0x324]
call fcn.00426514
push 0x18
push 1
push 0x10
lea ebx, [esi + 0x1cc]
push 0x88
mov ecx, ebx
call fcn.004283d6
push 0
push 0xc8
push 0x226
push 0x91
push 0xd0
lea ecx, [esi + 0x74]
push 0
mov dword [esp + 0x2c], ecx
call fcn.004265f5
test ebx, ebx
jne 0x4173cb
xor eax, eax
jmp 0x4173ce
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0x94]
push eax
push 1
push 0x1003
push edx
call edi
push eax
call fcn.004282fd
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 7
mov dword [esp + 0x4c], 0x12c
mov dword [esp + 0x48], 0
call fcn.00403580
push 0xcc
call fcn.0042636e
test eax, eax
je 0x417423
push 0xcc
push eax
lea ecx, [esp + 0x18]
call fcn.004032e0
mov edx, dword [esi + 0x94]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push ecx
push 0
push 0x1061
push edx
mov dword [esp + 0x60], eax
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 7
mov dword [esp + 0x4c], 0xdc
mov dword [esp + 0x48], 2
call fcn.00403580
push 0xcd
call fcn.0042636e
test eax, eax
je 0x41747e
push 0xcd
push eax
lea ecx, [esp + 0x18]
call fcn.004032e0
mov edx, dword [esi + 0x94]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push ecx
push 1
push 0x1061
push edx
mov dword [esp + 0x60], eax
call edi
mov ecx, dword [esp + 0x14]
call fcn.00428517
test ebx, ebx
mov dword [esi + 0xb8c], eax
je 0x4174b1
mov ebx, dword [ebx + 4]
mov eax, dword [eax + 0x20]
push ebx
push 0
push 0x1208
push eax
call edi
push eax
call fcn.004282fd
mov eax, dword [esi + 0xb8c]
lea ebx, [esi + 0xb90]
push ebx
push 0
mov dword [ebx], 0x24
mov ecx, dword [eax + 0x20]
push 0x120b
push ecx
call edi
mov eax, dword [esi + 0xb8c]
push ebx
push 0
mov dword [esi + 0xba4], 0x4800
mov dword [esi + 0xbac], 0
mov edx, dword [eax + 0x20]
push 0x120c
push edx
call edi
push esi
call fcn.00417610
call fcn.00408f90
test al, al
je 0x4175c9
mov ecx, dword [esp + 0x34]
push 3
push 0x400000
push 0
call fcn.0042648e
mov ecx, dword [esp + 0x1c]
push 3
push 0x400000
push 0
call fcn.0042648e
mov ecx, dword [esp + 0x30]
push 3
push 0x400000
push 0
call fcn.0042648e
mov ecx, dword [esp + 0x38]
push 3
push 0x400000
push 0
call fcn.0042648e
mov ecx, dword [esp + 0x3c]
push 3
push 0x400000
push 0
call fcn.0042648e
mov ecx, dword [esp + 0x18]
push 3
push 0x400000
push 0
call fcn.0042648e
mov ecx, dword [esp + 0x40]
push 3
push 0x400000
push 0
call fcn.0042648e
mov esi, dword [esp + 0x14]
push 3
push 0x400000
push 0
mov ecx, esi
call fcn.0042648e
push 0
push 0x400000
push 0
mov ecx, esi
call fcn.00428517
mov ecx, eax
call fcn.0042648e
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004036b0
mov eax, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0042f002
mov esp, ebp
pop ebp
ret