joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4123c5
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c4
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
call fcn.00410eed
test ax, ax
je 0x412492
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ntdll.dll
call ebp
mov edi, eax
test edi, edi
je 0x412562
push str.VerSetConditionMask
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x41248a
push 6
push 0x40
push esi
push esi
call eax
push str.kernel32.dll
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
call ebp
mov ebp, eax
test ebp, ebp
je 0x41248a
push str.VerifyVersionInfoA
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x28], eax
test eax, eax
je 0x412487
push 0x9c
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00443240
add esp, 0xc
mov dword [esp + 0x30], 0x9c
push 0x10
pop eax
push dword [esp + 0x20]
mov word [esp + 0xcc], ax
lea eax, [esp + 0x34]
push dword [esp + 0x28]
push 0x40
push eax
call dword [esp + 0x38]
movzx esi, ax
push ebp
call ebx
push edi
call ebx
jmp 0x412562
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
mov ebp, 0x20019
push ebp
push esi
push str.System
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x412562
lea eax, [esp + 0x18]
push eax
push ebp
push esi
push str.CurrentControlSet
push dword [esp + 0x2c]
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41255c
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push str.Control
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x412556
lea eax, [esp + 0x10]
push eax
push ebp
push esi
push str.ProductOptions
push dword [esp + 0x24]
call ebx
test eax, eax
jne 0x412550
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x104
push eax
lea eax, [esp + 0xd0]
push eax
push esi
push esi
push str.ProductSuite
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41254a
lea eax, [esp + 0xcc]
push str.Terminal_Server
push eax
call fcn.004478d0
pop ecx
pop ecx
xor ecx, ecx
inc ecx
test eax, eax
cmove esi, ecx
push dword [esp + 0x10]
call edi
push dword [esp + 0x14]
call edi
push dword [esp + 0x18]
call edi
push dword [esp + 0x1c]
call edi
mov ecx, dword [esp + 0x1d0]
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x1c4
ret

Function at 0x4125bf
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41260f
cmp dword [ebp - 0x90], 2
jne 0x41260f
cmp dword [ebp - 0x9c], 0xa
jb 0x41260f
mov al, byte [ebp - 6]
cmp al, 3
je 0x41260a
cmp al, 2
jne 0x41260f
xor eax, eax
inc eax
jmp 0x412611
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441a5e
mov esp, ebp
pop ebp
ret
Function at 0x41261f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push 0x90
xor esi, esi
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00443240
add esp, 0xc
mov dword [ebp - 0x20], 0x94
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1c], 5
ja 0x412668
jne 0x41266b
cmp dword [ebp - 0x18], 1
jb 0x41266b
xor esi, esi
inc esi
mov ecx, dword [ebp + 0x74]
mov ax, si
xor ecx, ebp
pop esi
call fcn.00441a5e
lea esp, [ebp + 0x78]
pop ebp
ret

Function at 0x412e34
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
movzx eax, cx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
push 5
push eax
push ecx
call fcn.0040a83c
add esp, 0xc
lea eax, [ebp - 0x14]
push dword [0x50d24c]
push 6
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [0x50d250]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push 5
push eax
call fcn.00409892
mov ecx, dword [ebp - 4]
add esp, 0xc
mov ax, word [ebp - 0x18]
xor ecx, ebp
pop esi
call fcn.00441a5e
mov esp, ebp
pop ebp
ret

Function at 0x412f4f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
push edi
mov edi, ebp
test esi, esi
jne 0x412f66
mov eax, dword [0x50d254]
mov esi, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 2
push dword [esp + 0x1c]
push esi
call ebx
test eax, eax
jne 0x412f96
call fcn.0046ef56
mov esi, eax
mov eax, dword [0x50d254]
cmp esi, dword [eax]
je 0x413005
push 2
push dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x413005
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebp
mov edi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00412ea2
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
test ecx, ecx
je 0x412fdb
push ebp
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
movzx ecx, word [edi]
mov eax, dword [esp + 0x14]
add ecx, edi
push ebp
push edi
lea eax, [ecx + eax*4]
push eax
push 4
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push esi
push ebp
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41300c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4c
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x60]
push 0x18
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x10
jbe 0x4131b5
push ebx
push ebp
lea eax, [esp + 0x14]
push eax
push edi
push 0
call fcn.00412f4f
add esp, 0xc
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
mov ebp, eax
push 0
push dword [esp + 0x18]
push esi
call edi
push esi
mov esi, dword [sym.imp.GDI32.dll_RealizePalette]
call esi
push 0
push dword [esp + 0x18]
push ebp
call edi
push ebp
call esi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call ebx
cmp word [esp + 0x7c], 0
mov dword [esp + 0x1c], eax
jne 0x41315b
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
xorps xmm0, xmm0
push esi
movups xmmword [esp + 0x50], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
cmp eax, dword [esp + 0x28]
movups xmmword [esp + 0x38], xmm0
cmovl eax, dword [esp + 0x28]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x40]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xfffffffffffffff0
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
call esi
push 0xffffffffffffffec
push dword [esp + 0x14]
mov edi, eax
call esi
push eax
xor esi, esi
lea eax, [esp + 0x3c]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push 0x36
push eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
push eax
push esi
push esi
push esi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
movzx eax, word [esp + 0x70]
push 0xcc0020
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
push esi
push ebp
push dword [esp + 0x40]
push dword [esp + 0x40]
push eax
movzx eax, word [esp + 0x90]
push eax
jmp 0x41318c
movzx ecx, word [esp + 0x70]
movzx eax, word [esp + 0x78]
movzx edx, word [esp + 0x6c]
add eax, ecx
push 0xcc0020
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 0
push 0
push ebp
push eax
movzx eax, word [esp + 0x90]
add eax, edx
push eax
push ecx
push edx
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [esp + 0x1c]
push ebp
call ebx
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x14]
call esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
pop edi
pop esi
xor ecx, esp
call fcn.00441a5e
add esp, 0x4c
ret
Function at 0x4136a7
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebp
push esi
push 0x52d75c
lea ecx, [esp + 0xc]
call fcn.0046ef85
call fcn.004472da
xor ebp, ebp
cmp dword [eax], ebp
jne 0x413764
mov esi, dword [0x52d758]
test esi, esi
jne 0x413775
push ebx
push edi
call fcn.004472d4
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
call fcn.004472d4
xor ecx, ecx
push 4
pop edx
mov eax, dword [eax]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00441cd2
mov dword [0x52d758], eax
mov dword [esp], 0x413634
call fcn.00441a49
pop ecx
mov edi, ebp
call fcn.004472d4
cmp dword [eax], ebp
jle 0x41375b
push dword [ebx + edi*4]
call fcn.0044769f
lea esi, [eax + 1]
push esi
call fcn.00441cd2
pop ecx
pop ecx
mov ecx, dword [0x52d758]
push ebp
push ebp
push esi
push eax
push 0xffffffffffffffff
mov dword [ecx + edi*4], eax
push dword [ebx + edi*4]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc edi
call fcn.004472d4
cmp edi, dword [eax]
jl 0x413724
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
mov esi, dword [0x52d758]
test esi, esi
jne 0x413775
call fcn.004472da
mov esi, dword [eax]
lea ecx, [esp + 8]
call fcn.0046ef99
mov eax, esi
pop esi
pop ebp
pop ecx
ret
Function at 0x414906
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
push edi
mov di, word [esp + 0x14]
inc ebx
test di, di
jne 0x414933
call fcn.0040e319
sub eax, dword [0x52d7dc]
cmp eax, ebx
jbe 0x41492e
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040fcb6
call fcn.0040e319
mov ebx, dword [esp + 0x10]
mov dword [0x52d7dc], eax
cmp dword [ebx + 0x82], ebp
jne 0x41496c
test di, di
je 0x414965
push dword [esp + 0x18]
movzx eax, di
imul eax, eax, 0x64
push eax
call fcn.0040b9ce
pop ecx
pop ecx
jmp 0x414a61
xor eax, eax
jmp 0x414a61
mov eax, ebp
mov dword [esp + 0x10], eax
push esi
mov esi, ebp
test di, di
je 0x41499a
movzx eax, di
imul eax, eax, 0x3e8
push ebp
push eax
mov eax, dword [0x50d234]
push dword [eax]
call fcn.0040fd0d
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x41499e
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x1c], 0
je 0x4149b2
call dword [esp + 0x1c]
test ax, ax
jne 0x414a45
push ebx
call fcn.0042c9e7
pop ecx
test ax, ax
je 0x4149d6
push ebx
call fcn.0042c7d5
pop ecx
mov ecx, 0x11b
cmp ax, cx
jne 0x4149ec
xor eax, eax
lea esi, [eax + 1]
jmp 0x4149ec
lea eax, [ebx + 0x8e]
push eax
call fcn.0043bd90
pop ecx
test ax, ax
push 1
pop eax
cmovne esi, eax
test si, si
je 0x414a39
lea esi, [ebx + 0x8a]
push esi
call fcn.00439fc2
lea eax, [ebx + 0x1e]
push eax
call fcn.0046f069
push 0x4e
push dword [ebx + 0x82]
push 0
push 0
call fcn.0042c477
xor ecx, ecx
cmp al, 0x59
push esi
sete cl
movzx ebp, cx
mov dword [esp + 0x30], ebp
call fcn.00439fe9
xor eax, eax
movzx esi, bp
inc eax
add esp, 0x1c
cmp bp, ax
je 0x414a45
test di, di
jne 0x414a65
cmp dword [esp + 0x1c], 0
jne 0x414a7a
mov ebp, dword [esp + 0x18]
pop esi
test ebp, ebp
je 0x414a5d
mov ecx, dword [0x50d234]
push ebp
push dword [ecx]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
ret
call fcn.0040e319
sub eax, dword [0x52d7dc]
movzx ecx, di
imul ecx, ecx, 0x64
cmp eax, ecx
jae 0x414a45
call fcn.0040fc62
jmp 0x41499e
Function at 0x414fb5
Capabilities:
Get common file path

Disassembly:
test dword [0x52d808], 0x4000
push esi
mov esi, dword [esp + 8]
je 0x41500f
push esi
xor eax, eax
push eax
push eax
push 0x801a
push eax
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
js 0x41500f
push str.Axis_FirstDiplomat_
push esi
call fcn.00446fa0
push esi
call fcn.0045c624
movzx eax, ax
add esp, 0xc
test ax, ax
je 0x415001
mov ecx, 0xa2b
cmp ax, cx
jne 0x41500f
push str.axisrep.ini
push esi
call fcn.00446fa0
pop ecx
jmp 0x415015
push esi
call fcn.00465e1a
pop ecx
pop esi
ret

Function at 0x41506a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x520
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x52d808]
mov edx, 0xc000
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
mov esi, dword [ebp + 0x10]
and eax, edx
push edi
mov edi, dword [ebp + 0xc]
cmp ax, dx
je 0x4150b3
push 0xf8
call fcn.00460b68
pop ecx
test ax, ax
je 0x415105
mov ecx, dword [0x52d808]
test ecx, 0x4000
jne 0x4150c5
call fcn.0045dcec
test ax, ax
jne 0x415105
lea eax, [ebp - 0x520]
push eax
call fcn.00414fb5
pop ecx
lea eax, [ebp - 0x520]
push eax
push dword [ebp + 0x14]
push esi
push edi
push ebx
push str.lxprep
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.folder
push ebx
call fcn.004478d0
pop ecx
pop ecx
test eax, eax
jne 0x415117
cmp byte [esi], 0x5c
jne 0x415117
cmp byte [esi + 1], al
jne 0x415117
push edi
call fcn.00447230
inc eax
push eax
push edi
push esi
call fcn.00444bd0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441a5e
mov esp, ebp
pop ebp
ret
Function at 0x419645
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x128]
push ebx
mov ebx, dword [esp + 0x128]
push ebp
push edi
push 0x2c
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x13c]
push ebp
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
call fcn.00443240
add esp, 0xc
push ebp
push ebp
push 3
push ebp
push ebp
push connect
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4196ae
mov eax, 0x58c
jmp 0x41983d
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00441cd2
mov esi, eax
pop ecx
test esi, esi
je 0x4197d4
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419829
cmp dword [esp + 0x10], ebx
jne 0x419829
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
lea eax, [esp + 0x24]
push ecx
push ecx
push eax
push ecx
push ecx
push ecx
push dword [esp + 0x30]
mov ebp, esi
call fcn.0040d952
lea eax, [esp + 0x40]
push 0x4c8f60
push eax
call fcn.00447146
add esp, 0x24
test eax, eax
je 0x419738
lea eax, [esp + 0x24]
push str.JPEG
push eax
call fcn.00447146
pop ecx
pop ecx
test eax, eax
jne 0x41979d
push 0x4c8f6c
call fcn.00447230
movzx eax, ax
push eax
push 0x4c8f6c
push esi
call fcn.0045b836
add esp, 0x10
test ax, ax
je 0x41979d
push 0x4c8f6c
call fcn.00447230
lea ebp, [esi + ebx]
mov dword [esp], 0x4c8f6c
sub ebp, eax
jmp 0x41977a
cmp ebp, esi
je 0x419797
push 0x4c8f6c
dec ebp
call fcn.00447230
movzx eax, ax
push eax
push 0x4c8f6c
push ebp
call fcn.0045b836
add esp, 0x10
test ax, ax
jne 0x419771
mov eax, esi
sub eax, ebp
add ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4197b7
push esi
call fcn.00441cdb
pop ecx
jmp 0x4197d4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4197e2
push esi
call fcn.00441cdb
mov esi, dword [esp + 0x18]
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x58d
jmp 0x41983c
push ebx
push ebp
push eax
call fcn.00442cc0
push esi
call fcn.00441cdb
mov esi, dword [esp + 0x24]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x1c]
push ebx
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.00419bee
mov eax, dword [esp + 0x28]
push eax
mov dword [esi + 0x28], eax
call fcn.0043eaa9
movzx eax, al
add esp, 0x14
mov word [esi + 0x24], ax
xor eax, eax
jmp 0x41983c
push esi
call fcn.00441cdb
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x58e
pop esi
mov ecx, dword [esp + 0x128]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x120
ret
Function at 0x41e094
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x550328], 0
je 0x41e0a1
xor eax, eax
inc eax
ret
cmp word [0x52d7e0], 0
je 0x41e0ae
xor eax, eax
ret
push esi
xor esi, esi
inc esi
cmp word [0x52d800], si
jne 0x41e0da
call fcn.0040e319
sub eax, dword [0x5312a0]
cmp eax, 0x32
jbe 0x41e0da
call fcn.0040fcb6
call fcn.0040e319
mov dword [0x5312a0], eax
push esi
call fcn.0041e0f1
pop ecx
test ax, ax
jne 0x41e0ec
pop esi
jmp fcn.0041b070
mov ax, si
pop esi
ret
Function at 0x41fd89
Capabilities:
Read .ini file

Disassembly:
push 0x12c
mov eax, 0x4ba612
call fcn.00441d3a
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x130]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x134], eax
call fcn.004141ab
xor esi, esi
lea ecx, [ebp - 0x130]
cmp byte [0x52fcd8], 0
mov eax, 0x531310
push esi
push esi
push 0x32
push 0x4c060e
mov edi, 0x52fcd8
mov dword [ebp - 4], esi
push esi
cmove edi, eax
call fcn.0041421a
push 0x52ecc7
push edi
lea eax, [ebp - 0x130]
push str.Faxing__str__to__str_
push eax
call fcn.004142fc
add esp, 0x10
mov eax, 0x52ece6
push str.._axis.ini
push 0x1f
push eax
push eax
push str.fax_to
push 0x4ca2f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x30]
call fcn.004719aa
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00471a33
test ax, ax
je 0x41fe70
mov eax, dword [0x52f294]
lea ecx, [ebp - 0x30]
push edi
push dword [ebp - 0x134]
add eax, 0x1c
push dword [ebp - 0x138]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x52ece6
push 0x52ecc7
push 0x52eca8
push eax
call fcn.00471b62
test ax, ax
jne 0x41fe8f
lea ecx, [ebp - 0x130]
call fcn.004141f0
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00413845
pop ecx
jmp 0x41fe9f
xor eax, eax
inc eax
mov word [0x52d7f4], ax
mov esi, eax
mov dword [0x52d7f8], eax
lea ecx, [ebp - 0x30]
call fcn.004719c4
lea ecx, [ebp - 0x130]
call fcn.004141d3
mov ax, si
call fcn.00441cf5
ret
Function at 0x425f80
Capabilities:
Print debug messages

Disassembly:
push 0x4c
mov eax, 0x4ba831
call fcn.00441d3a
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp dword [esi + 8], ebx
jne 0x425fa2
xor eax, eax
jmp 0x426083
push eax
push str.TXP_TIN_ICB
push edi
call fcn.0043b246
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetPropA]
cmp dword [edi], 2
jne 0x425fe1
push 0xfffffffffffffff0
push edi
call fcn.0043b246
pop ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push edi
call fcn.0043b246
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x2c
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], 0x30
push ebx
push eax
call fcn.00443240
push dword [0x533e04]
mov dword [ebp - 0x54], 0x111
call fcn.0042c80a
push edi
mov dword [ebp - 0x50], eax
call fcn.0043b246
or dword [ebp - 0x34], 0xffffffff
add esp, 0x14
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x404
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x426080
lea ecx, [ebp - 0x28]
call fcn.00408368
mov esi, eax
push edi
mov dword [ebp - 4], ebx
call fcn.0043b246
cdq
push edx
push eax
push str.Failed_to_add_window__qword__4_to_the_tooltip_control__n
push esi
call fcn.00408abf
add esp, 0x14
cmp dword [eax + 0x14], 0x10
jb 0x426069
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040758b
jmp 0x425f9b
xor eax, eax
inc eax
call fcn.00441cf5
ret 8
Function at 0x42aed9
Capabilities:
Print debug messages

Disassembly:
push 0x60
mov eax, 0x4babec
call fcn.00441d3a
mov ebx, dword [ebp + 8]
push str.INDEX___XXXXXXXXXXXXXXXXXXXX___NEVER___HIDDEN___TABNO___CURRENT__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 4]
jmp 0x42b074
xor eax, eax
mov byte [ebp - 0x30], 0
lea edi, [ebp - 0x2f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, si
imul edi, eax, 0x1e
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx]
push dword [edi + eax + 4]
call fcn.00447230
pop ecx
push 0x14
pop ecx
cmp cx, ax
jb 0x42af3a
mov eax, dword [ebx]
push dword [edi + eax + 4]
call fcn.00447230
pop ecx
movzx ecx, ax
mov eax, dword [ebx]
push ecx
push dword [edi + eax + 4]
lea eax, [ebp - 0x30]
push eax
call fcn.00442cc0
push 0x14
lea eax, [ebp - 0x44]
push 0x5f
push eax
call fcn.00443240
lea eax, [ebp - 0x30]
push eax
call fcn.00447230
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00442cc0
mov ecx, dword [ebx]
push 5
push 0x20
mov al, byte [edi + ecx + 0x10]
and al, 1
movzx eax, al
mov dword [ebp - 0x64], eax
mov eax, dword [edi + ecx + 0x10]
shr eax, 2
and al, 1
movzx ecx, al
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x60], ecx
call fcn.00443240
mov eax, dword [ebp - 0x60]
add esp, 0x34
cmp word [ebp - 0x64], 0
jne 0x42afe6
test ax, ax
jne 0x42afcf
mov eax, dword [ebx]
mov ecx, 0xffff
movzx eax, word [edi + eax + 0x1c]
cmp ax, cx
je 0x42afcc
push 1
push 5
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0040a85c
add esp, 0x10
mov eax, dword [ebp - 0x60]
cmp word [ebp - 0x64], 0
jne 0x42afe6
test ax, ax
jne 0x42afe6
mov edi, str.CURRENT
cmp si, word [ebx + 0x14]
je 0x42afeb
mov edi, str.______
lea ecx, [ebp - 0x5c]
call fcn.00408368
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push edi
push 5
push eax
call fcn.0045bdfb
pop ecx
pop ecx
test ax, ax
lea ecx, [ebp - 0x18]
mov edx, 0x4cc4f4
mov eax, str.HIDDEN
cmove ecx, edx
push ecx
mov ecx, dword [ebp - 0x60]
test cx, cx
mov ecx, str.______
cmove eax, ecx
cmp word [ebp - 0x64], 0
push eax
mov eax, str.NEVER
cmove eax, edx
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x6c]
push str._word__1____text__20____str_____str_____text__5____str___n
push esi
call fcn.00408abf
add esp, 0x20
cmp dword [eax + 0x14], 0x10
jb 0x42b055
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
push 0
push 1
call fcn.0040758b
mov esi, dword [ebp - 0x68]
inc esi
cmp si, word [ebx + 4]
mov dword [ebp - 0x68], esi
jb 0x42af00
call fcn.00441cf5
ret