Function at 0x402350
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x64
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jne 0x402632
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadIconA]
push esi
mov esi, dword [esp + 0x70]
push edi
push 0x65
mov ecx, 0xc
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], 0x401d20
mov dword [esp + 0x70], str.FiFM
call ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push esi
push 0
push 0
push 0x23c
push 0x2e6
push 1
call edi
sub eax, 0x23c
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call edi
sub eax, 0x2e6
cdq
sub eax, edx
sar eax, 1
push eax
push SysReAllocString
push 0x4071a0
push str.FiFM
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x4093e4], eax
je 0x40253f
mov ecx, dword [str.http:__fifm.cn_fm00.htm]
mov edx, dword [0x407264]
mov dword [esp + 0xc], ecx
mov ecx, dword [0x407268]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x407270]
mov dword [esp + 0x1c], ecx
mov cl, 0x31
mov dword [esp + 0x10], edx
mov edx, dword [0x40726c]
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], cl
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [0x407274]
push ecx
push eax
mov dword [esp + 0x28], edx
call fcn.004019f0
mov edx, dword [0x4093e4]
add esp, 8
push 0
push 0xc8
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x66
push esi
mov dword [0x4093e0], eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0
push eax
mov dword [0x4093e8], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edx, dword [0x4071a4]
mov dword [0x4093ec], eax
xor eax, eax
mov ecx, 0x16
mov edi, 0x409640
rep stosd dword es:[edi], eax
mov eax, dword [0x4093e4]
mov ecx, dword [0x4071a0]
mov edi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov dword [0x409644], eax
mov eax, dword [0x4071a8]
mov dword [0x409658], ecx
mov cx, word [0x4071ac]
mov dword [0x40965c], edx
mov dl, byte [0x4071ae]
push 0x409640
push 1
mov dword [0x409640], 0x58
mov dword [0x409648], 0x65
mov dword [0x40964c], 4
mov dword [0x409660], eax
mov word [0x409664], cx
mov byte [0x409666], dl
call edi
test eax, eax
jne 0x40253f
push 0x65
push esi
mov dword [0x40964c], 7
mov dword [0x409650], 0x46e
call ebx
push 0x409640
push 0
mov dword [0x409654], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call ebx
cmp eax, 1
jne 0x4025cd
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push ebp
mov ebp, dword [sym.imp.USER32.dll_ReleaseCapture]
lea ebx, [ebx]
lea ecx, [esp + 0x28]
push ecx
call edi
mov eax, dword [esp + 0x2c]
cmp eax, 0x204
mov ecx, dword [0x4093e4]
jne 0x40258e
cmp dword [esp + 0x28], ecx
jne 0x4025ba
sub eax, 0x200
je 0x4025f4
sub eax, 2
jne 0x4025af
mov eax, dword [0x409698]
test eax, eax
je 0x4025af
mov dword [0x409698], 0
call ebp
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
call ebx
cmp eax, 1
je 0x402570
pop ebp
mov eax, dword [0x4093e0]
test eax, eax
pop edi
pop esi
pop ebx
jbe 0x4025e6
push eax
mov eax, dword [0x4093e4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.ole32.dll_OleUninitialize]
xor eax, eax
add esp, 0x64
ret 0x10
mov eax, dword [0x409698]
test eax, eax
je 0x4025af
mov eax, dword [0x409624]
mov edx, dword [0x409614]
sub edx, eax
mov eax, dword [esp + 0x40]
push 1
push 0x23c
add edx, eax
mov eax, dword [0x409610]
push 0x2e6
push edx
sub eax, dword [0x409620]
add eax, dword [esp + 0x4c]
push eax
push ecx
call esi
jmp 0x4025ba
or eax, 0xffffffff
add esp, 0x64
ret 0x10