joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405df4
Capabilities:
Move file

Disassembly:
mov eax, 0x407087
call fcn.004067f0
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10], ebx
nop
nop
nop
nop
nop
nop
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401084
pop ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.00401805
pop ecx
pop ecx
mov dword [ebp - 4], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 1
lea eax, [ebp - 0x1c]
pop edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004035a3
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.004065d8
mov byte [ebp - 4], 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x14]
mov esi, 0x40a50c
push eax
push esi
call fcn.00404dfd
add esp, 0x14
test al, al
je 0x405ea3
mov ecx, dword [ebp + 8]
push esi
call fcn.0040366d
mov dword [ebp - 0x10], edi
jmp 0x405f64
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004035a3
mov byte [ebp - 4], 4
call section..text
cmp eax, ebx
pop ecx
jne 0x405ed1
mov ecx, dword [ebp + 8]
push esi
call fcn.0040366d
mov dword [ebp - 0x10], edi
jmp 0x405f64
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.004035a3
mov byte [ebp - 4], 6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x40a470
push 0x40a46c
lea ecx, [ebp - 0x18]
call fcn.0040387b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x18]
call fcn.004031b5
push eax
lea ecx, [ebp - 0x14]
call fcn.004031b5
push eax
call dword [sym.imp.MSVCRT.dll_rename]
pop ecx
test eax, eax
pop ecx
jne 0x405f49
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004035a3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
call fcn.0040355b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040355b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040355b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x6b2338e2
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x35216085
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001cd0
Capabilities:
Accept command line arguments
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x10001db8
mov eax, 0x94
call fcn.10002db0
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10001e2d
mov ecx, dword [esi + 0x10]
mov dword [0x10015e88], ecx
mov eax, dword [esi + 4]
mov dword [0x10015e94], eax
mov edx, dword [esi + 8]
mov dword [0x10015e98], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x10015e8c], esi
je 0x10001d3b
or esi, 0x8000
mov dword [0x10015e8c], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x10015e90], eax
call fcn.100039ed
test eax, eax
pop ecx
je 0x10001e2d
call fcn.100048d9
test eax, eax
jne 0x10001d68
call fcn.10003a3e
jmp 0x10001e2d
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10016674], eax
call fcn.10004f43
mov dword [0x10015e74], eax
call fcn.10004a0b
test eax, eax
jl 0x10001db1
call fcn.10004ea1
test eax, eax
jl 0x10001dac
call fcn.10004c55
test eax, eax
jl 0x10001dac
call fcn.1000245c
test eax, eax
jne 0x10001dac
inc dword [0x10015e70]
jmp 0x10001e3e
call fcn.10004c09
call fcn.100046cc
jmp 0x10001d5e
test eax, eax
jne 0x10001de8
cmp dword [0x10015e70], eax
jle 0x10001e2d
dec dword [0x10015e70]
cmp dword [0x10015ec4], eax
jne 0x10001dd7
call fcn.1000258c
call fcn.10004c09
call fcn.100046cc
call fcn.10003a3e
jmp 0x10001e3e
cmp eax, 2
jne 0x10001e31
push 0x88
push 1
call fcn.10004948
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x10001e2d
push esi
push dword [0x10013980]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
push esi
je 0x10001e27
call fcn.100046ea
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x10001e3e
call fcn.1000259b
pop ecx
xor eax, eax
jmp 0x10001e41
cmp eax, 3
jne 0x10001e3e
push 0
call fcn.1000476e
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
Function at 0x10005069
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor eax, eax
cmp edx, dword [eax*8 + 0x100139a8]
je 0x10005089
inc eax
cmp eax, 0x12
jb 0x1000507a
shl eax, 3
cmp edx, dword [eax + 0x100139a8]
mov dword [ebp + 8], eax
jne 0x10005227
mov ecx, dword [0x10015e7c]
cmp ecx, 1
je 0x100051fc
test ecx, ecx
jne 0x100050bb
cmp dword [0x10015e80], 1
je 0x100051fc
cmp edx, 0xfc
je 0x10005227
and byte [ebp - 8], 0
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100050f6
push 5
pop ecx
mov esi, str._program_name_unknown_
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10c]
lea ebx, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005105
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x1000513d
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000511d
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x1000f6c0
push ebx
call fcn.100068b0
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005142
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x100139ac]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10005159
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.10002db0
mov edx, esp
push 6
pop ecx
mov esi, str.Runtime_Error__n_nProgram:
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005185
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10005191
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100051aa
mov eax, dword [ebp + 8]
mov esi, 0x1000f6a0
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x100139ac]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100051c5
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100051d1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.100067b7
add esp, 0xc
jmp 0x10005227
mov ecx, dword [eax + 0x100139ac]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10005207
push 0
lea edx, [ebp - 4]
push edx
sub eax, esi
push eax
push ecx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000656a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.10002db0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100065ff
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x10015e88]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x100065ff
cmp eax, 1
je 0x10006617
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100065ff
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x100065d4
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x100065fb
xor eax, eax
inc eax
jmp 0x10006633
cmp esi, ebx
jae 0x10006603
xor eax, eax
jmp 0x10006633
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x10015e88]
jmp 0x10006619
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100067b7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x10016254], ebx
push esi
push edi
jne 0x10006837
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10006872
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000fe04
push edi
call esi
test eax, eax
mov dword [0x10016254], eax
je 0x10006872
push 0x1000fdf4
push edi
call esi
push 0x1000fde0
push edi
mov dword [0x10016258], eax
call esi
cmp dword [0x10015e88], 2
mov dword [0x1001625c], eax
jne 0x10006837
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x10016264], eax
je 0x10006837
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x10016260], eax
mov eax, dword [0x10016260]
test eax, eax
je 0x1000687c
call eax
test eax, eax
je 0x10006863
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x10016264]
test eax, eax
je 0x10006863
test byte [ebp - 8], 1
jne 0x1000687c
cmp dword [0x10015e94], 4
jb 0x10006876
or byte [ebp + 0x12], 0x20
jmp 0x1000689b
xor eax, eax
jmp 0x100068ab
or byte [ebp + 0x12], 4
jmp 0x1000689b
mov eax, dword [0x10016258]
test eax, eax
je 0x1000689b
call eax
mov ebx, eax
test ebx, ebx
je 0x1000689b
mov eax, dword [0x1001625c]
test eax, eax
je 0x1000689b
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x10016254]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000ac6d
Capabilities:
Inspect section memory permissions

Disassembly:
adc byte [eax], al
add bh, bh
jne 0x1000ac4b
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x1000af27
test bh, dl
add al, byte [eax]
add bh, bh
mov ch, 0x4c
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.1000a69f
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x1000ac9e
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.1000a69f
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x1000ac6b
inc ebp
or al, 0x8b
dec ebp
mov esp, 0xff80048d
je 0x1000ac39
adc byte [ebp + 0x488bc104], cl
adc al, 0x8b
inc eax
or al, 3
dec ebp
adc byte [ebx], al
invalid
call fcn.1000a72e
jns 0x1000acbf
scasd eax, dword es:[edi]
hlt
add byte [ebx], al
invalid
Function at 0x707850fc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
je 0x7078511e
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._nimCStrLen_1
mov edx, eax
jmp 0x70785123
mov edx, 0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fflush
mov dword [ebp - 0x10], eax
nop
leave
ret

Function at 0x7078733e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x28], str.free
mov dword [ebp - 0x20], str.C:Users_adminDesktop_nim_2.0.2lib_systemorc.nim
mov dword [ebp - 0x24], 0
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._nimFrame_5
call sym._nimErrorFlag_3
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0x5c
mov dword [ebp - 0x24], 0x32
mov dword [ebp - 0x20], str.C:Users_adminDesktop_nim_2.0.2lib_system_seqs_v2.nim
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._pluspercent___system_u790
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x60
mov dword [ebp - 0x20], str.C:Users_adminDesktop_nim_2.0.2lib_systemorc.nim
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x707873e5
mov dword [ebp - 0x24], 0x61
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
call edx
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
movzx eax, al
test eax, eax
jne 0x70787403
jmp 0x707873e6
nop
mov dword [ebp - 0x24], 0x6f
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 8]
movsx edx, ax
mov eax, dword [ebp - 0x14]
mov ecx, eax
call sym._nimRawDispose_8
jmp 0x70787404
nop
call sym._popFrame_5
nop
leave
ret

Function at 0x7078afc8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fflush
mov dword [ebp - 0x10], eax
nop
leave
ret
Function at 0x7078d733
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], str.echoBinSafe
mov dword [ebp - 0x28], 0x707a2ae8
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x24], 0
lea eax, [ebp - 0x34]
mov dword [esp], eax
call sym._nimFrame_5
call sym._nimErrorFlag_3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0xac5
mov dword [esp], 0x707ab044
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0xd
mov dword [ebp - 0x28], str.C:Users_adminDesktop_nim_2.0.2lib_systemiterators.nim
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x2c], 0xe
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jge 0x7078d881
mov dword [ebp - 0x2c], 0xac6
mov dword [ebp - 0x28], 0x707a2ae8
cmp dword [ebp - 0xc], 0
js 0x7078d7d0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jl 0x7078d7ea
mov eax, dword [ebp - 0x40]
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._raiseIndexError2
jmp 0x7078d90a
mov eax, dword [ebp - 0xc]
lea edx, [eax*8]
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x14], eax
mov dword [esp], 1
mov eax, dword [sym.___acrt_iob_func]
call eax
mov ecx, eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._writeWindows__system_u9005_16
sub esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
movzx eax, al
test eax, eax
jne 0x7078d909
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x28], str.C:Users_adminDesktop_nim_2.0.2lib_systemiterators.nim
mov edx, 0
mov eax, dword [ebp - 0xc]
add eax, 1
jno 0x7078d85c
mov edx, 1
mov ecx, eax
lea eax, [ebp - 0x38]
mov dword [eax], ecx
mov eax, edx
and eax, 1
test al, al
je 0x7078d876
call sym._raiseOverflow
jmp 0x7078d90a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x7078d7a8
nop
mov dword [ebp - 0x2c], 0xae1
mov dword [ebp - 0x28], 0x707a2ae8
mov dword [ebp - 0x18], 0
mov dword [esp], 1
mov eax, dword [sym.___acrt_iob_func]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 0x707a3209
call sym._fwrite
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0xae2
mov dword [ebp - 0x1c], 0
mov dword [esp], 1
mov eax, dword [sym.___acrt_iob_func]
call eax
mov dword [esp], eax
call sym._fflush
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xae6
mov dword [esp], 0x707ab044
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
jmp 0x7078d90a
nop
call sym._popFrame_5
nop
leave
ret
Function at 0x7078e097
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x28], 0x707a3334
mov dword [ebp - 0x20], str.C:Users_adminDesktop_nim_2.0.2libwindowswinlean.nim
mov dword [ebp - 0x24], 0
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._nimFrame_7
call sym._nimErrorFlag_4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0x34a
mov dword [ebp - 0x20], str.C:Users_adminDesktop_nim_2.0.2libwindowswinlean.nim
mov dword [ebp - 0x10], 0
mov dword [esp + 8], 0
mov eax, dword [0x707a32fc]
mov edx, dword [0x707a3300]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._loadLib__pureZdynlib_u3_12
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
movzx eax, al
test eax, eax
jne 0x7078e163
mov eax, dword [ebp - 0x10]
mov dword [0x707ab060], eax
mov dword [ebp - 0x24], 0x34b
mov eax, dword [0x707ab060]
test eax, eax
je 0x7078e166
mov dword [ebp - 0x24], 0x34c
mov dword [ebp - 0x14], 0
mov eax, dword [0x707ab060]
mov edx, str.inet_ntop
mov ecx, eax
call sym._symAddr__pureZdynlib_u74_8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
movzx eax, al
test eax, eax
jne 0x7078e169
mov eax, dword [ebp - 0x14]
mov dword [0x707ab05c], eax
jmp 0x7078e16a
nop
jmp 0x7078e16a
nop
jmp 0x7078e16a
nop
call sym._popFrame_7
nop
leave
ret

Function at 0x7078f994
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], 0x707a385c
call sym._fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call sym.___acrt_iob_func
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
call sym._abort

Function at 0x70790288
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x707902a7
mov eax, 0
jmp 0x707902eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x707902ca
mov eax, 0
jmp 0x707902eb
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x707902e6
mov eax, 0
jmp 0x707902eb
mov eax, 1
leave
ret
Function at 0x707902ed
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x7079034c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x70790344
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x70790344
mov eax, dword [ebp - 4]
jmp 0x70790360
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x70790321
mov eax, 0
leave
ret
Function at 0x707974d9
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
add esp, 0xffffff80
cmp dword [ebp + 8], 0
je 0x707975f2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._pthread_spin_destroy
cmp eax, 1
jne 0x707975e8
mov dword [ebp - 0x77], 0x6f727245
mov dword [ebp - 0x73], 0x6c632072
mov dword [ebp - 0x6f], 0x696e6165
mov dword [ebp - 0x6b], 0x7520676e
mov dword [ebp - 0x67], 0x70732070
mov dword [ebp - 0x63], 0x6b5f6e69
mov dword [ebp - 0x5f], 0x20737965
mov dword [ebp - 0x5b], 0x20726f66
mov dword [ebp - 0x57], 0x65726874
mov dword [ebp - 0x53], 0x206461
lea eax, [ebp - 0x4f]
mov ecx, 0x43
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov dword [esp + 8], 0xa
lea edx, [ebp - 0x77]
add edx, 0x27
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__ultoa]
call eax
mov dword [ebp - 0xc], 0x27
jmp 0x7079759e
add dword [ebp - 0xc], 1
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x707975b5
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
jbe 0x7079759a
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
ja 0x707975d3
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0xc]
add eax, 1
mov byte [ebp + eax - 0x77], 0
lea eax, [ebp - 0x77]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call eax
sub esp, 4
call sym._abort
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x707975f3
nop
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret