Function at 0x40c220
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x44c05e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x66
mov dword [esp + 0x18], esi
call fcn.004413f7
xor ebx, ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
lea ecx, [esi + 0x98]
mov dword [esp + 0x1c], ebx
mov dword [esi], method.CDialog.virtual_0
call fcn.004102d0
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 1
call fcn.004102d0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x1c], 2
call fcn.004102d0
mov byte [esp + 0x1c], 3
lea ebp, [esi + 0xbc]
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x1c], 4
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc0], eax
mov byte [esp + 0x1c], 5
lea edi, [esi + 0xc4]
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 6
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc8], eax
mov byte [esp + 0x1c], 7
call fcn.0043cff4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xcc], eax
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
lea ecx, [esi + 0x1b8]
mov byte [esp + 0x1c], 0x10
call fcn.00403a70
lea ecx, [esi + 0x214]
mov byte [esp + 0x1c], 0x11
call fcn.00411420
lea ecx, [esi + 0x23c]
mov byte [esp + 0x1c], 0x12
call fcn.00414c10
lea ecx, [esi + 0x240]
mov byte [esp + 0x1c], 0x13
call fcn.00403e00
lea ecx, [esi + 0x2e4]
mov byte [esp + 0x1c], 0x14
call fcn.00411e30
mov byte [esp + 0x1c], 0x15
call fcn.00448b3f
call fcn.00448b3f
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x10
push str..exe.dll.bmp.ttf
mov ecx, ebp
mov dword [esi + 0xb0], eax
mov byte [esi + 0x190], bl
mov word [esi + 0xd0], bx
mov dword [esi + 0x198], ebx
call fcn.00401ac0
mov dword [esi + 0xd4], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
push ebx
push 0x44e773
mov ecx, edi
mov dword [esi + 0x194], ebx
call fcn.00401ac0
lea eax, [esp + 0x24]
push eax
call fcn.0041f680
mov ecx, dword [eax]
push ecx
lea eax, [esi + 0xc0]
push str._sdownload
push eax
mov byte [esp + 0x2c], 0x16
call fcn.00401290
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x1c], 0x15
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c52a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x24]
push eax
call fcn.0041f4c0
mov ecx, dword [eax]
push ecx
push str._sTempSave_
push edi
mov byte [esp + 0x2c], 0x17
call fcn.00401290
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x1c], 0x15
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c56d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4