Function at 0x4012f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x15c
mov eax, dword [0x42a930]
xor eax, esp
mov dword [esp + 0x158], eax
mov ecx, dword [0x437648]
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
push ebp
push esi
mov esi, dword [esp + 0x16c]
push edi
push 0x80
lea eax, [esp + 0xec]
push eax
push 0x314
xor edi, edi
push ecx
mov dword [esp + 0x30], esi
mov dword [0x4483cc], edi
call ebx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0xc20000
lea eax, [esp + 0x18]
push eax
mov word [0x438380], di
mov word [0x433f48], di
mov word [0x438384], di
mov dword [0x437650], edi
mov word [0x437680], di
mov word [0x449b28], di
mov word [0x42bc50], di
mov word [0x4375a4], di
mov word [0x433cc4], di
mov word [0x4483d4], di
mov word [0x437598], di
mov word [0x4375f8], di
mov word [0x437a90], di
mov word [0x437a88], di
mov dword [0x449b3c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], 0x12c
mov dword [esp + 0x24], 0xee
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push edi
push esi
push edi
push edi
push eax
push ecx
sub edx, eax
mov eax, dword [esp + 0x3c]
push edx
push eax
push 0x1ca0000
lea ecx, [esp + 0x10c]
push ecx
push str.BrFaxReceive
call fcn.0040cc40
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebp, eax
cmp ebp, edi
jne 0x401424
xor eax, eax
jmp 0x401777
mov esi, dword [sym.imp.USER32.dll_SetRect]
push 0xa3
push 0xe3
push 7
push 9
push 0x433ed0
call esi
push 0x10e
push 0xae
push 0xc3
push 9
push 0x4492d8
call esi
push 0x10f
push 0xe2
push 0xe7
push 0xb7
push 0x437a9c
call esi
cmp dword [0x42a114], 1
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x401484
push edi
jmp 0x401486
push 4
push ebp
call esi
push str.Brfaxrx.ini
push edi
push str.AlwaysOnTop
push 0x42a1c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [0x42a114], 1
mov word [0x43764c], ax
jne 0x4014b4
push edi
push ebp
call esi
jmp 0x4014d9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0x50
push ecx
push edx
mov edx, dword [esp + 0x3c]
sub edx, ecx
mov ecx, dword [esp + 0x30]
neg ax
push edx
push ecx
sbb eax, eax
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push ebp
call dword [sym.imp.USER32.dll_GetSystemMenu]
cmp dword [0x42a114], 1
mov esi, eax
push edi
jne 0x4015ed
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push edi
push 0xf030
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push edi
push 0xf020
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push edi
push 0xf000
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push edi
push 0xf120
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push edi
push 0xf010
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
push edi
push edi
push 0x800
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x437648]
push 0x80
lea edx, [esp + 0x38]
push edx
push 0x33a
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
push 0x2bc
push edi
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x437648]
push 0x80
lea edx, [esp + 0x38]
push edx
push 0x336
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
push 0x104
push edi
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x437648]
push 0x80
lea edx, [esp + 0x38]
push edx
push 0x33f
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
push 0x2be
push edi
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x437648]
push 0x80
lea edx, [esp + 0x38]
push edx
push 0x345
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
push 0x2c0
jmp 0x401699
push edi
push 0x800
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x437648]
push 0x80
lea edx, [esp + 0x38]
push edx
push 0x328
push eax
call ebx
lea ecx, [esp + 0x34]
push ecx
push 0x105
push edi
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dx, word [0x43764c]
neg dx
sbb edx, edx
and edx, 8
push edx
push 0x105
push esi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push edi
push edi
push 0x800
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [0x437648]
push 0x80
lea eax, [esp + 0x38]
push eax
push 0x33a
push ecx
call ebx
lea edx, [esp + 0x34]
push edx
push 0x2bc
push edi
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [0x437648]
push 0x80
lea eax, [esp + 0x38]
push eax
push 0x336
push ecx
call ebx
lea edx, [esp + 0x34]
push edx
push 0x104
push edi
push esi
call dword [sym.imp.USER32.dll_AppendMenuA]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
push str.Brfaxrx.ini
push 0x400
push 0x449720
push 0x423618
push str.LogFileName
push str.LogManager
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 1
push ebp
mov dword [0x437624], esi
mov dword [0x4483d0], esi
call fcn.00401000
mov eax, dword [esp + 0x24]
add esp, 4
push 0x190
push eax
mov dword [0x438368], edi
mov dword [0x437650], edi
mov dword [0x4483cc], esi
mov dword [0x433cd0], 0x1fc
mov dword [0x433cd4], ebp
mov dword [0x433cd8], edi
mov dword [0x433cdc], 7
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x435588]
push 0x32
lea edx, [esp + 0xb8]
push edx
mov dword [0x433ce4], eax
mov eax, dword [0x437648]
push 0x341
push eax
mov dword [0x433ce0], ecx
call ebx
lea ecx, [esp + 0xb4]
push ecx
push 0x433ce8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433cd0
push edi
mov dword [0x437668], edi
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, ebp
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041355c
add esp, 0x15c
ret