joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f32
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x434230], ebx
push esi
push edi
jne 0x420fb2
push 0x42b2b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x420fed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42b2a4
push edi
call esi
test eax, eax
mov dword [0x434230], eax
je 0x420fed
push 0x42b294
push edi
call esi
push 0x42b280
push edi
mov dword [0x434234], eax
call esi
cmp dword [0x4340c8], 2
mov dword [0x434238], eax
jne 0x420fb2
push 0x42b264
push edi
call esi
test eax, eax
mov dword [0x434240], eax
je 0x420fb2
push 0x42b24c
push edi
call esi
mov dword [0x43423c], eax
mov eax, dword [0x43423c]
test eax, eax
je 0x420ff7
call eax
test eax, eax
je 0x420fde
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x434240]
test eax, eax
je 0x420fde
test byte [ebp - 8], 1
jne 0x420ff7
cmp dword [0x4340d4], 4
jb 0x420ff1
or byte [ebp + 0x12], 0x20
jmp 0x421016
xor eax, eax
jmp 0x421026
or byte [ebp + 0x12], 4
jmp 0x421016
mov eax, dword [0x434234]
test eax, eax
je 0x421016
call eax
mov ebx, eax
test ebx, ebx
je 0x421016
mov eax, dword [0x434238]
test eax, eax
je 0x421016
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x434230]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4234fc
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0041a050
mov eax, dword [0x430334]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0041fc08
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x42362f
push 2
push esi
push dword [ebp + 8]
call fcn.0041fc08
add esp, 0xc
cmp eax, ebx
je 0x42362f
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4235cf
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0041af70
push 0x8000
push dword [ebp + 8]
call fcn.00423a83
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x423585
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0041e53a
add esp, 0xc
cmp eax, 0xffffffff
je 0x4235a5
sub edi, eax
test edi, edi
jg 0x42357d
jmp 0x4235bd
call fcn.0041ef35
cmp dword [eax], 5
jne 0x4235ba
call fcn.0041ef2c
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00423a83
pop ecx
pop ecx
jmp 0x423617
jge 0x423617
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041fc08
push dword [ebp + 8]
call fcn.00421b73
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x423617
call fcn.0041ef2c
mov dword [eax], 0xd
call fcn.0041ef35
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0041fc08
add esp, 0xc
mov eax, esi
pop edi
jmp 0x423631
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0041941a
leave
ret
Function at 0x42416f
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x424188
or eax, 0xffffffff
jmp 0x4241e9
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x4241e5
push 0x3d
push esi
call fcn.0042436f
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4241e5
cmp esi, eax
je 0x4241e5
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4340e8]
sete cl
cmp eax, dword [0x4340ec]
mov dword [ebp - 8], ecx
jne 0x4241cb
mov edi, eax
call fcn.0042410e
mov dword [0x4340e8], eax
cmp eax, ebx
jne 0x424224
cmp dword [ebp + 0xc], ebx
je 0x4241ed
cmp dword [0x4340f0], ebx
je 0x4241ed
call fcn.00423b3d
test eax, eax
je 0x424224
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4241f6
xor eax, eax
jmp 0x4241e8
push 4
call fcn.0041a2e1
cmp eax, ebx
pop ecx
mov dword [0x4340e8], eax
je 0x4241e5
mov dword [eax], ebx
cmp dword [0x4340f0], ebx
jne 0x424224
push 4
call fcn.0041a2e1
cmp eax, ebx
pop ecx
mov dword [0x4340f0], eax
je 0x4241e5
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4340e8]
call fcn.004240c1
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x424285
cmp dword [esi], ebx
je 0x424285
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00419378
cmp dword [ebp - 8], ebx
pop ecx
jne 0x424268
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4242c6
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x42425f
mov eax, edi
shl eax, 2
push eax
push dword [0x4340e8]
call fcn.0041a08d
cmp eax, ebx
pop ecx
pop ecx
je 0x4242c6
jmp 0x4242c1
cmp dword [ebp - 8], ebx
jne 0x424331
cmp edi, ebx
jge 0x424294
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4340e8]
call fcn.0041a08d
cmp eax, ebx
pop ecx
pop ecx
je 0x4241e5
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4340e8], eax
cmp dword [ebp + 0xc], ebx
je 0x42431b
push dword [ebp - 4]
call fcn.0041ab60
inc eax
inc eax
push eax
call fcn.0041a2e1
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x42431b
push dword [ebp - 4]
push esi
call fcn.0041b3d0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x424314
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00419378
pop ecx
cmp dword [ebp - 8], ebx
je 0x424329
push dword [ebp - 4]
call fcn.00419378
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4241e8
push dword [ebp - 4]
call fcn.00419378
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4241f2
Function at 0x424c4d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x424c7b
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x424c80
cmp eax, 1
je 0x424c80
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x424c84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x430334]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x424cfc
push ebx
call fcn.00424c4d
test eax, eax
pop ecx
jne 0x424ccb
call fcn.0041ef35
mov dword [eax], 0xf
call fcn.0041ef2c
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0041941a
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x424d0e
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x424cbe
inc eax
cmp eax, 0x104
ja 0x424cbe
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x424d46
cmp eax, dword [ebp + 0x10]
jg 0x424d29
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041a2e1
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x424d5b
call fcn.0041ef2c
mov dword [eax], 0xc
jmp 0x424cbe
cmp eax, dword [ebp + 0x10]
jle 0x424d5b
call fcn.0041ef2c
mov dword [eax], 0x22
jmp 0x424cbe
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.0041b3d0
pop ecx
pop ecx
jmp 0x424cc0

Function at 0x425294
Capabilities:
Get common file path

Disassembly:
push 0x120
push 0x42bc48
call fcn.0041bb4c
mov eax, dword [0x430334]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
and dword [ebp - 0x128], 0
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, 0x104
jle 0x425338
and dword [ebp - 4], 0
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.0041a050
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x130], edi
jmp 0x425325
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x425338
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x425353
cmp byte [edi + 1], 0x3a
jne 0x425353
movzx eax, byte [edi]
push eax
call fcn.004259e4
pop ecx
mov ebx, eax
sub ebx, 0x40
cmp dword [ebp - 0x128], 0
je 0x425363
push edi
call fcn.00419378
pop ecx
mov eax, ebx
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0x1c]
call fcn.0041941a
call fcn.0041bb87
ret
Function at 0x40ef98
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f035
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f035
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f035
push 4
push 0xffffffffffffffff
push esi
push 0x40f74f
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f035
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f000
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f035
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f03b
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f037

Function at 0x413985
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x413995
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x41399b
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x4139c3
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x438830]
test ax, ax
jne 0x4139aa
mov esi, ecx
jmp 0x4139c6
movzx esi, si
pop edi
cmp cx, si
je 0x4139e3
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x438830]
test cx, cx
jne 0x4139c7
mov eax, 0x437348
jmp 0x4139eb
imul eax, edx, 0x1a
add eax, 0x438832
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x428a2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x428a39
pop dword [ebp - 0x48]
mov eax, 0x99d09ca8
add eax, 0x6671ed91
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x41e51
push 0
mov eax, 0x9a5fab0e
add eax, 0x65e317ea
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x65023029
add ecx, 0x9afe1326
mov edi, eax
mov ebx, 0x449800
add ebx, dword [ebp - 0x48]
mov esi, 0xea5d00e7
xor dword [ebp - 0x14], 0x19065e18
mov edx, dword [ebx]
add edx, esi
mov dword [ebp - 8], 0x3151ed0
mov dword [edi], edx
add edi, 4
add ebx, 0x57eb6fd
add ebx, 0xfa814907
loop 0x428a8c
add eax, 0xb78668b8
sub eax, 0xb78568a9
mov ebx, eax
add eax, 0x7f43dbd0
sub eax, 0x7f43dbcb
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x1002620
Capabilities:
Get user security identifier

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100271e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x534
je 0x100269c
cmp dword [ebp - 0x24], 0x7a
jne 0x100271c
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10026bd
mov dword [ebp - 0x24], 8
jmp 0x1002753
mov eax, dword [ebp - 0x20]
lea ecx, [eax + eax + 2]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10026df
mov dword [ebp - 0x24], 8
jmp 0x1002753
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
jmp 0x1002753
mov dword [ebp - 0x24], 0
jmp 0x100271e
jmp 0x1002753
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [0x100406c]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.AUTHZ.dll_AuthzInitializeContextFromSid]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002753
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], 0
je 0x1002763
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], 0
je 0x1002773
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x466313
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop ss
aad 0xd2
pop edi
and dh, 0x27
cmp edx, dword [esi + 0x79]
cmpsd dword [esi], dword es:[edi]
pop es
insd dword es:[edi], dx
mov edx, 0x39561e1c
out dx, eax
push 0x47
stosd dword es:[edi], eax
cli
and dword [esi + 0x32373f07], ebx
cld
inc ebp
mov ecx, 0x6c80bdbf
jbe 0x4662d3
and dword [ecx - 0x3200bff2], 0x2f
les esi, [ecx]
invalid
test eax, 0x75e73850
pop esi
mov edi, esi
cli
lock and byte [ebp + 0x7b], dh
inc edi
or ecx, dword [esi]
mov dl, 0xa0
dec esp
aad 0x48
pop esi
mov word [edi], ss
cwde
clc
invalid
in al, dx
loop 0x46628e
lds edi, [eax + ebp]
jns 0x466283
sub byte [ecx - 0x7b], bh
mov esp, eax
jge 0x4662fb
in eax, 0x59
jge 0x46636a
xchg ebp, eax
invalid
dec esp
aas
outsb dx, byte cs:[esi]
mov bh, 0x54
lodsb al, byte [esi]
jno 0x4662e5
push esi
call [ebx - 0x5ad7090b]
popfd
imul edi, dword [edi - 1], 0x67
and al, 0xab
xor dl, ch
pop esi
insb byte es:[edi], dx
cmp byte [ebx - 0x5028223a], cl
mov dword [esi - 0x15], edx
or byte gs:[ebx + 0x44], 0xcc
pop ds
pop esp
jp 0x466328
pop edx
and esp, ebp
test al, 0xa4
pop ebp
into
mov dword [ebp - 0x4d66f79d], edx
clc
stosd dword es:[edi], eax
sbb al, dh
mov edx, dword [ecx + 0x14]
je 0x46635f
xor edx, ebx
mov dl, bl
aaa
lds ebx, [eax - 0x27deac16]
and eax, ebx
int1
ja 0x4662f6
leave
jmp [esi + 0x30]
push ebp
cdq
push edx
push 0xb6e54bf4
retf

Function at 0x47fd33
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test edi, esp
aad 0xc8
mov dword [ecx + 0x2a31ae50], ebp
dec esp
aaa
add dh, bl
sub eax, eax
invalid
Function at 0x495253
Capabilities:
Encode data using xor

Disassembly:
outsb dx, byte [esi]
movsb byte es:[edi], byte [esi]
push ss
aad 0xa8
imul ebp, dword [esi - 0x6c], 0xfe7120b6
push ecx
aaa
in al, 0x90
and dword [edx + 0xf9c5784], eax
push 9
invalid
Function at 0x4ac5d3
Capabilities:
Encode data using xor

Disassembly:
add dword [ecx + 0x3015c0b9], eax
sahf
and byte [ebp + 0x3644bcfc], cl
inc eax
fdiv dword [esi - 0x2177cd43]
fcom qword [esi + 0x1004d523]
and ebp, eax
arpl word [ebp - 0x640c9a3e], bp
lds edx, [edi]
add byte [ebp + 0x11], al
invalid

Function at 0x5f5f31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6003d0
cmp edx, dword [eax]
je 0x5f5f53
add eax, 8
inc ecx
cmp eax, 0x600460
jl 0x5f5f44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6003d0]
jne 0x5f6081
mov eax, dword [0x604d5c]
cmp eax, 1
je 0x5f605b
test eax, eax
jne 0x5f5f84
cmp dword [0x6002fc], 1
je 0x5f605b
cmp edx, 0xfc
je 0x5f6081
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f5fbb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f6910
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f6da0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f5ffe
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f6da0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5fbe44
push edi
call fcn.005f8c70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f6910
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f6920
lea eax, [ebp - 0xa0]
push 0x5fbe24
push eax
call fcn.005f6920
push dword [esi + 0x6003d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f6920
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f8be4
add esp, 0x2c
pop edi
jmp 0x5f6081
lea eax, [ebp + 8]
lea esi, [esi + 0x6003d4]
push 0
push eax
push dword [esi]
call fcn.005f6da0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x401aa1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ae0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ae0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ae0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ae0
cmp dword [ecx + 0x74], 0xe
jbe 0x401ae0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40abc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40abed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40abed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x435994
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4359a3
pop dword [ebp - 0x3c]
mov eax, 0x4514718c
sub eax, 0x44d117e9
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x483d12ef
sub dword [ebp - 0x4c], 0xf9eacda4
mov dword [ebp - 0x48], 0xdc6aae42
add dword [ebp - 0x48], 0x55c89e03
mov dword [ebp - 0x44], 0x7f1361cf
add dword [ebp - 0x44], 0xcd38e25f
mov dword [ebp - 0x40], 0x86d72a53
add dword [ebp - 0x40], 0x7928d5ad
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x6c1fad70
add dword [ebp - 0x4c], 0x852bbe6
mov dword [ebp - 0x48], 0x7ad80fce
add dword [ebp - 0x48], 0xc69451a7
mov dword [ebp - 0x44], 0x40e622a6
sub dword [ebp - 0x44], 0xdd76b63a
mov dword [ebp - 0x40], 0xf12d401d
add dword [ebp - 0x40], 0xed2bfe3
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x9f3b1d26
sub eax, 0x9ef56ca6
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x4b1f1
push 0
call eax
mov ecx, 0xa31ffb89
add ecx, 0x5ce043d9
mov edi, eax
mov ebx, 0xee06c2ae
sub ebx, 0xedbf62ae
add ebx, dword [ebp - 0x3c]
mov esi, 0x211bf5ea
mov dword [ebp - 4], 0xa4b96784
mov edx, dword [ebx]
xor dword [ebp - 0x1c], 0xa25dc920
xor edx, esi
xor dword [ebp - 0x30], eax
mov dword [edi], edx
sub dword [ebp - 0x10], eax
add edi, 0xa7d08082
add edi, 0x582f7f82
add ebx, 4
loop 0x435aba
add eax, 0xf1d87d73
sub eax, 0xf1d78d18
mov ebx, eax
add eax, 0x9ff6507c
add eax, 0x6009af89
mov ecx, 0x7d625346
sub ecx, 0x7d225346
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx