Function at 0x50240a
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a6ea0
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x90]
lea edi, [esi + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push esi
push 0x94
mov ecx, edi
call fcn.0051de40
push 0x6b
mov ecx, esi
call fcn.005742aa
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0057b3bd
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0x15
push 0
push 0
push ecx
push edx
push 0
mov ecx, edi
call fcn.00574637
push 0x6b
mov ecx, edi
call fcn.005745cd
push 1
mov ecx, edi
call fcn.005746c8
push 5
mov ecx, edi
call fcn.00574686
lea ebx, [esi + 0x6c8]
push esi
push 0x6c
mov ecx, ebx
call fcn.0057418b
push 1
mov ecx, ebx
call fcn.0051dae0
push esi
push 0x64
lea ecx, [esi + 0x70c]
call fcn.0057418b
call fcn.0058ec69
mov eax, dword [eax + 0xc]
push 0x6b
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x820], eax
push eax
mov eax, dword [esi + 0x728]
push 1
push 0xf7
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [esi + 0x758]
push esi
push 0x65
mov ecx, edi
call fcn.0057418b
lea ebp, [esi + 0x7d8]
push esi
push 0x66
mov ecx, ebp
call fcn.0057418b
push ebp
mov ecx, edi
call fcn.004827f0
fild dword [0x618cdc]
mov ebp, dword [edi + 0x54]
mov dword [edi + 0x60], 0
test ebp, ebp
fst qword [edi + 0x68]
mov dword [edi + 0x64], 0x3ff00000
je 0x502537
call fcn.0053e380
mov ecx, dword [ebp + 0x1c]
push eax
push 1
push 0x46f
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x502539
fstp st(0)
mov eax, dword [esi + 0x81c]
mov ebp, dword [esi + 0x818]
test eax, eax
mov dword [esp + 0x14], eax
je 0x5026c3
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0
call fcn.00483e80
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.00483d90
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
fld qword [edx]
fcom qword [0x5b3130]
fnstsw ax
test ah, 0x40
jne 0x50259c
fld qword [0x5b39c0]
fdiv st(1)
fstp qword [esi + 0x7c8]
push str._0.03f
lea ecx, [esp + 0x14]
fstp st(0)
call fcn.00575c43
lea eax, [esp + 0x10]
lea ecx, [esi + 0x7a4]
push eax
mov dword [esp + 0x4c], 0
call fcn.00575d0e
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.00575bd5
push 0x6d
mov ecx, esi
mov byte [esi + 0x7b0], 1
call fcn.005742aa
mov ecx, dword [esi + 0x81c]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x818]
push edx
mov ebp, eax
call fcn.004c2d90
mov eax, dword [eax]
mov ecx, ebp
push eax
mov dword [esp + 0x4c], 1
call fcn.00574541
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00575bd5
mov eax, dword [esi + 0x90]
lea ebp, [esi + 0x90]
mov cl, byte [eax + 0x25]
test cl, cl
je 0x50263f
mov eax, dword [eax + 0x18]
mov ecx, ebx
push eax
call fcn.0051da90
mov eax, dword [ebp]
fild dword [eax + 0x10]
mov cl, byte [eax + 0x24]
test cl, cl
fstp qword [esp + 0x14]
je 0x502687
fld qword [esp + 0x14]
call fcn.0053e380
mov ecx, dword [0x618cdc]
cmp ecx, eax
jge 0x502665
mov eax, ecx
cmp eax, 1
mov dword [esp + 0x10], 1
jl 0x502676
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.004e7f50
fld qword [esp + 0x14]
fcomp qword [0x5b3130]
fnstsw ax
test ah, 0x40
je 0x50269f
mov ecx, esi
call fcn.005026e0
push esi
mov ecx, ebp
call fcn.00490040
mov ecx, esi
call fcn.00576b65
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
fld qword [0x5b39c0]
jmp 0x50258e