Function at 0x416e80
Capabilities:
Get geographical location
Get number of processors
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x477ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4a3f4c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3f4c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov esi, edx
push 0xf4240
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0
call fcn.0045be8e
push edi
push str.path_i
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
push 0x20
mov dword [ebx + 0x780], 0
push eax
mov dword [esi], edi
call fcn.0045a19e
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
push ebp
push 0x104
add esi, 4
push esi
push 0x48d4b1
lea ecx, [esp + 0x34]
push ecx
push str.target
call ebx
cmp byte [esi], 0
jne 0x416f2a
xor eax, eax
jmp 0x417cea
call fcn.00408d00
push edi
push str.launchpath_i
lea edx, [esp + 0x2c]
push 0x20
push edx
call fcn.0045a19e
mov esi, dword [esp + 0x24]
add esp, 0x10
push ebp
push 0x104
add esi, 0x51
push esi
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call ebx
call fcn.00408d00
push edi
push str.startfolder_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call fcn.0045a19e
mov esi, dword [esp + 0x24]
add esp, 0x10
push ebp
push 0x104
add esi, 0x25b
push esi
push 0x48d4b1
lea edx, [esp + 0x34]
push edx
push str.target
call ebx
call fcn.00408d00
push edi
push str.cmdline_i
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
mov esi, dword [esp + 0x24]
add esp, 0x10
push ebp
push 0x104
lea ecx, [esi + 0x156]
push ecx
push 0x48d4b1
lea edx, [esp + 0x34]
push edx
push str.target
call ebx
push edi
push str.msshims_i
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0x104
lea ecx, [esi + 0x66b]
push ecx
push 0x48d4b1
lea edx, [esp + 0x34]
push edx
push str.target
call ebx
push edi
push str.title_i
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0x78b
push esi
push 0x48d4b1
lea ecx, [esp + 0x34]
push ecx
push str.target
call ebx
push edi
push str.module_i
lea edx, [esp + 0x2c]
push 0x20
push edx
call fcn.0045a19e
mov esi, dword [esp + 0x30]
add esp, 0x10
push ebp
push 0x3c
lea eax, [esi + 0x109]
push eax
push 0x48d4b1
lea ecx, [esp + 0x34]
push ecx
push str.target
call ebx
push edi
push str.opengllib_i
lea edx, [esp + 0x2c]
push 0x20
push edx
call fcn.0045a19e
add esp, 0x10
push ebp
push 0x14
add esi, 0x146
push esi
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call ebx
push edi
push str.notes_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call fcn.0045a19e
mov edx, dword [esp + 0x28]
add esp, 0x10
push ebp
push 0xf4240
push edx
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call ebx
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x1c]
mov eax, esi
call fcn.004085f0
mov ebx, dword [esp + 0x1c]
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4170e8
sub eax, ecx
inc eax
push eax
call fcn.0045be8e
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x770], eax
add esp, 4
mov ecx, ebx
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x417110
push edi
push str.registry_i
lea edx, [esp + 0x2c]
push 0x20
push edx
call fcn.0045a19e
add esp, 0x10
push ebp
push 0xf4240
push esi
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ebx, [esp + 0x1c]
mov eax, esi
call fcn.004085f0
mov esi, dword [esp + 0x1c]
mov eax, esi
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x417160
sub eax, ecx
inc eax
push eax
call fcn.0045be8e
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x774], eax
add esp, 4
mov ecx, esi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x417181
push edi
push str.ver_i
lea edx, [esp + 0x2c]
push 0x20
push edx
call fcn.0045a19e
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
mov esi, dword [esp + 0x20]
push edi
push str.monitorid_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x15c], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.filterid_i
mov dword [esi + 0x1c4], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.renderer_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1e6], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 3
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.coord_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov word [esi + 0x1e4], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.flag_i
mov dword [esi + 0x160], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.flagg_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x164], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.flagh_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x168], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.flagi_i
mov dword [esi + 0x16c], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.flagj_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x170], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.flagk_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x174], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.flagl_i
mov dword [esi + 0x178], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.flagm_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x17c], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.flagn_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x180], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.flago_i
mov dword [esi + 0x184], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.flagp_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x188], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.flagq_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x18c], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.flagr_i
mov dword [esi + 0x190], eax
push 0x20
lea eax, [esp + 0x30]
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.flags_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x194], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.flagt_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x198], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.flagu_i
mov dword [esi + 0x19c], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.flagv_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x1a0], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.flagw_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x1a4], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
mov dword [esi + 0x1a8], eax
push edi
push str.flagx_i
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.flagy_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x1ac], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.tflag_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x1b0], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.tflagb_i
mov dword [esi + 0x1b4], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.dflag_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x1b8], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.dflagb_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x1bc], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.posx_i
mov dword [esi + 0x1c0], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.posy_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1c8], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.sizx_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov word [esi + 0x1ca], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.sizy_i
mov word [esi + 0x1cc], ax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.maxfps_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1ce], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.initts_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov word [esi + 0x1d4], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.swapeffect_i
mov word [esi + 0x1d6], ax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.winver_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1dc], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.maxres_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov word [esi + 0x1d8], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.maxddinterface_i
mov word [esi + 0x1da], ax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 7
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.slowratio_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1de], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 1
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.scanline_i
push 0x20
lea ecx, [esp + 0x30]
mov word [esi + 0x1e0], ax
push ecx
call fcn.0045a19e
add esp, 0x10
push ebp
push 1
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.initresw_i
mov word [esi + 0x1e2], ax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.initresh_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1d0], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.fakehd_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov word [esi + 0x1d2], ax
call fcn.0045a19e
mov edx, dword [esp + 0x24]
add esp, 0x10
push ebp
push 0x104
add edx, 0x360
push edx
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push str.fakecd_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call fcn.0045a19e
mov edx, dword [esp + 0x24]
add esp, 0x10
push ebp
push 0x104
add edx, 0x465
push edx
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push str.fakecdlabel_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call fcn.0045a19e
mov edx, dword [esp + 0x24]
add esp, 0x10
push ebp
push pe_nt_image_headers32
add edx, 0x56a
push edx
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push str.fakehddrive_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call fcn.0045a19e
mov edx, dword [esp + 0x28]
add esp, 0x10
push ebp
push 0x20
push edx
push 0x48190c
lea eax, [esp + 0x34]
push eax
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx]
push edi
push str.fakecddrive_i
lea eax, [esp + 0x2c]
push 0x20
push eax
mov byte [esi + 0x1f0], dl
call fcn.0045a19e
mov ecx, dword [esp + 0x28]
add esp, 0x10
push ebp
push 0x20
push ecx
push 0x481908
lea edx, [esp + 0x34]
push edx
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
push edi
push str.cdadrive_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov byte [esi + 0x1f1], cl
call fcn.0045a19e
mov eax, dword [esp + 0x28]
add esp, 0x10
push ebp
push 0x20
push eax
push 0x481904
lea ecx, [esp + 0x34]
push ecx
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x18]
mov al, byte [edx]
cmp al, 0x43
jle 0x417a20
cmp al, 0x5a
jle 0x417a22
mov al, 0x3f
push edi
push str.wavevol_i
mov byte [esi + 0x1f2], al
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.midivol_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1e8], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.wavevol_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov word [esi + 0x1ea], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.midivol_i
mov word [esi + 0x1e8], ax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.cdvol_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov word [esi + 0x1ea], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.gvol_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov word [esi + 0x1ec], ax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0x64
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.codepage_i
mov word [esi + 0x1ee], ax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
push edi
push str.lang_i
lea edx, [esp + 0x2c]
push 0x20
push edx
mov dword [esi + 0x1f8], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea eax, [esp + 0x2c]
push eax
push str.target
call ebx
push edi
push str.country_i
lea ecx, [esp + 0x2c]
push 0x20
push ecx
mov dword [esi + 0x1fc], eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
push str.target
call ebx
push edi
push str.commitaddress_i
mov dword [esi + 0x1f4], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
mov edx, dword [esp + 0x14]
push edi
push str.commitlength_i
mov dword [edx + 0x784], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0045a19e
add esp, 0x10
push ebp
push 0
lea ecx, [esp + 0x2c]
push ecx
push str.target
call ebx
mov ebx, dword [esp + 0x14]
push edi
push str.icon_i
push 0x20
lea edx, [esp + 0x30]
mov dword [ebx + 0x788], eax
push edx
call fcn.0045a19e
mov edi, dword [esp + 0x28]
add esp, 0x10
push ebp
push 0xf4240
push edi
push 0x48d4b1
lea eax, [esp + 0x34]
push eax
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea ecx, [esp + 0x24]
call fcn.004022f0
xor ebp, ebp
lea ecx, [ebx + 0x778]
push eax
mov dword [esp + 0x54], ebp
call fcn.00407090
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417c82
sub eax, edx
je 0x417d09
push 1
call fcn.00431dc0
add esp, 4
push edi
mov ecx, eax
call fcn.0041c0d0
mov ebp, eax
test ebp, ebp
je 0x417cbc
mov eax, dword [ebx + 0x77c]
test eax, eax
je 0x417cb6
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebx + 0x77c], ebp
xor ebp, ebp
cmp dword [0x4a5ff4], ebp
jne 0x417cd2
mov dword [esi + 0x1bc], ebp
mov dword [esi + 0x1c0], ebp
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045d47c
push edi
call fcn.0045d47c
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0045a1dd
add esp, 0x40
ret
mov dword [ebx + 0x77c], ebp
jmp 0x417cbe