joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e01a35d
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x2e01d65b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x2e01d669
sub eax, ecx
push 0
sar eax, 1
lea ecx, [ebp - 4]
push ecx
add eax, eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x2e01d6b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 8]
call fcn.2e00e813
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
push 0x2e041f6c
lea eax, [ebp + 0xc]
push eax
call fcn.2e02ee42
leave
ret 8

Function at 0x2e023c96
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x2e023ce3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 8]
call fcn.2e00e813
mov eax, dword [eax]
mov dword [ebp + 8], eax
push 0x2e041f6c
lea eax, [ebp + 8]
push eax
call fcn.2e02ee42
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x2e023cc1
lea eax, [esi + 1]
push eax
call fcn.2e02ff86
pop ecx
mov dword [edi], eax
cmp eax, ebx
jne 0x2e023d12
mov al, byte [ebp + 0xb]
mov byte [ebp + 0xb], al
push 0x2e044a48
lea eax, [ebp + 0xb]
jmp 0x2e023cdd
push ebx
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x2e023cc1
mov eax, dword [edi]
push dword [ebp + 8]
mov byte [esi + eax], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x2e025f39
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x2e049994]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x108]
push eax
mov esi, 0x103
xor ebx, ebx
push esi
mov edi, ecx
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x2e025f9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x110]
call fcn.2e00e813
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
push 0x2e041f6c
lea eax, [ebp - 0x10c]
push eax
call fcn.2e02ee42
inc dword [ebp - 0x10c]
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
push 0x2e008d38
push esi
push edi
call fcn.2e025e73
add esp, 0x14
test eax, eax
jl 0x2e025fe5
push ebx
push ebx
push 1
push ebx
push ebx
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x2e025ff6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x2e025f9b
jmp 0x2e026004
push 0x2e008cf8
mov ecx, 0x2e0494f0
call fcn.2e025e3a
jmp 0x2e026004
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.2e025e92
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e02f7a3
leave
ret
Function at 0x2e029959
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x2e049994]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, edx
push esi
mov dword [ebp - 0x10c], edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2e02997b
sub eax, esi
cmp eax, 2
je 0x2e029a43
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push edx
call esi
test eax, eax
jne 0x2e029a43
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x2e029a41
cmp eax, 3
je 0x2e0299e1
push eax
lea ecx, [ebp - 0x110]
call fcn.2e00e813
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
push 0x2e041f6c
lea eax, [ebp - 0x10c]
push eax
call fcn.2e02ee42
push 0xffffffffffffffff
push dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.2e02ffb2
add esp, 0x10
cmp eax, 0x50
jne 0x2e029a06
push 0x7b
jmp 0x2e0299bd
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.2e0305ab
pop ecx
pop ecx
test eax, eax
je 0x2e029a02
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.2e029959
push 0
push dword [ebp - 0x10c]
call esi
test eax, eax
jne 0x2e029a41
call edi
cmp eax, ebx
jne 0x2e0299bc
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e02f7a3
leave
ret 4

Function at 0x2e02a0fe
Capabilities:
Create restart manager session

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 0x46], 0
je 0x2e02a128
lea ecx, [ebp - 2]
call fcn.2e0193bf
mov al, byte [eax]
mov byte [ebp - 1], al
push 0x2e0435d0
lea eax, [ebp - 1]
push eax
call fcn.2e02ee42
lea eax, [esi + 4]
push eax
push 0
push esi
call sub.RstrtMgr.DLL_RmStartSession
test eax, eax
je 0x2e02a150
push eax
lea ecx, [ebp - 0xc]
call fcn.2e00e813
mov eax, dword [eax]
mov dword [ebp - 8], eax
push 0x2e041f6c
lea eax, [ebp - 8]
jmp 0x2e02a122
mov byte [esi + 0x46], 1
pop esi
leave
ret
Function at 0x2e02f7a3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e049994]
jne 0x2e035136
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x2e04b240], eax
mov dword [0x2e04b23c], ecx
mov dword [0x2e04b238], edx
mov dword [0x2e04b234], ebx
mov dword [0x2e04b230], esi
mov dword [0x2e04b22c], edi
mov word [0x2e04b258], ss
mov word [0x2e04b24c], cs
mov word [0x2e04b228], ds
mov word [0x2e04b224], es
mov word [0x2e04b220], fs
mov word [0x2e04b21c], gs
pushfd
pop dword [0x2e04b250]
mov eax, dword [ebp]
mov dword [0x2e04b244], eax
mov eax, dword [ebp + 4]
mov dword [0x2e04b248], eax
lea eax, [ebp + 8]
mov dword [0x2e04b254], eax
mov eax, dword [ebp - 0x320]
mov dword [0x2e04b190], 0x10001
mov eax, dword [0x2e04b248]
mov dword [0x2e04b144], eax
mov dword [0x2e04b138], 0xc0000409
mov dword [0x2e04b13c], 1
mov eax, dword [0x2e049994]
mov dword [ebp - 0x328], eax
mov eax, dword [0x2e049998]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x2e04b188], eax
push 1
call fcn.2e034391
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2e00a230
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x2e04b188], 0
jne 0x2e035222
push 1
call fcn.2e034391
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x2e030067
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x2e030098
call fcn.2e032e95
mov dword [eax], esi
call fcn.2e032e82
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.2e02f391
add esp, 0x14
push 0x16
pop eax
jmp 0x2e0300ed
test dword [ebp + 0xc], 0xfffffff9
jne 0x2e030074
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x2e0300c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.2e032ea8
pop ecx
call fcn.2e032e82
mov eax, dword [eax]
jmp 0x2e0300ed
test al, 0x10
jne 0x2e0300eb
test al, 1
je 0x2e0300eb
test byte [ebp + 0xc], 2
je 0x2e0300eb
call fcn.2e032e95
mov dword [eax], 5
call fcn.2e032e82
mov dword [eax], 0xd
jmp 0x2e0300bc
xor eax, eax
pop esi
pop ebp
ret
Function at 0x2e0392e8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.2e0322fc
and dword [ebp - 4], 0
cmp dword [0x2e04b4a0], 0
mov ebx, eax
jne 0x2e039399
push 0x2e00a354
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x2e03944a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e00a348
push edi
call esi
test eax, eax
je 0x2e03944a
push eax
call fcn.2e03228a
mov dword [esp], 0x2e00a338
push edi
mov dword [0x2e04b4a0], eax
call esi
push eax
call fcn.2e03228a
mov dword [esp], 0x2e00a324
push edi
mov dword [0x2e04b4a4], eax
call esi
push eax
call fcn.2e03228a
mov dword [esp], 0x2e00a308
push edi
mov dword [0x2e04b4a8], eax
call esi
push eax
call fcn.2e03228a
pop ecx
mov dword [0x2e04b4b0], eax
test eax, eax
je 0x2e039399
push 0x2e00a2f0
push edi
call esi
push eax
call fcn.2e03228a
pop ecx
mov dword [0x2e04b4ac], eax
mov eax, dword [0x2e04b4ac]
cmp eax, ebx
je 0x2e0393f1
cmp dword [0x2e04b4b0], ebx
je 0x2e0393f1
push eax
call fcn.2e032305
push dword [0x2e04b4b0]
mov esi, eax
call fcn.2e032305
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x2e0393f1
test edi, edi
je 0x2e0393f1
call esi
test eax, eax
je 0x2e0393e8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x2e0393e8
test byte [ebp - 0xc], 1
jne 0x2e0393f1
or dword [ebp + 0x10], 0x200000
jmp 0x2e03942a
mov eax, dword [0x2e04b4a4]
cmp eax, ebx
je 0x2e03942a
push eax
call fcn.2e032305
pop ecx
test eax, eax
je 0x2e03942a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x2e03942a
mov eax, dword [0x2e04b4a8]
cmp eax, ebx
je 0x2e03942a
push eax
call fcn.2e032305
pop ecx
test eax, eax
je 0x2e03942a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x2e04b4a0]
call fcn.2e032305
pop ecx
test eax, eax
je 0x2e03944a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x2e03944c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x703030ea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
mov esi, dword [eax + 0xc]
add esi, 0xc
mov esi, dword [esi]
cmp dword [esi + 0x30], 0
je 0x703030f7
cmp dword [esp + 8], 0
je 0x70303115
push dword [esi + 0x30]
call fcn.7030311a
pop ecx
cmp dword [esp + 8], eax
jne 0x703030f7
mov eax, dword [esi + 0x18]
pop esi
ret

Function at 0x70313bae
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x70313bbe
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x7038e451
Capabilities:
Send data
Send http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp byte [esi + 0xc], bl
push edi
mov edi, ecx
jne 0x7038e517
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x7038e517
mov ecx, dword [esi + 4]
cmp ecx, 1
jne 0x7038e4d4
cmp byte [esi + 0x19], bl
mov ecx, dword [esi + 0x24]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
mov dword [esi + 4], 2
mov dword [esi + 0x64], eax
mov ecx, 0x7030c010
jne 0x7038e4a0
mov ecx, 0x7030c008
lea edx, [esi + 0xb8]
push edx
mov dl, byte [edi + 0x25]
neg dl
sbb edx, edx
and edx, 0x7c000000
add edx, 0x84000000
or edx, 0x80200
push edx
lea edx, [ebp - 8]
push edx
push ebx
push ebx
push dword [esi + 0x54]
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
jmp 0x7038e528
cmp ecx, 2
jne 0x7038e528
lea ecx, [esi + 0xbc]
push ecx
push ebx
push ebx
push ebx
push eax
mov dword [esi + 4], 3
mov dword [esi + 0x68], eax
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x7038e50a
push ebx
push esi
mov ecx, edi
mov dword [esi + 4], 4
call fcn.7038dff8
jmp 0x7038e528
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x7038e528
add esi, 0xac
push esi
push ebx
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7038e73d
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
mov esi, ecx
mov dword [ebp - 4], 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 4], eax
je 0x7038e7da
push 1
push edi
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, edi
mov dword [esi], eax
je 0x7038e7ce
push eax
push edi
push 0x7038e534
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
call dword [sym.imp.MSVCR80.dll__beginthread]
add esp, 0xc
cmp eax, 1
je 0x7038e7c4
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x7038e7c4
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [esi + 8]
neg al
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov dword [ebp - 4], eax
jns 0x7038e7da
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x7038f411
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x703c1050]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.7038f33c
mov eax, 0x70300000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x7038f460
cmp dword [ebp - 0x1c], 5
jb 0x7038f478
jmp 0x7038f474
cmp dword [ebp - 0x10], 1
jne 0x7038f478
cmp dword [ebp - 0x1c], 4
ja 0x7038f474
jne 0x7038f478
cmp dword [ebp - 0x18], 0
jbe 0x7038f478
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x7030c114
call fcn.7031460c
test eax, eax
jge 0x7038f499
mov byte [0x703c1744], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.7038fba1
add ebp, 0x78
leave
ret

Function at 0x7038fba1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x703c1050]
jne 0x7038fbab
repz ret
jmp fcn.7039033b

Function at 0x70392185
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
cmp edi, 0xffffffff
mov esi, ecx
je 0x703921e7
call ebx
mov dword [ebp + 0xc], eax
jmp 0x703921e7
mov ecx, dword [esi + 4]
call fcn.70377e80
cmp eax, edi
jbe 0x703921b6
mov eax, edi
push 1
push 0
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.70392058
cmp eax, 0xffffffff
je 0x703921ee
test eax, eax
jle 0x703921d3
cmp eax, 2
jle 0x703921ee
cmp edi, 0xffffffff
je 0x703921e7
call ebx
sub eax, dword [ebp + 0xc]
cmp eax, edi
jae 0x703921e5
sub edi, eax
jmp 0x703921e7
xor edi, edi
mov eax, dword [esi + 0x64]
test eax, eax
je 0x703921a8
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41ae1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x41ae2e
pop dword [ebp - 0x48]
mov eax, 0x41ae2e
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x43d78
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x1713369d
add ecx, 0xe8ed2837
mov ebx, eax
mov edx, 0xd7bb4e11
add edx, 0x288833ef
add edx, dword [ebp - 0x48]
mov edi, 0xcf129321
sub edi, 0x26451301
add dword [ebp - 0x24], 0x267e7c0c
mov esi, dword [edx]
xor dword [ebp - 0x20], 0x34d5ab76
sub esi, edi
add dword [ebp - 0x28], 0x1480a210
mov dword [ebx], esi
mov dword [ebp - 0x14], 0x46416e64
add ebx, 0x9c86f32f
add ebx, 0x63790cd5
add edx, 4
loop 0x41ae83
add eax, 0x16e23
mov ebx, eax
add eax, 5
mov ecx, 0xa98aeae8
add ecx, 0x56b51518
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x468440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xf8]
push eax
push 0xf1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov al, byte [ebp - 0xf8]
mov byte [esi], al
movsx eax, al
sub eax, 0x40
mov dword [edi], eax
lea eax, [ebp - 0xf8]
push eax
push 0x45a240
push ebx
call fcn.00401540
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push str._sSDIR_s_
push dword [ebp - 0x104]
call fcn.00401540
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040817a
mov esp, ebp
pop ebp
ret

Function at 0x401580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8a0
mov eax, dword [0x468440]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x45a470
push str.PDFFONT
call fcn.0042e71c
add esp, 8
mov dword [ebp - 0x898], eax
cmp dword [ebp - 0x898], 0
je 0x40163e
mov eax, dword [ebp - 0x898]
push eax
push 1
push 4
lea ecx, [ebp - 0x89c]
push ecx
call fcn.0042e9ce
add esp, 0x10
mov edx, dword [ebp - 0x898]
push edx
push 1
push 4
lea eax, [ebp - 0x8a0]
push eax
call fcn.0042e9ce
add esp, 0x10
mov ecx, dword [ebp - 0x898]
push ecx
call fcn.0042e42e
add esp, 4
cmp dword [ebp - 0x89c], 0
jne 0x401609
jmp 0x4016bc
mov edx, dword [ebp - 0x89c]
push edx
push str._pfs_i
lea eax, [ebp - 0x94]
push eax
call fcn.00401540
add esp, 0xc
mov ecx, dword [ebp - 0x8a0]
push ecx
push str._plm_i
lea edx, [ebp - 0x34]
push edx
call fcn.00401540
add esp, 0xc
jmp 0x401640
jmp 0x4016bc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s_s.txt
lea edx, [ebp - 0x894]
push edx
call fcn.00401540
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s_s.pdf
lea edx, [ebp - 0x494]
push edx
call fcn.00401540
add esp, 0x10
push str._pfn200
lea eax, [ebp - 0x64]
push eax
call fcn.00401540
add esp, 8
push 0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x494]
push ecx
lea edx, [ebp - 0x894]
push edx
push str.TxtToPDF.EXE
push str.TxtToPDF.EXE
push 0
call fcn.004340eb
add esp, 0x24
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040817a
mov esp, ebp
pop ebp
ret
Function at 0x402350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.TRANSFERN
push 0x46ab80
push str._s_s
push 0x46a980
call fcn.00401540
add esp, 0x10
push 0x45a470
push 0x46a980
call fcn.0042e71c
add esp, 8
mov dword [0x5f1b1c], eax
cmp dword [0x5f1b1c], 0
je 0x402407
mov eax, dword [0x5f1b1c]
push eax
push 1
push 0x504
push 0x5f1600
call fcn.0042e9ce
add esp, 0x10
mov ecx, dword [0x5f1b1c]
push ecx
push 1
push 0x28
push 0x5f15c0
call fcn.0042e9ce
add esp, 0x10
mov edx, dword [0x5f1b1c]
push edx
call fcn.0042e42e
add esp, 4
mov al, byte [0x5f1a86]
mov byte [0x5f15a1], al
movsd xmm0, qword [0x5f1a70]
movsd qword [0x5d2798], xmm0
movsd xmm0, qword [0x5f1a78]
movsd qword [0x5d2790], xmm0
mov cl, byte [0x5f1a89]
mov byte [0x468e65], cl
mov dword [ebp - 4], 1
jmp 0x402419
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movsx eax, word [0x5f1620]
cmp dword [ebp - 4], eax
jg 0x402433
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403e10
add esp, 4
jmp 0x402410
mov esp, ebp
pop ebp
ret

Function at 0x402820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
push str._sLASTD
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401540
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
call fcn.00402150
add esp, 4
push 0x45a470
mov eax, dword [ebp + 0x10]
push eax
call fcn.0042e71c
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402918
mov ecx, dword [ebp - 8]
push ecx
push 1
push 2
lea edx, [ebp - 4]
push edx
call fcn.0042e9ce
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.0042e42e
add esp, 4
movsx ecx, word [ebp + 0x14]
cmp ecx, 1
jne 0x4028e9
mov dx, word [ebp - 4]
add dx, 1
mov word [ebp - 4], dx
mov eax, dword [ebp + 8]
push eax
push str._sLASTD
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401540
add esp, 0xc
push 0x45a574
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042e71c
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 1
push 2
lea ecx, [ebp - 4]
push ecx
call fcn.0042ef97
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x4028e9
mov edx, dword [ebp - 8]
push edx
call fcn.0042e42e
add esp, 4
movsx eax, word [ebp - 4]
push eax
push 0x45a578
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401540
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_s.TXT
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401540
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x407d90
Capabilities:
Create directory
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x50], 0x407ff0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x40], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x3c], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.STEELX
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + eax]
test edx, edx
je 0x407e7c
lea eax, [ebp - 4]
push eax
push 0x46a140
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401000
add esp, 0xc
mov edx, 0x51
shl edx, 0
add edx, 0x46a140
push edx
push 0x45a46c
push 0x46b180
call fcn.00401540
add esp, 0xc
mov eax, 0x51
shl eax, 1
add eax, 0x46a140
push eax
push 0x45a46c
push 0x46a480
call fcn.00401540
add esp, 0xc
jmp 0x407e97
push 0
push 0x45b010
push str.Kommandozeile_leer
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x407fdf
push 1
push 1
push 0x46b180
call fcn.004014d0
add esp, 0xc
push 0x46b180
push 0x46b080
call fcn.0042eb10
add esp, 8
push 0x45a599
push 0x45a599
push 0x46b180
push 0x45a59c
push 0x46b180
call fcn.004013d0
add esp, 0x14
push 0x45a470
push str.D:TRACEFHTEST
call fcn.0042e71c
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x407f41
mov byte [0x5f15a0], 1
mov ecx, dword [ebp - 8]
push ecx
call fcn.0042e42e
add esp, 4
push 0x46b080
push str.D:TRACETRACE_s
push 0x46a680
call fcn.00401540
add esp, 0xc
push 0x46a680
call fcn.00434924
add esp, 4
push 0x45a814
push 0x46a680
call fcn.0042eb20
add esp, 8
jmp 0x407f48
mov byte [0x5f15a0], 0
push str.Bemessung
push 0x45a46c
push 0x46b780
call fcn.00401540
add esp, 0xc
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
mov eax, dword [0x468424]
push eax
mov ecx, dword [0x468420]
push ecx
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Bewehrung
push str.STEELX
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x407fdc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x407fb2
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 0x10