Function at 0x4f9550
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5484f7
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov esi, dword [edi + 4]
lea ebx, [edi + 0x224]
mov dword [ebp - 0xc4], ebx
lea eax, [ebx + 0x20]
push dword [ebp - 0xc4]
mov dword [edi + 0x268], 0x1d
push eax
push 0x586430
push 0x593dd4
push 0x594af8
call fcn.00411840
add esp, 0x14
movzx eax, ax
mov ecx, ebx
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x585bbc
push esi
call fcn.004d6f00
push dword [edi + 0x228]
mov dword [edi + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f9b7f
push 0xea
push dword [0x594b00]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
mov dword [ebp - 0xc8], esi
test esi, esi
je 0x4f963c
push esi
push 0xffffffffffffffff
push dword [edi + 0x25c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0xc8], esi
mov ecx, edi
call fcn.004f4d50
mov ebx, eax
test esi, esi
je 0x4f9654
push esi
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
call esi
jmp 0x4f965a
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0xc8], ebx
test ebx, ebx
je 0x4f9683
push ebx
push 0xffffffffffffffff
push dword [edi + 0x25c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebx
call esi
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0xc8], ebx
movaps xmm0, xmmword [0x552a20]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x54f220]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x552a10]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x5524b0]
movups xmmword [ebp - 0x20], xmm0
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4f96c4
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xbc], esi
mov byte [ebp - 4], 1
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4f96eb
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xcc], edi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb8], eax
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0xb4], eax
je 0x4f9768
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4f9740
cmp dword [esi - 8], 0
jl 0x4f9b9b
mov dword [esi - 0xc], 0
mov byte [esi], 0
jmp 0x4f9768
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4f9754
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xbc], esi
cmp dword [edi - 0xc], 0
lea edx, [edi - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0xb4], eax
je 0x4f97c0
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4f9798
cmp dword [edi - 8], 0
jl 0x4f9b9b
mov dword [edi - 0xc], 0
mov byte [edi], 0
jmp 0x4f97c0
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4f97ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xcc], edi
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0xb4], eax
test eax, eax
js 0x4f9800
push 0
push eax
call fcn.00404930
add esp, 8
test eax, eax
je 0x4f97fa
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xbc]
push eax
call fcn.00405150
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov dword [ebp - 0xb4], eax
test eax, eax
js 0x4f9839
push 0
push eax
call fcn.00404930
add esp, 8
test eax, eax
je 0x4f9833
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xcc]
push eax
call fcn.00405150
mov edi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xb8]
push dword [ecx + 0x14]
lea eax, [ecx + 4]
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push edi
push eax
push esi
push dword [ecx - 8]
mov ecx, dword [ebp - 0xc4]
call fcn.00414cc0
mov ecx, dword [ebp - 0xc0]
add dword [ebp - 0xb8], 0x20
inc ecx
mov dword [ebp - 0xc0], ecx
cmp ecx, 2
jb 0x4f9710
mov eax, dword [ebp - 0xb0]
mov edx, dword [0x585bc0]
mov ecx, dword [0x585bbc]
push 0
push dword [0x594afc]
push 0
push dword [eax + 0x228]
mov eax, dword [0x585bc8]
sub eax, edx
push eax
mov eax, dword [0x585bc4]
sub eax, ecx
push eax
push edx
push ecx
push 0x56000201
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0xb0]
push eax
mov dword [ecx + 0x264], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f9b3d
push 0x3c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.0041eec0
mov eax, dword [ebp - 0xb0]
push 0
push 0
push 0x31
push dword [eax + 0x264]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x4f9944
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push 1
push eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb0]
push 0x30
push dword [eax + 0x264]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x84e3
call fcn.00404930
add esp, 8
test eax, eax
je 0x4f996e
push 0x84e3
push eax
lea ecx, [ebp - 0xbc]
call fcn.00405150
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb0]
push esi
push dword [eax + 0x264]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0xb0]
push dword [eax + 0x264]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xb8], eax
push 0x420
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
push ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
push dword [esi - 0xc]
push esi
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp - 0xb0]
push 0
push dword [0x594afc]
movaps xmm0, xmmword [0x550720]
push 0
push dword [eax + 0x228]
movups xmmword [ebp - 0x70], xmm0
push 0xc8
push 0x12c
push 0
push 0
push 0x56000042
push 0
push str.ComboBoxEx32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0xb0]
push eax
mov dword [ecx + 0x260], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f9b3d
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push 1
push eax
mov eax, dword [ebp - 0xb0]
push 0x30
push dword [eax + 0x260]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov eax, dword [eax + 0x264]
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f9ac0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ecx + 0x248]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0x16
mov dword [ebp - 0xd0], 0
call fcn.00414a80
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov eax, dword [eax + 0x260]
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f9b3d
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0xd4], 2
lea ecx, [ecx + 0x248]
mov dword [ebp - 0xdc], 0x1e0
mov dword [ebp - 0xd8], 0x16
mov dword [ebp - 0xd0], 0
call fcn.00414a80
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f9b5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4f9b74
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x4f9b7f
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004049a0
int3