joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
mov dword [esp + 8], 0x5d84f4c0
call fcn.0140a86f
movzx dx, byte [ebp]
add cl, 0xd0
mov cl, byte [ebp + 2]
clc
lea ebp, [ebp - 2]
cmp dx, bp
shl dl, cl
mov word [ebp + 4], dx
pushfd
sar dh, cl
pop dword [ebp]
xor dh, 0x6d
mov edx, dword [esi]
lea esi, [esi + 4]
cmp bp, 0x6403
cmp sp, ax
xor edx, ebx
neg edx
clc
rol edx, 3
jmp 0x1488350
jae 0xc888aa
jmp fcn.0141bcbc
inc edx
cmc
ror edx, 1
add edx, 0x56ff5dc1
test eax, 0x2fe3ac9
stc
cmp dx, cx
xor ebx, edx
add edi, edx
jmp 0x135649d
Function at 0x40c457
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push ecx
pop ecx
push 0x2b
pop eax
push esp
pop ebp
push esi
push ebx
sub esp, 0x10
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
or edx, edx
je 0x40c781
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, esi
and eax, 0xf00000
cmp eax, 0x200000
je 0x40c55a
jg 0x40c499
cmp eax, 0x100000
jne 0x40c77c
jmp 0x40c4b4
cmp eax, 0x300000
je 0x40c65e
cmp eax, 0x400000
jne 0x40c77c
jmp 0x40c709
lea eax, [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
or ecx, ecx
je 0x40c77c
cmp esi, 0x10001e
je 0x40c52d
ja 0x40c4ed
cmp esi, 0x100012
je 0x40c51d
cmp esi, 0x100015
je 0x40c525
cmp esi, 0x100001
jne 0x40c77c
jmp 0x40c50c
cmp esi, 0x100020
je 0x40c53d
jb 0x40c535
cmp esi, 0x100024
je 0x40c54d
cmp esi, 0x100029
je 0x40c545
jmp 0x40c77c
mov eax, dword [edx + 0x3e8]
or eax, eax
jne 0x40c553
mov eax, 0x41f8f0
jmp 0x40c553
mov eax, dword [edx + 0x868c]
jmp 0x40c553
mov eax, dword [edx + 0x28c]
jmp 0x40c553
mov eax, dword [edx + 0x8604]
jmp 0x40c553
mov eax, dword [edx + 0x8690]
jmp 0x40c553
lea eax, [edx + 0x8694]
jmp 0x40c553
lea eax, [edx + 0x86c8]
jmp 0x40c553
mov eax, dword [edx + 0x380]
mov dword [ecx], eax
jmp 0x40c778
lea eax, [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
or ebx, ebx
je 0x40c77c
lea eax, [esi - 0x200002]
cmp eax, 0x28
ja 0x40c77c
jmp dword [eax*4 + 0x41f8f4]
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
or eax, eax
je 0x40c77c
lea ecx, [esi - 0x300003]
cmp ecx, 0x1e
ja 0x40c77c
jmp dword [ecx*4 + 0x41f998]
lea eax, [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x40c77c
cmp esi, 0x40001c
je 0x40c744
ja 0x40c72a
cmp esi, 0x40001b
jne 0x40c77c
jmp 0x40c73c
cmp esi, 0x400022
je 0x40c752
cmp esi, 0x40002b
je 0x40c75c
jmp 0x40c77c
mov dword [ebx], 0
jmp 0x40c778
sub esp, 0xc
push edx
call fcn.0040ca9d
add esp, 0x10
jmp 0x40c758
lea eax, [edx + 0x86fc]
mov dword [ebx], eax
jmp 0x40c778
lea eax, [edx + 0x8704]
mov dword [edx + 0x8704], 0
mov dword [ebx], eax
mov dword [edx + 0x8708], 0
xor eax, eax
jmp 0x40c781
push 0x2b
pop eax
pushal
popal
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40dba5
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x304], 0
je 0x40dcb8
cmp dword [edi + 0x3f8], 0
je 0x40dbd9
sub esp, 0xc
push edi
call fcn.0040db33
add esp, 0x10
push eax
push 2
push 2
push edi
call fcn.00411544
mov ebx, dword [edi + 0x400]
add esp, 0x10
mov esi, dword [edi + 0x304]
or ebx, ebx
je 0x40dcec
cmp dword [ebx + 0xc], 0
je 0x40dcec
push ebx
pop eax
call fcn.0040c97f
push eax
push eax
push esi
push 0x41fac9
call fcn.004109e9
add esp, 0x10
test eax, eax
je 0x40dc31
mov eax, dword [0x4252dc]
mov byte [ebp - 0x11], 1
add eax, 0x20
mov dword [ebp - 0x10], eax
jmp 0x40dc50
push eax
push eax
push 0x41fad9
push esi
call fcn.0041da20
add esp, 0x10
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40dcec
mov byte [ebp - 0x11], 0
push eax
push eax
push dword [ebp - 0x10]
push 0x41fadb
call fcn.0041dc30
mov esi, dword [ebx]
jmp 0x40dc9e
push esi
pop eax
call fcn.0040c9e5
push eax
pop ebx
or eax, eax
jne 0x40dc84
push eax
push eax
push 0x41fb63
push dword [ebp - 0x10]
call fcn.0041080f
add esp, 0x10
jmp 0x40dca5
push eax
push ebx
push 0x41fb7c
push dword [ebp - 0x10]
call fcn.0041080f
mov dword [esp], ebx
call dword [0x41e00c]
mov esi, dword [esi]
add esp, 0x10
test esi, esi
jne 0x40dc63
cmp byte [ebp - 0x11], 0
jne 0x40dcec
sub esp, 0xc
push dword [ebp - 0x10]
call fcn.0041da70
jmp 0x40dce9
cmp dword [ebp - 0x18], 0
je 0x40dcde
mov eax, dword [edi + 0x3f8]
test eax, eax
je 0x40dcde
sub esp, 0xc
push eax
call fcn.0040ddba
mov dword [edi + 0x3f8], 0
add esp, 0x10
push ebx
push 2
push 2
push edi
call fcn.00411544
add esp, 0x10
cmp dword [ebp - 0x18], 0
je 0x40dd15
mov edx, dword [edi + 0x48]
or edx, edx
je 0x40dd04
mov eax, dword [edi + 0x400]
cmp eax, dword [edx + 0x18]
je 0x40dd15
sub esp, 0xc
push dword [edi + 0x400]
call fcn.0040c936
add esp, 0x10
mov dword [ebp + 0xc], 2
mov dword [ebp + 8], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00411584
Function at 0x4119d7
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
not eax
mov ecx, dword [edi + 8]
mov esi, dword [edi]
cmp eax, ecx
jae 0x4119fb
or esi, esi
je 0x411a6b
sub esp, 0xc
push esi
jmp 0x411a5c
or esi, esi
je 0x411a0c
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 4]
add edx, ecx
dec eax
cmp edx, eax
jbe 0x411a81
cmp dword [ebp + 0x10], 0
js 0x411a2e
test ecx, ecx
js 0x411a2e
mov eax, dword [ebp + 0x10]
lea edx, [ecx + ecx]
add eax, eax
not eax
cmp eax, edx
jb 0x411a2e
mov eax, dword [ebp + 0x10]
add eax, ecx
lea ebx, [eax + eax]
jmp 0x411a31
or ebx, 0xffffffff
test esi, esi
je 0x411a41
push eax
push eax
push ebx
push esi
call dword [0x41e010]
jmp 0x411a4b
sub esp, 0xc
push ebx
call dword [0x41e008]
add esp, 0x10
test eax, eax
jne 0x411a7c
mov eax, dword [edi]
test eax, eax
je 0x411a6b
sub esp, 0xc
push eax
call dword [0x41e00c]
mov dword [edi], 0
add esp, 0x10
sub esp, 0xc
push edi
call dword [0x41e00c]
pushal
popal
push 0x1b
pop eax
jmp 0x411a9b
mov dword [edi], eax
mov dword [edi + 4], ebx
mov eax, dword [edi + 8]
add eax, dword [edi]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0041db10
mov eax, dword [ebp + 0x10]
add dword [edi + 8], eax
xor eax, eax
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x416247
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
push esi
push ebx
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x4162c0
cmp dword [esi + 0xc], 0
je 0x4162c0
cmp ebx, dword [esi]
mov eax, dword [ebx + 8]
jne 0x41627e
mov dword [esi], eax
test eax, eax
jne 0x416272
mov dword [esi + 4], 0
jmp 0x416293
mov eax, dword [ebx + 8]
mov dword [eax + 4], 0
jmp 0x416293
mov edx, dword [ebx + 4]
mov dword [edx + 8], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x416290
mov dword [esi + 4], edx
jmp 0x416293
mov dword [eax + 4], edx
push eax
push eax
push dword [ebx]
push dword [ebp + 0x10]
call dword [esi + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [esp], ebx
call dword [0x41e00c]
dec dword [esi + 0xc]
add esp, 0x10
lea esp, [ebp - 8]
push 1
pop eax
pushal
popal
pop ebx
pop esi
pop ebp
ret

Function at 0x416402
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
or ebx, ebx
mov edi, dword [eax]
je 0x41645d
sub esp, 0xc
push 0x4163ea
call fcn.00416188
add esp, 0x10
push eax
pop esi
test eax, eax
jne 0x416457
jmp 0x416477
sub esp, 0xc
push eax
call dword [0x41e014]
add esp, 0x10
test eax, eax
je 0x416477
push edx
push eax
push dword [esi + 4]
push esi
call fcn.004161bf
add esp, 0x10
test eax, eax
je 0x416477
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x416431
test edi, edi
je 0x41646e
push eax
push eax
push 0
push edi
call fcn.004162cc
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
jmp 0x41647c
push 3
pop eax
pushal
popal
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10001d50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1000e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
push edi
je 0x10001d7d
mov eax, dword [esi + 8]
push 3
push eax
call dword [sym.imp.KERNEL32.dll_EscapeCommFunction]
cmp dword [esi + 4], 0
mov edi, dword [ebp + 0xc]
je 0x10001d95
push edi
push 0x1000b328
mov edx, ebx
mov ecx, esi
call fcn.10001040
mov edx, dword [esi + 8]
push 0
lea ecx, [ebp - 0x408]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10001e10
cmp dword [ebp - 0x408], edi
jne 0x10001e10
cmp byte [esi + 0xc], 0
je 0x10001df7
test edi, edi
jle 0x10001deb
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10001dd0
mov edx, dword [esi + 8]
push 0
lea eax, [ebp - 0x40c]
push eax
push 1
lea ecx, [ebp - 0x404]
push ecx
push edx
call ebx
dec edi
jne 0x10001dd0
mov eax, dword [esi + 8]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_EscapeCommFunction]
mov eax, dword [ebp - 0x408]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008c0e
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 4], 0
je 0x10001e26
push 0
push str.__ERROR_write_to_port
xor edx, edx
mov ecx, esi
call fcn.10001040
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.10008c0e
mov esp, ebp
pop ebp
ret 8

Function at 0x10001e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
test edi, edi
jg 0x10001e67
pop edi
or eax, 0xffffffff
pop ebx
pop ebp
ret 8
cmp dword [ebx + 4], 0
je 0x10001e7a
push edi
push 0x1000b344
xor edx, edx
call fcn.10001040
push esi
xor esi, esi
test edi, edi
jle 0x10001eb6
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
sub ecx, esi
push ecx
mov ecx, dword [ebx + 8]
lea eax, [esi + edx]
push eax
push ecx
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10001eb6
mov eax, dword [ebp + 0xc]
cmp eax, 1
jb 0x10001eb6
add esi, eax
cmp esi, edi
jl 0x10001e81
cmp dword [ebx + 4], 0
je 0x10001ecc
mov edx, dword [ebp + 8]
push esi
push 0x1000b344
mov ecx, ebx
call fcn.10001040
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x10003070
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x1000e018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x198]
push eax
push 0x202
mov dword [esi], vtable.TcpPort.0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0x10], 0x7a120
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x100030bb
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.10008c0e
mov esp, ebp
pop ebp
ret
Function at 0x10003690
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0
push ebx
mov esi, ecx
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100036db
cmp dword [esi + 4], 0
je 0x100036c9
push 0
push str.__ERROR_write_to_port
xor edx, edx
mov ecx, esi
call fcn.10001040
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
cmp dword [esi + 4], 0
je 0x100036f3
mov edx, dword [ebp + 8]
push ebx
push str.__OK
mov ecx, esi
call fcn.10001040
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10003700
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x1000e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x50c], eax
test ebx, ebx
jg 0x1000373c
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008c0e
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 8]
push edi
xor edi, edi
mov dword [ebp - 0x504], ecx
mov dword [ebp - 0x508], 1
test ebx, ebx
jle 0x10003885
lea ebx, [ebx]
lea eax, [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push 0
push 0
lea edx, [ebp - 0x508]
push edx
inc eax
push eax
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
je 0x100037b2
test eax, eax
je 0x100037c6
mov edx, dword [ebp - 0x50c]
mov eax, dword [esi + 8]
push 0
mov ecx, ebx
sub ecx, edi
push ecx
add edx, edi
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
js 0x10003805
je 0x10003846
add edi, eax
cmp edi, ebx
jl 0x10003760
jmp 0x10003885
cmp dword [esi + 4], 0
je 0x1000387c
push str.select_error...
jmp 0x10003851
cmp dword [esi + 4], 0
je 0x100038b7
push str.timeout__socket_does_not_have_anything_to_read
lea eax, [ebp - 0x404]
push 0x1000b270
push eax
mov byte [ebp - 0x404], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x404]
call fcn.10004b30
jmp 0x10003885
cmp dword [esi + 4], 0
je 0x1000383b
push str.read_failed...
lea edx, [ebp - 0x404]
push 0x1000b270
push edx
mov byte [ebp - 0x404], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [esi + 4]
add esp, 0xc
push eax
lea ecx, [ebp - 0x404]
call fcn.10004b30
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
jmp 0x10003885
cmp dword [esi + 4], 0
je 0x1000387c
push str.peer_disconnected...
lea ecx, [ebp - 0x404]
push 0x1000b270
push ecx
mov byte [ebp - 0x404], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
mov edx, dword [esi + 4]
add esp, 0xc
push edx
lea ecx, [ebp - 0x404]
call fcn.10004b30
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
cmp dword [esi + 4], 0
je 0x100038b7
cmp ebx, edi
je 0x1000389e
push ebx
push 0x1000b344
xor edx, edx
mov ecx, esi
call fcn.10001040
cmp dword [esi + 4], 0
je 0x100038b7
mov edx, dword [ebp - 0x50c]
push edi
push 0x1000b344
mov ecx, esi
call fcn.10001040
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008c0e
mov esp, ebp
pop ebp
ret 8
Function at 0x10004830
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1000e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
test eax, eax
je 0x1000487c
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10004854
sub ecx, edi
je 0x1000487c
lea edi, [esi + 8]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10004866
mov dword [esi + 0x10c], 0
jmp 0x1000488d
push 0x104
lea edi, [esi + 8]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004892
sub eax, edx
mov ebx, eax
mov edx, ebx
mov dword [esi + 0x10c], ebx
je 0x100048eb
jmp 0x100048b0
dec dword [esi + 0x10c]
mov eax, dword [esi + 0x10c]
cmp edx, ebx
jl 0x100048c8
cmp byte [eax + edi], 0x2e
jne 0x100048c8
mov edx, eax
mov cl, byte [eax + edi]
cmp cl, 0x2f
je 0x100048e4
cmp cl, 0x5c
je 0x100048e4
mov byte [eax + esi + 0x18], cl
cmp dword [esi + 0x10c], 0
jne 0x100048b0
jmp 0x100048eb
inc eax
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x10c]
mov ecx, dword [str.logs_2000_00_00_]
mov dword [eax + esi + 8], ecx
mov ecx, dword [0x1000b5b0]
lea eax, [eax + esi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [0x1000b5b4]
mov dword [eax + 8], ecx
mov ecx, dword [0x1000b5b8]
mov dword [eax + 0xc], ecx
add dword [esi + 0x10c], 5
mov eax, dword [str..log]
mov dword [esi + edx + 0x18], eax
mov cl, byte [0x1000b5c4]
mov byte [esi + edx + 0x1c], cl
mov esi, dword [esi + 0x10c]
lea edx, [esi - 1]
push edx
lea eax, [ebp - 0x108]
push edi
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push 0
lea ecx, [ebp - 0x108]
push ecx
mov byte [ebp + esi - 0x109], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008c0e
mov esp, ebp
pop ebp
ret 4
Function at 0x100060f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009868
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1000e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10006282
cmp byte [ebx + 0x49], 0
je 0x10006282
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10006276
lea esi, [ebp - 0x2c]
call fcn.10005f90
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10006163
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000619b
dec eax
je 0x1000619f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x1000627d
call fcn.10001ee0
xor al, al
jmp 0x10006284
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x100061af
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x100061dd
cmp edi, 0x10
jae 0x100061be
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000626e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x1000627a
test esi, esi
jne 0x10006157
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x1000629f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x1000629f
cmp edi, esi
jae 0x10006257
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.10002610
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10006157
mov ecx, eax
cmp edi, 0x10
jae 0x10006233
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x1000624e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10006151
test esi, esi
jne 0x10006229
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10006266
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10006151
lea esi, [ebp - 0x2c]
call fcn.10001ee0
xor al, al
jmp 0x10006284
lea esi, [ebp - 0x2c]
call fcn.10001ee0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008c0e
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x100074d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx ecx, byte [eax + 1]
push ebx
lea edx, [eax + 1]
mov ebx, eax
sub ebx, edx
add ebx, 2
mov dword [ebp - 4], ebx
mov ebx, eax
sub ebx, edx
add ebx, 3
mov dword [ebp - 8], ebx
push esi
push edi
mov ebx, eax
mov edi, eax
sub ebx, edx
sub edi, edx
add ebx, 4
mov dword [ebp - 0xc], ebx
mov byte [eax + 0x16], cl
lea esi, [edx + 2]
mov ebx, 4
lea ecx, [ecx]
xor cl, byte [edi + esi]
add esi, 5
mov byte [eax + 0x16], cl
mov dl, byte [esi - 5]
xor dl, cl
mov ecx, dword [ebp - 4]
mov byte [eax + 0x16], dl
mov cl, byte [ecx + esi - 5]
xor cl, dl
mov edx, dword [ebp - 8]
mov byte [eax + 0x16], cl
mov dl, byte [edx + esi - 5]
xor dl, cl
mov ecx, dword [ebp - 0xc]
mov byte [eax + 0x16], dl
mov cl, byte [ecx + esi - 5]
xor cl, dl
dec ebx
mov byte [eax + 0x16], cl
jne 0x10007510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10008c0e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e018]
jne 0x10008c18
repz ret
jmp fcn.1000912b
Function at 0x101f0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0101f200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x101f0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x101f0c2
add dl, dl
jne 0x101f0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x101f134
xor eax, eax
add dl, dl
jne 0x101f0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x101f1d5
add dl, dl
jne 0x101f0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x101f108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x101f113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x101f11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x101f12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x101f0cd
mov eax, 1
add dl, dl
jne 0x101f142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x101f14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x101f139
sub eax, ebx
mov ebx, 1
jne 0x101f180
mov ecx, 1
add dl, dl
jne 0x101f166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x101f171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x101f15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x101f0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x101f197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x101f1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x101f18e
cmp eax, 0x7d00
jae 0x101f1c5
cmp eax, 0x500
jb 0x101f1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x101f0cd
cmp eax, 0x7f
ja 0x101f1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x101f0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x101f1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x101f0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10