joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10202e7d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov dword [0x10242170], 0x482
mov dword [0x1024216c], 0x1d73
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, 1
mov dword [ebp - 0x34], eax
jmp 0x10202ed8
mov eax, dword [ebp - 0x38]
add esp, 0x54
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
add eax, 0x1cf0
mov dword [0x1024216c], 0x1d80
mov dword [ebp - 0x38], eax
jmp 0x10202eb8
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x10204528]
mov dl, byte [eax + 0x102044f9]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x10202ed8
mov dword [0x10242170], 0xd93
mov dword [0x1024216c], 0x9ea5
call fcn.102036be
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1020223a
mov ecx, dword [0x10242170]
add ecx, 0xffffe8c4
mov dword [0x10242170], ecx
cmp eax, 0
sete dl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], dl
xor eax, eax
mov cl, byte [ebp - 0x41]
test cl, 1
mov dword [ebp - 0x38], eax
jne 0x10202eb8
jmp 0x10202f59
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10242170], 0x1cc2
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.102023ca
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x14], edx
mov esi, dword [ebp - 0x3c]
mov dword [ecx + 0x44], esi
mov dword [0x1024216c], 0x1b22
mov dword [0x10242170], 0x10
cmp esi, 0
mov dword [ebp - 0x38], eax
je 0x10202eb8
jmp 0x10202ec1
Function at 0x10203154
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10242174], 0
mov dword [0x10242178], 0
mov dword [0x10242184], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x1024216c], 0x1678
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jne 0x102031c9
mov dword [0x1024216c], 0x1361
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10242174], edx
mov ecx, dword [0x10242170]
mov edi, ecx
add edi, 0xffffe86c
mov dword [0x1024216c], edi
mov edi, dword [ebp - 0x1c]
movzx ebx, byte [edi + edx]
mov edi, dword [ebp - 0x30]
add ebx, edi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10242178], edx
add ecx, 0xffffe02d
mov dword [0x10242170], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1024217c], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1024216c], 0x12a7
mov cl, byte [0x1024217c]
mov edx, dword [0x10242178]
mov byte [edi + edx], cl
mov edx, dword [0x10242174]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10242178]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1024216c], 0x1110
and ebx, 0xff
mov dword [0x10242184], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x10242189], ch
mov byte [0x1024218a], cl
xor ch, cl
mov byte [0x10242188], ch
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x102031b7
mov eax, dword [0x10242174]
mov ecx, dword [0x10242178]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x102031c9
Function at 0x10203451
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1024216c], 0xd9e
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10202667
lea ecx, [0x10202c80]
mov edx, 0x1ae7
mov esi, dword [esp + 0x28]
mov dword [esp + 0x74], esi
mov dword [esp + 0x64], 0x11c200
mov esi, dword [0x10242158]
mov dword [esp + 0x40], esi
mov esi, dword [0x1024215c]
mov dword [esp + 0x3c], esi
mov esi, dword [0x10242160]
mov dword [esp + 0x78], esi
mov esi, dword [0x10242164]
mov dword [esp + 0x54], esi
mov dword [0x1024216c], 0x26c3
mov esi, dword [0x10242168]
mov dword [esp + 0x88], esi
mov dword [0x10242170], 0x29d7
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp 0x102034f8
mov eax, dword [esp + 0x14]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jne 0x10203523
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10203542
mov eax, 0xf45
mov ecx, dword [esp + 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x102034f8
mov eax, dword [esp + 0x10]
mov dword [0x10242170], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], ecx
mov dword [0x1024216c], 0x1b01
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x60], esi
call fcn.10202cec
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x102034ee
lea eax, [esp + 0x38]
mov dword [0x1024216c], 0x189e
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10202e7d
mov dword [0x10242170], 0x1d69
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
jmp 0x102034ee

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

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4a3b68
Capabilities:
Encode data using xor

Disassembly:
push ds
xchg esi, eax
cmp eax, 0xdc4eead
pop edi
jp 0x4a3b04
iretd

Function at 0x4ac954
Capabilities:
Encode data using xor

Disassembly:
sbb bl, byte [0x98325ce4]
lahf
mov dh, 0x85
invalid
jle 0x4ac890
cdq
pushfd
jp 0x4ac92c
pop ss
inc edx
out dx, eax
invalid
push ecx
mov dl, 0x64
cmpsb byte [esi], byte es:[edi]
shr byte [esi - 0x299ea98b], 1
push eax
les edi, [esi - 0x3011f660]
xor eax, 0x6a2a833a
mov ecx, 0x564e9ce2
or dword [edx - 0x76], edx
rol byte [eax + esi*8 + 0x59b294c1], 1
adc eax, 0xaf190130
invalid
scasd eax, dword es:[edi]
stosd dword es:[edi], eax
jge 0x4ac95a
add dword [esi - 0x12], eax
inc esi
out dx, al
jb 0x4ac958
ror byte [edx + 0xadca11e], 1
cdq
sbb ch, dl
out 0x40, al
invalid

Function at 0x4bda30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c7498
cmp edx, dword [eax]
je 0x4bda52
add eax, 8
inc ecx
cmp eax, 0x4c7528
jl 0x4bda43
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c7498]
jne 0x4bdb80
mov eax, dword [0x4c9d3c]
cmp eax, 1
je 0x4bdb5a
test eax, eax
jne 0x4bda83
cmp dword [0x4c52dc], 1
je 0x4bdb5a
cmp edx, 0xfc
je 0x4bdb80
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bdaba
lea eax, [ebp - 0x1a4]
push 0x4c1b30
push eax
call fcn.004beb90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bec80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bdafd
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bec80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1b2c
push edi
call fcn.004bf640
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1b10
push eax
call fcn.004beb90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004beba0
lea eax, [ebp - 0xa0]
push 0x4c1b0c
push eax
call fcn.004beba0
push dword [esi + 0x4c749c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004beba0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1ae4
push eax
call fcn.004bf5b2
add esp, 0x2c
pop edi
jmp 0x4bdb80
lea eax, [ebp + 8]
lea esi, [esi + 0x4c749c]
push 0
push eax
push dword [esi]
call fcn.004bec80
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 0x1000122c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1002002c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0x20019
xor edi, edi
push edi
push str.SystemCurrentControlSetServices_amdkmdag
push 0x80000002
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x1000128e
push edi
call fcn.100019b0
test al, al
je 0x10001316
push dword [ebp - 8]
push esi
push str.RegOpenKeyEx_failed__0x_lx_._buildType___d_may_not_match_to_miniport_driver._n
call fcn.10001640
add esp, 0xc
jmp 0x10001316
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x10
push str.typeID
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test esi, esi
je 0x100012cb
push edi
call fcn.100019b0
test al, al
je 0x100012ed
push dword [ebp - 8]
push esi
push str.RegGetValue_failed__0x_lx_._buildType___d__may_not_match_to_miniport_driver._n
call fcn.10001640
add esp, 0xc
jmp 0x100012ed
cmp dword [ebp - 8], 3
jb 0x100012ed
push edi
mov dword [ebp - 8], edi
call fcn.100019b0
test al, al
je 0x100012ed
push dword [ebp - 8]
push str.Invalid_buildType_value._Set_it_to_default_value___d__which_may_not_match_to_miniport_driver._n
call fcn.10001640
pop ecx
pop ecx
push 2
call fcn.100019b0
test al, al
je 0x1000130d
push dword [ebp - 8]
push str.VM3DGetBuildType
push str._s:_buildType___d__n
call fcn.10001640
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
pop edi
pop esi
call fcn.100023ff
leave
ret
Function at 0x10001427
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1002002c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
imul edi, eax, 0x14
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
add edi, 0x10021360
cmp dword [edi + 0x10], ebx
je 0x1000145c
xor eax, eax
jmp 0x10001575
push esi
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x10017894
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, eax
test esi, esi
js 0x10001574
mov ecx, dword [ebp - 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1000147d
sub ecx, edx
mov edx, dword [edi]
sar ecx, 1
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0xc]
jne 0x10001491
sub edx, ebx
lea eax, [ecx + 1]
sar edx, 1
xor ecx, ecx
add eax, edx
push 2
pop edx
mov dword [ebp - 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10004104
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100014ce
mov esi, 0x8007000e
jmp 0x10001569
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call fcn.10004085
push dword [edi]
push dword [ebp - 0xc]
push ebx
call fcn.10004010
add esp, 0x18
push 0xa
call fcn.100019b0
test al, al
je 0x1000150b
mov eax, dword [section..data]
push dword [eax*4 + 0x1002001c]
push str.WDDM_Usermode_Loading_the__s_build_type_n
call fcn.10001640
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
mov dword [edi + 0xc], eax
call fcn.100040e9
cmp dword [edi + 0xc], 0
pop ecx
jne 0x10001538
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x10001569
push str.OpenAdapterWrapper
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x10001569
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
call fcn.10001608
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100023ff
leave
ret 4
Function at 0x100018b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1002002c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [0x100208fc]
push dword [0x100213d0]
push 0x10021400
push str.C:_vm3dum_log_vm3dum_s__d__d.log
push 0x80
push 0x10021420
call fcn.10001a60
push 0x20
push 0x100178c8
push 0x10021420
call fcn.100047cc
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x10001995
push edi
lea eax, [ebp - 0x144]
push eax
push str.C:_vm3dum_log_vm3dum.log
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001981
push esi
lea eax, [ebp - 0x144]
mov esi, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000195b
nop dword [eax]
inc esi
cmp esi, 0x200
ja 0x1000195b
lea eax, [ebp - 0x144]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10001940
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x200
pop esi
ja 0x10001981
pop edi
mov dword [0x100208f8], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100023ff
mov esp, ebp
pop ebp
ret
push ebx
call fcn.1000431d
push 0x10021420
call fcn.100049e0
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100023ff
mov esp, ebp
pop ebp
ret

Function at 0x10001e60
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002002c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push edi
mov edi, dword [ebp + 8]
movq qword [ebp - 0x10], xmm0
call fcn.10002100
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001ea4
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100023ff
mov esp, ebp
pop ebp
ret 4
push ebx
mov dword [ebp - 0x18], 0x10001f70
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
push 0x1a05
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov bl, al
test bl, bl
jne 0x10001efc
push str.WDDMCoreDump:_MiniDumpWriteDump___failed._n
call fcn.100019c0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100023ff
mov esp, ebp
pop ebp
ret 4
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x4ffe4417
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data_1
nop
mov ebx, 0x42e1d0
mov ecx, 0x31b47443
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10013d5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10013d6c
pop dword [ebp - 0x2c]
mov eax, 0x10013d6c
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc963a499
add dword [ebp - 0x3c], 0x84eea0b2
mov dword [ebp - 0x38], 0x5e07ec83
add dword [ebp - 0x38], 0xd42b5fc2
mov dword [ebp - 0x34], 0xb01bb31f
add dword [ebp - 0x34], 0x9c30910f
mov dword [ebp - 0x30], 0xdb20c017
add dword [ebp - 0x30], 0x24df3fe9
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xfc3cabca
sub eax, 0xec3c9b12
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x116d01ad
add dword [ebp - 0x3c], 0x630567a9
mov dword [ebp - 0x38], 0x3493e9b3
add dword [ebp - 0x38], 0xcd877c2
mov dword [ebp - 0x34], 0xb2cd8a98
sub dword [ebp - 0x34], 0x4f5e1e2c
mov dword [ebp - 0x30], 0xcb9c36ac
sub dword [ebp - 0x30], 0xcb9c36ac
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x8c02e674
add eax, 0x83fd2a54
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3fe99
push 0
call eax
mov ecx, 0x4df7
xor ebx, ebx
add ebx, eax
mov esi, 0x93fce2e3
add esi, 0x7c06cd1d
add esi, dword [ebp - 0x2c]
mov edi, 0xd89ac0c
add edi, 0x4532d3e1
mov edx, dword [esi]
add dword [ebp - 4], 0x5c3673e8
sub edx, edi
xor dword [ebp - 4], 0x5d39f5ee
mov dword [ebx], edx
add dword [ebp - 8], edx
add ebx, 0xa28a299b
sub ebx, 0xa28a2997
add esi, 0xdc57a24d
sub esi, 0xdc57a249
loop 0x10013e85
add eax, 0x51981901
add eax, 0xae6911ae
mov ebx, eax
add eax, 0x6b128370
add eax, 0x94ed7c95
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x4010da
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x410dd0
call fcn.00401850
push 1
call fcn.004012eb
pop ecx
test al, al
je 0x401235
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004012b6
mov byte [ebp - 0x24], al
mov eax, dword [0x412784]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x401235
test eax, eax
jne 0x401164
mov dword [0x412784], ecx
push 0x40c130
push 0x40c118
call fcn.004039ab
pop ecx
pop ecx
test eax, eax
je 0x401147
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40122f
push 0x40c114
push 0x40c10c
call fcn.0040394f
pop ecx
pop ecx
mov dword [0x412784], 2
jmp 0x401169
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00401458
pop ecx
call fcn.004015fa
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x401199
push esi
call fcn.004013ce
pop ecx
test al, al
je 0x401199
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00401844
call esi
call fcn.00401600
mov esi, eax
cmp dword [esi], edi
je 0x4011b7
push esi
call fcn.004013ce
pop ecx
test al, al
je 0x4011b7
push dword [esi]
call fcn.00403c77
pop ecx
call fcn.00401722
movzx eax, ax
push eax
call fcn.00403905
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00401755
test al, al
je 0x40123c
test bl, bl
jne 0x4011e5
call fcn.00403c52
push edi
push 1
call fcn.00401475
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40122f
call fcn.00401896
ret
push 7
call fcn.00401606
push esi
call fcn.00403caf
push dword [ebp - 0x20]
call fcn.00403c61
int3
call fcn.0052c000
jmp 0x4010da

Function at 0x4022d9
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x40c210
push str.FlsAlloc
push 0
call fcn.00402252
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40230b
push dword [ebp + 8]
mov ecx, esi
call fcn.00401844
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x40234d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x40c240
push str.FlsSetValue
push 3
call fcn.00402252
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x402381
mov ecx, esi
call fcn.00401844
call esi
jmp 0x402387
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x10011620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100578ce
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x16], 0
mov eax, 0x32
je 0x1001172e
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp + 8]
call fcn.100483d0
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
setne al
cmp byte [ebp + 0xc], 0
je 0x10011692
test al, al
je 0x10011692
mov eax, dword [edi + 0x22]
push eax
lea ecx, [ebp + 8]
call fcn.100483d0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x12]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.100483d0
mov edi, eax
test edi, edi
jne 0x100116d7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100116d7
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x16]
mov edx, dword [ebp - 0x14]
push ecx
push 1
push eax
push edx
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x100116d7
mov edi, 0x34
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x16]
push ecx
call dword [sym.imp.msvcr100.dll_ferror]
add esp, 4
test eax, eax
je 0x10011702
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x16]
push eax
call dword [sym.imp.msvcr100.dll_clearerr]
add esp, 4
mov edi, 0x34
jmp 0x1001171d
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x16]
push edx
call dword [sym.imp.msvcr100.dll_ftell]
mov esi, dword [esi + 4]
add esp, 4
cmp eax, dword [esi + 0x1a]
jle 0x1001171d
mov dword [esi + 0x1a], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sym.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8