joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2c9250
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a956
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0
push 0
call dword [0x311268]
sub esp, 0x18
mov ecx, esp
push 0x3252e0
call fcn.002d84d0
lea ecx, [ebp - 0x148]
call fcn.002c5ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2c92f0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.002d8cf0
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.002d8e50
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x2c9357
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c934d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c93c5
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x2c93a8
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c939e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c93c5
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
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.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2c93d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30a996
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0
push 0
push 0x28
push 0
call dword [0x311268]
sub esp, 0x18
mov ecx, esp
push 0x3252e0
call fcn.002d84d0
lea ecx, [ebp - 0x14c]
call fcn.002c5ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x124], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2c9470
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.002d8cf0
push edi
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.002d8e50
mov edx, dword [ebp - 0x120]
add esp, 4
cmp edx, 0x10
jb 0x2c94d7
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c94cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c9545
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x2c9528
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2c951e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c9545
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
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.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2cad00
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push 0x3e8
call dword [0x311094]
cmp dword [0x3251ec], 0x10
mov eax, 0x3251d8
cmovae eax, dword [0x3251d8]
push eax
push 0
push 0
call dword [0x3110ac]
call dword [0x31108c]
cmp eax, 0xb7
je 0x2cad37
ret
push 0
call fcn.002f7259
int3
Function at 0x2cd720
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30af00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x2cd777
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x2cd78c
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x34]
push 1
call fcn.002d9a10
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x2cd7b3
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x2cd7c8
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x34]
push 1
call fcn.002d9a10
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x16], 0
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, 0x610
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
call dword [0x311274]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x2cd846
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2cd83c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2cd8a4
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x2cd888
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2cd87e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2cd8a4
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3
Function at 0x2ce990
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3284dc
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
call fcn.002dd2dc
add esp, 4
test eax, eax
jne 0x2cea9b
mov ecx, dword [0x328490]
push ebx
mov ebx, dword [0x3112d0]
push esi
push edi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov edi, 4
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x2ce9f1
mov ecx, dword [ebp - 0xc]
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x2ce9d4
xor ecx, ecx
mov edi, 8
cmp eax, 0xffffffff
setne cl
dec ecx
xor esi, esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x328490]
mov dword [ebp - 0x10], ecx
nop dword [eax]
push 0
push edi
lea eax, [ebp + 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x2cea2d
mov ecx, dword [ebp - 0x10]
add esi, eax
sub edi, eax
cmp esi, 8
jl 0x2cea10
mov edi, dword [ebp - 0xc]
or ecx, 0xffffffff
cmp eax, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmove edi, ecx
mov ecx, dword [0x328490]
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x2cea77
mov edi, eax
mov eax, dword [ebp - 0x14]
push 0
push edi
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x2cea74
mov ecx, dword [ebp - 0x18]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0x10]
jl 0x2cea52
mov edi, dword [ebp - 0xc]
jmp 0x2cea77
or edi, 0xffffffff
push 0x3284dc
call fcn.002dd301
add esp, 4
test eax, eax
jne 0x2ceaa1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
push eax
call fcn.002dce9a
push eax
call fcn.002dce9a
int3
Function at 0x2cf110
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x20f8
call fcn.002ded80
mov eax, dword [0x324014]
xor eax, esp
mov dword [esp + 0x20f4], eax
push esi
push edi
call fcn.002f8143
cmp dword [0x3250e4], 0x10
mov edi, eax
push 0xa
lea eax, [esp + 0x10]
mov esi, 0x3250d0
cmovae esi, dword [0x3250d0]
push eax
push esi
mov dword [edi], 0
call fcn.002f9679
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x2cf2a4
cmp dword [edi], 0x22
je 0x2cf29a
movzx edi, ax
lea eax, [esp + 0x28]
push eax
push 2
call dword [0x3112cc]
test eax, eax
jne 0x2cf283
cmp dword [0x3253fc], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
mov esi, 0x3253e8
mov word [esp + 0x10], ax
cmovae esi, dword [0x3253e8]
push edi
call dword [0x3112e0]
mov word [esp + 0x12], ax
lea eax, [esp + 0x14]
push eax
push esi
push 2
call dword [0x3112c4]
push 0
push 1
push 2
call dword [0x3112d4]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x328490], eax
push ecx
push eax
call dword [0x3112d8]
mov esi, dword [0x3112c0]
cmp eax, 0xffffffff
jne 0x2cf233
mov edi, dword [0x311094]
nop word [eax + eax]
push 0xbb8
call edi
push dword [0x328490]
call esi
push 0
push 1
push 2
call dword [0x3112d4]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x328490], eax
push ecx
push eax
call dword [0x3112d8]
cmp eax, 0xffffffff
je 0x2cf200
lea ecx, [esp + 0x1b8]
call fcn.002cee70
cmp eax, 0xffffffff
je 0x2cf283
cmp byte [0x32838c], 1
je 0x2cf274
lea ecx, [esp + 0x1b8]
call fcn.002cee70
cmp eax, 0xffffffff
jne 0x2cf244
or eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20f4]
xor ecx, esp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
push dword [0x328490]
call esi
mov byte [0x32838c], 0
mov ecx, dword [esp + 0x20fc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.002dce09
push str.invalid_stoi_argument
call fcn.002dcdc9
int3
Function at 0x2d76f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [0x31104c]
push 0
push 0
push 0
push 0x2d7610
push 0
push 0
call esi
push 0
push 0
push 0
push 0x2d76a0
push 0
push 0
call esi
mov esi, dword [0x311094]
nop
push 0x7530
call esi
jmp 0x2d76e0
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.002cad00
mov ecx, 1
call fcn.002cdbd0
call fcn.002ce510
call fcn.002d5710
jmp 0x2d76b0

Function at 0x2e07bd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x31104c]
pop ebp
ret
Function at 0x40105c
Capabilities:
Get common file path

Disassembly:
push edi
sub esp, 0x7c
push esp
pop edi
push 0x7c
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
xor ecx, ecx
push ecx
push edi
add edi, eax
mov eax, 0x69636d5c
stosd dword es:[edi], eax
mov eax, 0x65766177
stosd dword es:[edi], eax
mov eax, 0x6c6c642e
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
call sub.KERNEL32.dll_GetCompressedFileSizeA
add esp, 0x7c
pop edi
cmp eax, 2
jg 0x401095
jmp 0x40105d
pushal
jmp fcn.00401468

Function at 0x401208
Capabilities:
Encode data using xor

Disassembly:
or eax, eax
push ebp
mov ebp, esp
sub esp, 0x1c
mov edi, 0x4030a0
push edi
mov ecx, esp
push ecx
push 0x2b
add dword [esp], 0x15
push 0xfffffe7c
add dword [esp], 0xaec
push section..data
push esi
sub esi, esi
adc esi, sym.imp.KERNEL32.dll_VirtualProtect
lodsd eax, dword [esi]
pop esi
mov edx, eax
call edx
pop eax
mov ebx, 0x403400
mov dword [edi + 0x18], ebx
lea edx, [ebx - 0xe6]
lea ecx, [0x4020f9]
xor esi, esi
mov ebx, dword [ecx]
add ecx, 3
inc ecx
push ebx
pop dword [edx + 0xe6]
add edx, 4
xor dword [edx + 0xe2], 0x98e75c91
nop
sub dword [edx + 0xe2], 0x4eac6723
add esi, 4
cmp esi, 0x568
jne 0x401256
push 0
call sub.KERNEL32.dll_GetThreadPriority
add esp, 0x1c
pop ebp
ret 0x10

Function at 0x401518
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ebx, 0x403114
lea ecx, [ebx - 0x114]
push ecx
call sub.KERNEL32.dll_GetModuleHandleA
test eax, eax
jne 0x401524
mov ebp, esp
invalid
push ebx
push dword [ebx + 0x198]
push eax
push dword [ebx + 0x54]
call fcn.004012f4
pop ebx
call sub.KERNEL32.dll_GetEnvironmentStringsA
add esp, 0x30
pop ebp
ret 8

Function at 0x4015f8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea ecx, [ebx + 0x168]
push ecx
push esi
push esi
call fcn.00401424
pop ecx
push ecx
call sub.KERNEL32.dll_GetEnvironmentStringsA
pop ecx
push ecx
push 0
call sub.KERNEL32.dll_FindAtomA
pop ecx
add esp, 0x5c
pop ebp
ret 0xc

Function at 0x4018e8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [0x403194]
push eax
push ecx
push edi
push edi
call fcn.00401820
pop eax
push eax
call sub.KERNEL32.dll_GetCurrentThread
pop eax
push eax
call sub.KERNEL32.dll_GetEnvironmentStringsA
pop eax
add esp, 0x28
pop ebp
ret 0x10
Function at 0x1000cfed
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1009bf1e
call fcn.1009a9e0
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x100a5644
mov dword [esi + 4], 0x100a55b4
mov dword [esi + 8], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 8
mov dword [esi + 0xc], 0x100a58f4
mov dword [ebp - 4], edi
mov dword [esi + 0x20], edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], edi
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.1000267c
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edi
mov dword [esi], 0x100a58c0
mov dword [esi + 4], 0x100a58b0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10010883
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1009c40b
call fcn.1009a9e0
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x100a5644
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.1000267c
mov ecx, dword [ebp - 0xc]
push 4
pop eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], 0x100a59b8
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x2c], 0x100a59b0
mov dword [esi], 0x100a597c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100160cf
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
test edi, edi
mov ax, word [esi]
jbe 0x100160ff
push ebx
movzx ecx, byte [edx]
movzx ebx, al
xor ecx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [ecx*2 + 0x100c0e34]
xor ax, bx
inc edx
dec edi
jne 0x100160e3
pop ebx
mov word [esi], ax
pop edi
pop esi
ret 8
Function at 0x10035540
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x1009f6b0
call fcn.1009a9e0
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x100a6690
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x100a68e4
push 4
mov ebx, 0x100a59c0
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.1000357a
mov dword [esi + 0x3c], 0x100a6c70
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.1000357a
mov dword [edi], 0x100a6c78
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.10032050
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.100345ad
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.10032050
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.100345ad
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.10032050
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.100345ad
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.10032050
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.100345ad
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.100345ad
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1003e90e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov eax, ecx
push esi
push edi
mov edi, dword [eax]
cmp dword [ebp + 0xc], 0
je 0x1003e95d
mov esi, dword [eax + 4]
test esi, esi
je 0x1003e95d
mov cl, byte [edx]
inc edx
mov byte [esi + eax + 8], cl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec dword [ebp + 0xc]
test ecx, ecx
mov dword [eax + 4], ecx
jne 0x1003e91b
and dword [ebp + 8], ecx
lea esi, [eax + 8]
movzx ebx, byte [esi]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 8
shl ebx, cl
xor edi, ebx
inc esi
cmp dword [ebp + 8], 0x20
jl 0x1003e946
jmp 0x1003e91b
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov esi, ecx
dec ecx
test esi, esi
je 0x1003e98d
inc ecx
movzx esi, byte [edx]
inc edx
xor ebx, ebx
mov bh, byte [edx]
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x10
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x18
or esi, ebx
inc edx
xor edi, esi
dec ecx
jne 0x1003e96b
mov esi, dword [ebp + 0xc]
mov dword [eax], edi
and esi, 3
je 0x1003e9ae
mov ecx, dword [eax + 4]
mov bl, byte [edx]
inc edx
mov byte [ecx + eax + 8], bl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec esi
mov dword [eax + 4], ecx
jne 0x1003e997
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1003eaf6
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
xor esi, esi
mov edx, dword [eax + 4]
test edx, edx
jle 0x1003eb1c
push edi
lea ecx, [edx*8 - 8]
movzx edi, byte [eax + esi + 8]
shl edi, cl
sub ecx, 8
xor dword [eax], edi
inc esi
cmp esi, edx
jl 0x1003eb0a
pop edi
pop esi
ret

Function at 0x10048691
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100a0cf0
call fcn.1009a9e0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10002a2a
mov eax, dword [edi + 0xc]
and dword [ebp - 4], 0
mov dword [esi + 0xc], eax
mov ax, word [edi + 0x10]
mov word [esi + 0x10], ax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
lea ecx, [esi + 0x34]
push edi
mov dword [esi + 0x30], eax
call fcn.1004877c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1004d84d
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x100a1446
call fcn.1009a9e0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.100022ea
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10002a2a
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.100022ea
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.10002a2a
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov al, byte [edi + 0x38]
mov byte [esi + 0x38], al
mov al, byte [edi + 0x39]
mov byte [esi + 0x39], al
mov al, byte [edi + 0x3a]
mov byte [esi + 0x3a], al
mov al, byte [edi + 0x3b]
mov byte [esi + 0x3b], al
mov al, byte [edi + 0x3c]
mov byte [esi + 0x3c], al
mov al, byte [edi + 0x3d]
mov byte [esi + 0x3d], al
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x10050be3
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100a1957
call fcn.1009a9e0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x38]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ax, word [edi + 0x30]
mov word [esi + 0x30], ax
mov al, byte [edi + 0x32]
mov byte [esi + 0x32], al
mov al, byte [edi + 0x33]
mov byte [esi + 0x33], al
mov al, byte [edi + 0x34]
mov byte [esi + 0x34], al
mov al, byte [edi + 0x35]
mov byte [esi + 0x35], al
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
lea eax, [edi + 0x38]
push eax
call fcn.100022ea
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
push eax
lea ecx, [esi + 0x44]
call fcn.10002a2a
mov eax, dword [edi + 0x50]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10051c5e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100a19e5
call fcn.1009a9e0
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100a5644
mov dword [esi + 4], 0x100a5fe0
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0xc
mov dword [esi + 0xc], 0x100a72b0
push 4
mov dword [ebp - 4], edi
pop ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x20], 0x100a72a8
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x34], 0x100a72a0
lea ecx, [esi + 0x58]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.1000267c
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], ebx
mov dword [esi + 0x68], 0x100a5fd8
mov dword [esi], 0x100a726c
mov dword [esi + 4], 0x100a725c
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret