joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5148a0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5149a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ecx + 0x10], ecx
mov dword [ecx + 0x14], ecx
mov dword [ebp - 4], 0x16
mov edx, 0xffffffff
mov dword [ebp - 4], 0x14
mov ebx, dword [ecx + 0x10]
mov byte [ebx], 0
lea ebx, [ecx + 0x18]
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
mov dword [ebp - 4], 0x12
mov byte [ebx], 0
lea ebx, [ecx + 0x30]
mov dword [ecx + 0x40], ebx
mov dword [ecx + 0x44], ebx
mov dword [ebp - 4], 0x10
mov byte [ebx], 0
lea ebx, [ecx + 0x48]
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x5c], ebx
mov dword [ebp - 4], 0xe
mov byte [ebx], 0
lea ebx, [ecx + 0x60]
mov dword [ecx + 0x70], ebx
mov dword [ecx + 0x74], ebx
mov dword [ebp - 4], 0xc
mov byte [ebx], 0
lea ebx, [ecx + 0x78]
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0x8c], ebx
mov dword [ebp - 4], 0xa
mov byte [ebx], 0
lea ebx, [ecx + 0x90]
mov dword [ecx + 0xa0], ebx
mov dword [ecx + 0xa4], ebx
mov dword [ebp - 4], 8
mov byte [ebx], 0
lea ebx, [ecx + 0xa8]
mov dword [ecx + 0xb8], ebx
mov dword [ecx + 0xbc], ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx + 0xb8]
mov eax, ecx
mov byte [edx], 0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x51a6b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a7f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ecx + 0x10], ecx
mov dword [ecx + 0x14], ecx
mov dword [ebp - 4], 0x1c
mov edx, 0xffffffff
mov dword [ebp - 4], 0x1a
mov ebx, dword [ecx + 0x10]
mov byte [ebx], 0
lea ebx, [ecx + 0x18]
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], ebx
mov dword [ebp - 4], 0x18
mov byte [ebx], 0
lea ebx, [ecx + 0x30]
mov dword [ecx + 0x40], ebx
mov dword [ecx + 0x44], ebx
mov dword [ebp - 4], 0x16
mov byte [ebx], 0
lea ebx, [ecx + 0x48]
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x5c], ebx
mov dword [ebp - 4], 0x14
mov byte [ebx], 0
lea ebx, [ecx + 0x60]
mov dword [ecx + 0x70], ebx
mov dword [ecx + 0x74], ebx
mov dword [ebp - 4], 0x12
mov byte [ebx], 0
lea ebx, [ecx + 0x78]
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0x8c], ebx
mov dword [ebp - 4], 0x10
mov byte [ebx], 0
lea ebx, [ecx + 0x90]
mov dword [ecx + 0xa0], ebx
mov dword [ecx + 0xa4], ebx
mov dword [ebp - 4], 0xe
mov byte [ebx], 0
lea ebx, [ecx + 0xa8]
mov dword [ecx + 0xb8], ebx
mov dword [ecx + 0xbc], ebx
mov dword [ebp - 4], 0xc
mov byte [ebx], 0
lea ebx, [ecx + 0xc0]
mov dword [ecx + 0xd0], ebx
mov dword [ecx + 0xd4], ebx
mov dword [ebp - 4], 0xa
mov byte [ebx], 0
lea ebx, [ecx + 0xd8]
mov dword [ecx + 0xe8], ebx
mov dword [ecx + 0xec], ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx + 0xe8]
mov eax, ecx
mov byte [edx], 0
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5255f0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x2c], 0
je 0x525629
mov eax, dword [esi + 0x28]
test eax, eax
jl 0x525629
xor edx, edx
mov ecx, dword [esi + 8]
imul ecx, eax
mov dword [esi + 0x2c], edx
add ecx, dword [esi + 0xc]
push edx
push ecx
push dword [esi]
call fcn.0074327b
push dword [esi]
push 1
push dword [esi + 8]
push dword [esi + 0x30]
call fcn.00742cfc
add esp, 0x1c
pop esi
ret
Function at 0x592d3c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ecx + 0x14]
mov dword [ebp - 0x24], 0
cmp esi, dword [edx]
mov dword [ebp - 0x14], ebx
je 0x592e62
mov ebx, dword [0x8362c4]
mov edi, dword [0x836270]
cmp edi, 0x7fffffff
je 0x592d94
mov edi, dword [0x84f980]
add edi, dword [ecx + 0x9c]
jmp 0x592d96
xor edi, edi
cmp esi, dword [edx]
je 0x592e62
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, dword [0x8362b0]
test eax, eax
je 0x592dc6
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x19c]
test edi, edi
jne 0x592e6f
jmp 0x592dc8
xor edi, edi
mov eax, dword [0x84fa04]
test eax, eax
jne 0x592edc
call fcn.005a3fd0
mov edx, dword [0x84f900]
xor eax, eax
cmp edx, dword [0x85052c]
setg al
push eax
call fcn.005a066c
pop ecx
call fcn.005a3fd0
add ebx, 0xfffffffe
jne 0x592e0f
call fcn.005a3fd0
push 1
call fcn.005a066c
pop ecx
mov ebx, dword [0x8362c8]
test edi, edi
je 0x592e1d
mov eax, dword [edi + 0x88]
test eax, eax
jne 0x592e57
mov eax, dword [0x836270]
cmp eax, 0x7fffffff
je 0x592e57
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x84f980]
jg 0x592e57
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
push esi
push eax
push edx
call fcn.005a161c
add esp, 0xc
mov eax, dword [0x84fa04]
test eax, eax
je 0x592e57
mov eax, dword [0x84fa00]
test eax, eax
jne 0x592eb5
mov eax, dword [ebp - 4]
cmp esi, dword [eax]
jne 0x592daa
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x180]
test eax, eax
jne 0x592e90
mov eax, dword [ebp - 8]
push eax
push dword [eax + 0x19c]
call fcn.00598380
add esp, 8
jmp 0x592dc8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push edx
push ecx
push esi
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x14]
push eax
call fcn.005977bc
add esp, 0x1c
jmp 0x592dc8
push 0xffffffffffffffff
push 0x84fc00
call fcn.00596f48
add esp, 8
mov eax, dword [0x85059c]
test eax, eax
jne 0x592ed5
push 3
call fcn.00744edc
pop ecx
call fcn.00596ab8
jmp 0x592ecd
mov eax, dword [0x84fa00]
test eax, eax
je 0x592e62
push 0xffffffffffffffff
push 0x84fc00
call fcn.00596f48
add esp, 8
mov eax, dword [0x85059c]
test eax, eax
jne 0x592f09
push 3
call fcn.00744edc
pop ecx
call fcn.00596ab8
jmp 0x592f01
Function at 0x595c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x84fc00
call fcn.00596f48
add esp, 8
mov eax, dword [0x85059c]
test eax, eax
jne 0x595ca3
push 3
call fcn.00744edc
pop ecx
call fcn.00596ab8
jmp 0x595c9b

Function at 0x5a0f5c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x852314]
test eax, eax
jne 0x5a0f82
push 0x1aa
push str..._.._src_z_Windows_NT_util.c
push str.assertion_failure
call fcn.005969f0
add esp, 0xc
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
push edx
push dword [0x8504b8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x5a0ff1
push 0x40074
lea eax, [ebp - 0x10]
push eax
call fcn.005a509c
add esp, 8
mov dword [esp], 2
mov eax, dword [ebp - 0x10]
lea ecx, [esp + 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 8], eax
lea edx, [esp + 0x14]
mov eax, dword [ebp - 4]
mov dword [ecx + 0xc], eax
lea eax, [0x852570]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.005a4194
mov esp, ebp
pop ebp
ret
Function at 0x5a0ff8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
call fcn.00591588
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x852310], eax
test eax, eax
je 0x5a10e9
lea edx, [ebp - 0xc]
push edx
mov eax, 0xfffffffd
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
push 0x10000
push ebx
push 0x5a0c18
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x5a105f
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push 0x40088
lea eax, [ebp - 0x2c]
push eax
call fcn.005a509c
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.005a5468
add esp, 0x10
mov dword [esp], 2
mov edx, dword [ebp - 0x2c]
lea eax, [esp + 4]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
mov ebx, dword [ebp - 0x24]
lea ecx, [0x852570]
mov dword [eax + 8], ebx
lea edx, [esp + 0x14]
mov esi, dword [ebp - 0x20]
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov edx, dword [ecx]
lea eax, [esp + 0x24]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
call fcn.005a4194
jmp 0x5a1055
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x40089
lea eax, [ebp - 0x4c]
push eax
call fcn.005a509c
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.005a5468
add esp, 0x10
mov dword [esp], 2
mov eax, dword [ebp - 0x4c]
lea esi, [esp + 4]
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 8], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
mov eax, dword [ebp - 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
lea eax, [0x852570]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.005a4194
jmp 0x5a1029
Function at 0x5a12b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x14], eax
test eax, eax
jl 0x5a12f3
mov edx, dword [0x8505ec]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x5a12f3
mov edx, dword [0x84f880]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x5a12f3
cmp edx, dword [ecx + 0x14]
je 0x5a13bc
mov edx, dword [0x8504e4]
imul edx, eax
xor ecx, ecx
add edx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
push eax
push 0x10000
push ebx
push 0x5a1198
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x5a1332
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push 0x40088
lea eax, [ebp - 0x30]
push eax
call fcn.005a509c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.005a5468
add esp, 0x10
mov dword [esp], 2
mov eax, dword [ebp - 0x30]
lea esi, [esp + 4]
mov dword [esi], eax
mov edx, dword [ebp - 0x2c]
mov dword [esi + 4], edx
mov ecx, dword [ebp - 0x28]
mov dword [esi + 8], ecx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
mov ebx, dword [ebp - 0x24]
mov dword [esi + 0xc], ebx
mov edi, dword [ebp - 0x20]
mov dword [edx], edi
mov eax, dword [ebp - 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
lea edx, [0x852570]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
call fcn.005a4194
jmp 0x5a1325
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
lea ecx, [ebx + 0xc]
xor edx, edx
push edx
push edx
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x5a1400
push 0x408
push str..._.._src_z_Windows_NT_util.c
push str.assertion_failure
call fcn.005969f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 4], 0
push ebx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 8], 1
lea eax, [ebp - 0x30]
mov dword [ebx], eax
call fcn.005940f0
pop ecx
jmp 0x5a1325

Function at 0x5a14bc
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x852314]
test eax, eax
jne 0x5a14d1
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret
push dword [0x8504b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x5a1ac0
Capabilities:
Allocate thread local storage
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 4], edi
mov eax, dword [0x852314]
test eax, eax
je 0x5a1ad9
mov esp, ebp
pop ebp
ret
push 0x852318
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x5a1bf8
fild qword [ebp - 0xc]
fld1
fdivrp st(1)
fstp qword [0x852308]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x850480]
mov dword [0x850528], eax
test edx, edx
jne 0x5a1b2a
push 0x850480
call fcn.005aff10
pop ecx
mov eax, dword [0x8504b0]
or eax, dword [0x8504b4]
jne 0x5a1b67
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x5a1b58
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [0x8504b0], eax
mov dword [0x8504b4], edx
jmp 0x5a1b67
mov eax, 0xffffffff
mov dword [0x8504b0], eax
mov dword [0x8504b4], eax
mov eax, dword [0x8504b8]
mov dword [0x836284], 0
test eax, eax
jne 0x5a1be2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x8504b8], eax
cmp eax, 0xffffffff
jne 0x5a1be2
push 0x40075
lea eax, [ebp - 0x68]
push eax
call fcn.005a509c
add esp, 8
mov dword [esp], 2
mov edi, dword [ebp - 0x68]
lea ecx, [esp + 4]
mov dword [ecx], edi
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [ecx + 8], eax
lea edx, [esp + 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 0xc], eax
lea eax, [0x852570]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.005a4194
call fcn.005b3fc4
mov edi, dword [ebp - 4]
mov dword [0x852314], 1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push str.QueryPerformanceFrequency__
push 0x400b2
lea eax, [ebp - 0x58]
push eax
call fcn.005a509c
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.005a5468
add esp, 0x14
mov dword [esp], 2
mov eax, dword [ebp - 0x58]
lea edi, [esp + 4]
mov dword [edi], eax
mov eax, dword [ebp - 0x54]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [edi + 8], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
lea eax, [0x852570]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.005a4194
jmp 0x5a1b03
Function at 0x5a1e90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
mov eax, dword [0x85254c]
test eax, eax
jne 0x5a1f10
push 0xffffffffffffffff
push 0x837b80
call fcn.00596f48
add esp, 8
mov eax, dword [0x85254c]
test eax, eax
jne 0x5a1f01
mov dword [0x852340], 0x798fd0
xor eax, eax
mov dword [0x852344], eax
mov dword [0x852348], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, 0xffffffff
je 0x5a204c
test eax, eax
je 0x5a204c
mov dword [0x852550], eax
mov dword [0x85254c], 1
push 0xffffffffffffffff
push 0x837b80
call fcn.00596d40
add esp, 8
mov eax, dword [0x852550]
test eax, eax
jne 0x5a1f25
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x5a1f25
mov esp, ebp
pop ebp
ret
mov eax, dword [0x85059c]
test eax, eax
je 0x5a2009
mov edi, dword [0x8505a4]
test edi, edi
je 0x5a2009
mov eax, dword [0x8505a0]
test eax, eax
jne 0x5a1f59
mov eax, dword [0x8505a8]
lea edx, [eax + 1]
mov dword [0x8505a8], edx
jmp 0x5a1f6e
push 1
push 0x8505a8
call fcn.005a4010
add esp, 8
mov edi, dword [0x8505a4]
mov ecx, dword [0x8362b4]
mov ebx, dword [ebp + 0x10]
push ebx
cdq
idiv ecx
mov eax, dword [ebp + 0xc]
push eax
imul edx, dword [0x8362b8]
add edi, edx
push edi
call fcn.00746443
add esp, 0xc
mov ebx, eax
mov eax, dword [0x8362b8]
add ebx, 1
cmp ebx, eax
jle 0x5a1fb6
cmp ebx, dword [0x8505ac]
jg 0x5a1fc0
mov byte [edi + eax - 2], 0xa
mov eax, dword [0x8362b8]
mov byte [edi + eax - 1], 0
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push ebx
push str.OMP_warning:_Debugging_buffer_overflow__increase_KMP_DEBUG_BUF_CHARS_to__d_n
push 0x852340
call fcn.005a2f00
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x852348]
push dword [0x852340]
push dword [0x852550]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x852340
call fcn.005a36fc
pop ecx
mov eax, dword [0x8362b8]
mov dword [0x8505ac], ebx
jmp 0x5a1fa7
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
push edx
push 0x852340
call fcn.005a30bc
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x852348]
push dword [0x852340]
push dword [0x852550]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x852340
call fcn.005a36fc
pop ecx
jmp 0x5a1fb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x852550], 0
jmp 0x5a1ef7
Function at 0x5a2064
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov eax, dword [0x85254c]
test eax, eax
jne 0x5a20e7
push 0xffffffffffffffff
push 0x837b80
call fcn.00596f48
add esp, 8
mov eax, dword [0x85254c]
test eax, eax
jne 0x5a20d8
mov dword [0x852340], 0x798fd0
xor eax, eax
mov dword [0x852344], eax
mov dword [0x852348], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, 0xffffffff
je 0x5a2215
test eax, eax
je 0x5a2215
mov dword [0x852550], eax
mov dword [0x85254c], 1
push 0xffffffffffffffff
push 0x837b80
call fcn.00596d40
add esp, 8
mov eax, dword [0x852550]
test eax, eax
je 0x5a2182
mov eax, dword [0x85059c]
test eax, eax
je 0x5a21d5
mov edi, dword [0x8505a4]
test edi, edi
je 0x5a21d5
mov eax, dword [0x8505a0]
test eax, eax
jne 0x5a2128
mov eax, dword [0x8505a8]
lea edx, [eax + 1]
mov dword [0x8505a8], edx
jmp 0x5a213d
push 1
push 0x8505a8
call fcn.005a4010
add esp, 8
mov edi, dword [0x8505a4]
mov ecx, dword [0x8362b4]
cdq
idiv ecx
imul edx, dword [0x8362b8]
lea eax, [ebp + 0xc]
push eax
push esi
add edi, edx
push edi
call fcn.00746443
add esp, 0xc
mov esi, eax
mov eax, dword [0x8362b8]
add esi, 1
cmp esi, eax
jle 0x5a2182
cmp esi, dword [0x8505ac]
jg 0x5a218c
mov byte [edi + eax - 2], 0xa
mov eax, dword [0x8362b8]
mov byte [edi + eax - 1], 0
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push esi
push str.OMP_warning:_Debugging_buffer_overflow__increase_KMP_DEBUG_BUF_CHARS_to__d_n
push 0x852340
call fcn.005a2f00
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x852348]
push dword [0x852340]
push dword [0x852550]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x852340
call fcn.005a36fc
pop ecx
mov eax, dword [0x8362b8]
mov dword [0x8505ac], esi
jmp 0x5a2173
lea eax, [ebp + 0xc]
push eax
push esi
push 0x852340
call fcn.005a30bc
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x852348]
push dword [0x852340]
push dword [0x852550]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x852340
call fcn.005a36fc
pop ecx
jmp 0x5a2182
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x852550], 0
jmp 0x5a20ce
Function at 0x5a222c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
push 0xffffffffffffffff
push 0x837b00
call fcn.00596f48
add esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x85254c]
test eax, eax
jne 0x5a22be
push 0xffffffffffffffff
push 0x837b80
call fcn.00596f48
add esp, 8
mov eax, dword [0x85254c]
test eax, eax
jne 0x5a22af
mov dword [0x852340], 0x798fd0
xor eax, eax
mov dword [0x852344], eax
mov dword [0x852348], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, 0xffffffff
je 0x5a23fb
test eax, eax
je 0x5a23fb
mov dword [0x852550], eax
mov dword [0x85254c], 1
push 0xffffffffffffffff
push 0x837b80
call fcn.00596d40
add esp, 8
mov eax, dword [0x852550]
test eax, eax
je 0x5a2359
mov eax, dword [0x85059c]
test eax, eax
je 0x5a23bb
mov edi, dword [0x8505a4]
test edi, edi
je 0x5a23bb
mov eax, dword [0x8505a0]
test eax, eax
jne 0x5a22ff
mov eax, dword [0x8505a8]
lea edx, [eax + 1]
mov dword [0x8505a8], edx
jmp 0x5a2314
push 1
push 0x8505a8
call fcn.005a4010
add esp, 8
mov edi, dword [0x8505a4]
mov ecx, dword [0x8362b4]
cdq
idiv ecx
imul edx, dword [0x8362b8]
lea eax, [ebp + 0xc]
push eax
push esi
add edi, edx
push edi
call fcn.00746443
add esp, 0xc
mov esi, eax
mov eax, dword [0x8362b8]
add esi, 1
cmp esi, eax
jle 0x5a2359
cmp esi, dword [0x8505ac]
jg 0x5a2372
mov byte [edi + eax - 2], 0xa
mov eax, dword [0x8362b8]
mov byte [edi + eax - 1], 0
push 0xffffffffffffffff
push 0x837b00
call fcn.00596d40
add esp, 8
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
push esi
push str.OMP_warning:_Debugging_buffer_overflow__increase_KMP_DEBUG_BUF_CHARS_to__d_n
push 0x852340
call fcn.005a2f00
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push eax
push dword [0x852348]
push dword [0x852340]
push dword [0x852550]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x852340
call fcn.005a36fc
pop ecx
mov eax, dword [0x8362b8]
mov dword [0x8505ac], esi
jmp 0x5a234a
lea eax, [ebp + 0xc]
push eax
push esi
push 0x852340
call fcn.005a30bc
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x852348]
push dword [0x852340]
push dword [0x852550]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x852340
call fcn.005a36fc
pop ecx
jmp 0x5a2359
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x852550], 0
jmp 0x5a22a5
Function at 0x5a37e8
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x5a380e
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp - 0x28]
push esi
push 0x40012
push eax
call fcn.005a509c
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.005a5468
add esp, 0x14
mov dword [esp], 2
mov edx, dword [ebp - 0x28]
lea eax, [esp + 4]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov ebx, dword [ebp - 0x20]
lea ecx, [0x852570]
mov dword [eax + 8], ebx
lea edx, [esp + 0x14]
mov esi, dword [ebp - 0x1c]
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ecx]
lea eax, [esp + 0x24]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
call fcn.005a4194
jmp 0x5a3804