Function at 0x4f1cd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541cb7
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x583384]
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 0x57f3d8
push 0x58c7d0
push 0x58d480
call fcn.00412380
add esp, 0x14
movzx eax, ax
mov ecx, ebx
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x57ebdc
push esi
call fcn.004d2ae0
push dword [edi + 0x228]
mov dword [edi + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f22ff
push 0xea
push dword [0x58d488]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
mov dword [ebp - 0xc8], esi
test esi, esi
je 0x4f1dbc
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.004ed450
mov ebx, eax
test esi, esi
je 0x4f1dd4
push esi
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
call esi
jmp 0x4f1dda
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0xc8], ebx
test ebx, ebx
je 0x4f1e03
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 [0x54bdf0]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x5488d0]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x54bde0]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x54b970]
movups xmmword [ebp - 0x20], xmm0
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x4f1e44
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xbc], esi
mov byte [ebp - 4], 1
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x4f1e6b
push 0x80004005
call fcn.004063a0
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 0x4f1ee8
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4f1ec0
cmp dword [esi - 8], 0
jl 0x4f231b
mov dword [esi - 0xc], 0
mov byte [esi], 0
jmp 0x4f1ee8
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4f1ed4
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 0x4f1f40
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4f1f18
cmp dword [edi - 8], 0
jl 0x4f231b
mov dword [edi - 0xc], 0
mov byte [edi], 0
jmp 0x4f1f40
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4f1f2c
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 0x4f1f80
push 0
push eax
call fcn.00406330
add esp, 8
test eax, eax
je 0x4f1f7a
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xbc]
push eax
call fcn.00406b50
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov dword [ebp - 0xb4], eax
test eax, eax
js 0x4f1fb9
push 0
push eax
call fcn.00406330
add esp, 8
test eax, eax
je 0x4f1fb3
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xcc]
push eax
call fcn.00406b50
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.004149b0
mov ecx, dword [ebp - 0xc0]
add dword [ebp - 0xb8], 0x20
inc ecx
mov dword [ebp - 0xc0], ecx
cmp ecx, 2
jb 0x4f1e90
mov eax, dword [ebp - 0xb0]
mov edx, dword [0x57ebe0]
mov ecx, dword [0x57ebdc]
push 0
push dword [0x58d484]
push 0
push dword [eax + 0x228]
mov eax, dword [0x57ebe8]
sub eax, edx
push eax
mov eax, dword [0x57ebe4]
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 0x4f22bd
push 0x3c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.00517590
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.0041f3f0
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 0x4f20c4
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.00406330
add esp, 8
test eax, eax
je 0x4f20ee
push 0x84e3
push eax
lea ecx, [ebp - 0xbc]
call fcn.00406b50
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 [0x58d484]
movaps xmm0, xmmword [0x549be0]
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 0x4f22bd
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 0x4f2240
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.00414770
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 0x4f22bd
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.00414770
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 0x4f22db
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 0x4f22f4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x4f22ff
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.00513512
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004063a0
int3