joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fa03
Capabilities:
Hash data with crc32

Disassembly:
je 0x43fbf7
jne 0x43fbf7
cmp dword [0x69a7642c], esi
lea edi, [eax + 0xcd0ea8]
cmp dword [0xd0c3a8], ecx
or dword [eax + 0x20], 0x80
mov byte [eax + esi - 1], 0
cmp dword [0xdeb3d8], edi
mov dword [0x112765ac], eax
mov dword [esi], 0xace0bc
movsx eax, word [ebp - 0x1c4]
push 0xaab9a8
int1
rcr byte [esi], 1
loop 0x43f2e7
sub eax, 0x22a93090
aaa
out 0x83, al
leave
jmp [eax + 3]
movsd dword es:[edi], dword [esi]
add byte [eax + 0x4561b4], bh
mov eax, 0x10d7a2b8
mov edx, 0xb1ced4
push 0xa76714
mov dword [esi], 0x9fb764
push 0x4f0dcc
mov dword [edx + esi + 0x13c], 0x10261f8c
push 0x697a2e6c
mov byte [ebp - 0x132], 0
mov ecx, 0x15
sti
and bh, byte [edi + 0x4232049f]
cmp byte [eax], bl
mov al, byte [0x6b249244]
dec edi
arpl word [eax], bx
cwde
jmp 0x43fa03
not ecx
xor ebx, ebx
je 0x43fafa
jne 0x43fafa
cmp dword [ebp + 0xc], eax
jmp dword [ecx*4 + 0x86d66c]
shr ecx, 8
je 0x43f8c9
jne 0x43f8c9
mov dword [0x112b2da8], eax
neg dword [ebp + 0x12]
push 0xa233fc
push 0x1016adc0
mov dword [0x1124da0c], eax
mov dword [0x111d2de4], eax
cmp dword [ebp + 0x1c], 0x80000000
mov dword [esi], 0xa0e618
pmaddwd xmm6, xmmword [0x69809430]
mov eax, 0x10dab0f8
push 0x100d8c6c
mov ecx, dword [0x42be3c]
movzx eax, word [0xf376c4]
add ebp, 0x518
mov dword [esi + 0x5c], 0x42edc0
push 0xaf4520
cmp byte [0xdef019], 0
mov dword [esp + 0xec], 0x1028d9a4
hlt
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], 0xfffffffe
push 0x43fb85
ret
push eax
push 0x43fe3a
ret
je 0x43f33b
movzx eax, byte [esi]
xor eax, ecx
je 0x43fd59
jne 0x43fd59
mov ecx, dword [0x1152b260]
lock cmpxchg dword [ebx], edx
mov dword [esi + 0x694], 1
mov dword [esi + 4], 0x63eba0
jmp dword [0x49140c]
xor ecx, dword [eax*4 + 0x401240]
push 0x43f5f1
ret
mov eax, edx
dec edx
mov dword [ebp - 0x130], edx
test eax, eax
jmp 0x43f814
mov dword [ebp - 0x124], esi
jmp 0x43f925
cmp ecx, 0x39b5d60d
sete bl
jmp 0x43f464
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b19b0
push 0x4a41c0
mov eax, dword fs:[0]
jmp 0x43f67a
and eax, 0xff
jmp 0x43f37a

Function at 0x46da70
Capabilities:
Hash data with md5

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
push 0x46db1c
ret

Function at 0x4a8180
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
sub edx, edx
add eax, ecx
push edi
or ebx, ebx
je 0x4a81bc
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4a81b4
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4a81be
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4a81a4
sub eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a8290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4a82a4
sub eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
sub eax, eax
cmp dword [ecx], 0x4550
jne 0x4a82bf
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0xaf65f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0xafc4cc]
cmp dword [eax + 0x28], 0
jne 0xaf6608
xor eax, eax
jmp 0xaf6737
mov ecx, dword [0xafc43c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0xafc430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0xafc42c], eax
push 0
call dword [0xafa138]
mov dword [ebp - 0x10], eax
push 1
call dword [0xafa138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0xafc430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0xafc42c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0xafc4b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0xafa680
push 0xafa6d0
push 0x88
call dword [0xafa134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0xafc428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0xafa10c]
push eax
call fcn.00af6530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0xafa148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0xafa12c]
push 0xaf65c0
mov edx, dword [0xafc4cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0xafa13c]
mov dword [0xafc434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0xafa130]
test eax, eax
je 0xaf6737
cmp dword [ebp - 0x38], 0x12
jne 0xaf672b
mov dword [0xafc444], 0
call fcn.00af6740
xor eax, eax
jmp 0xaf6737
lea edx, [ebp - 0x3c]
push edx
call dword [0xafa140]
jmp 0xaf66fc
mov esp, ebp
pop ebp
ret 4

Function at 0xaf7b00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [fcn.00afa0dc]
call dword [fcn.00afa124]
call dword [fcn.00afa128]
call dword [fcn.00afa094]
call dword [fcn.00afa0fc]
call dword [fcn.00afa0f4]
call dword [fcn.00afa150]
call dword [fcn.00afa00c]
call dword [fcn.00afa000]
call dword [fcn.00afa160]
call fcn.00af9644
mov eax, 1
pop ebp
ret 4
Function at 0xaf869c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0xafa168
sub eax, eax
test esi, esi
je 0xaf8774
sub eax, 1
test ecx, ecx
je 0xaf8772
test esi, 3
je 0xaf86da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xaf86bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0xaf8759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xaf86e4
mov ecx, edx
test ecx, ecx
je 0xaf8772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xaf875f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0xaf877c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.00af87ff
jae 0xaf878a
xor ecx, ecx
call fcn.00af87ff
jae 0xaf87b9
xor eax, eax
call fcn.00af87ff
jae 0xaf87c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.00af87ff
adc al, al
jae 0xaf87ab
jne 0xaf87f5
stosb byte es:[edi], al
jmp 0xaf878d
call fcn.00af880b
sub ecx, ebx
jne 0xaf87d2
call fcn.00af8809
jmp 0xaf87f1
lodsb al, byte [esi]
shr eax, 1
je 0xaf881b
adc ecx, ecx
jmp 0xaf87ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00af8809
cmp eax, 0x7d00
jae 0xaf87ee
cmp ah, 5
jae 0xaf87ef
cmp eax, 0x7f
ja 0xaf87f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xaf878d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0xaf914c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xafc000]
jne 0xaf9156
repz ret
jmp fcn.00af93fd
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
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
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2fd068e4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x64115e7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 0x18
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xd5
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x23
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 5
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xe4
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x9a
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 0x2c
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x30
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xc3
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 0xec
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xd7
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xc6
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xf2
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 0x71
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 0x62
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x3d
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x12
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xda
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xf4
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 0xcd
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x48
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x56
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x3f
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xea
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xce
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0xe
push 0
push 0
push 0
call edi
xor byte [esi + section..BSS], 0xd7
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x3b
push 0
push 0
push 0
call edi
add byte [esi + section..BSS], 0x4c
inc esi
cmp esi, 0x36e00
jb 0x4011c0
pop edi
pop esi
ret
Function at 0x4018f0
Capabilities:
Access peb ldr_data
Create thread
Encode data using base64
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x41d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
ror ax, 0x8c
imul edi
ror edi, 0xc3
inc edi
rol edi, 0x6d
dec di
or edi, ebx
inc di
shl esi, 0x2f
ror bx, 0x92
sub cx, ax
add si, dx
sub bx, di
inc eax
dec edi
rcl ebx, 0x18
imul cx
or ax, cx
shr si, 0x90
movsx eax, di
dec edi
dec ebx
and ax, 0xf2
or bx, 0xff
jae 0x401963
rcr di, 0xfe
shl dx, 0x4c
sub bx, 0x34e
or ebx, eax
ror bx, 0x3d
sub di, bx
imul ax
ror edx, 0x15
jmp 0x401965
dec ax
rcr dx, 0x9b
rcl esi, 0xd0
rcr bx, 0x22
dec si
ror eax, 0xca
imul ecx
ror cx, 0xe1
je 0x401995
cmp ecx, 0x3f
ja 0x4019d2
or di, 0x1e1
xor dx, si
ror ebx, 0x51
rcr ebx, 0xd4
shr edx, 0x67
jmp 0x4019aa
ror dx, 0xc
movsx ebx, bl
shr edi, 0x57
or bx, 0x288
inc ax
rcl di, 2
shr esi, 0xb8
rol edx, 0xa9
mul cx
add esi, 0x19b
mul di
rcl bx, 0x2f
ror edi, 0x1f
ja 0x4019d2
inc eax
and esi, ebx
ror ebx, 0x18
shr ebx, 0xd
imul eax
jmp 0x4019e1
dec ax
mov ebx, eax
dec edi
or edi, 0x1f0
inc eax
add dx, cx
rcr eax, 0x8b
or dx, 0x176
clc
jae 0x4019ee
call 0x63d24c
add byte [eax], al
mov eax, 0x23
cmp eax, 0x100
jl 0x4019fc
call 0x3dcb7e70
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x455e00], eax
stc
jb 0x401a1a
call 0xe848847e
cli
or eax, 0xc4830000
add al, 0x8b
clc
push 8
call fcn.0040281b
add esp, 4
mov edi, eax
push 4
call fcn.0040281b
add esp, 4
lea esi, [edi + 4]
mov dword [eax], 0x4018e0
push esi
push 0
push eax
push 0x401d70
push 0
push 0
call fcn.004057ab
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401b2f
cmp dword [esi], 0
je 0x401b3c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi], eax
je 0x401b43
push 0
push dword [edi + 4]
push dword [edi]
call fcn.0040240e
add esp, 0xc
test eax, eax
jne 0x401b4a
push 0xc
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [ebp - 0x10], 0x422e28f6
mov dword [ebp - 0xc], 0x440762a0
mov dword [ebp - 8], 0x3f443958
call fcn.0040281b
add esp, 4
mov edi, eax
lea eax, [ebp - 0x10]
push 0xc
push eax
push edi
lea esi, [edi + 0xc]
call fcn.00403710
add esp, 0xc
mov ebx, edi
cmp edi, esi
je 0x401aea
movss xmm0, dword [ebx]
sub esp, 8
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x41b64c
call fcn.00401030
add ebx, 4
add esp, 0xc
cmp ebx, esi
jne 0x401ac3
test edi, edi
je 0x401b17
sub esi, edi
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x401b0d
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x401b2a
mov edi, ecx
push esi
push edi
call fcn.0040284b
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040280d
mov esp, ebp
pop ebp
ret
call fcn.004077f7
push 6
mov dword [esi], 0
call fcn.004021b0
push 1
call fcn.004021b0
push 5
call fcn.004021b0
push 2
call fcn.004021b0
int3
Function at 0x402dd0
Capabilities:
Parse pe header

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

Function at 0x40915b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417384
push 0x41737c
push str.FlsAlloc
push 0x1e
call fcn.00408fdc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40918f
push dword [ebp + 8]
mov ecx, esi
call dword [0x415134]
call esi
jmp 0x409195
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4091d9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417394
push 0x41738c
push str.FlsGetValue
push 0x20
call fcn.00408fdc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409210
push dword [ebp + 8]
mov ecx, esi
call dword [0x415134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40cd22
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40cdbf
push ebx
push esi
call fcn.0040cceb
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040cc34
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40cd6c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40cdbe
push edi
push eax
call fcn.0040a015
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40cd8c
call fcn.00408e6f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40cdbd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040cc34
add esp, 0x20
test eax, eax
jne 0x40cdab
push edi
call fcn.00408e6f
jmp 0x40cdb3
push ebx
call fcn.00408e6f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x414670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41469d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41469d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401210
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0xcc
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xe0
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x64
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0xd2
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xbe
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x9f
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0x19
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x92
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xd7
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0x82
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x6f
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x52
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xc0
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0xbe
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0xa4
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xa5
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xa1
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x58
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x36
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0x57
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xba
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xf4
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x58
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xe6
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x13
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xbc
push 0
push 0
push 0
call edi
xor byte [esi + section..bSs], 0x8f
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0xde
push 0
push 0
push 0
call edi
add byte [esi + section..bSs], 0x23
inc esi
cmp esi, 0x36e00
jb 0x401220
pop edi
pop esi
ret
Function at 0x40295d
Capabilities:
Parse pe header

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

Function at 0x40760a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4126b0
push 0x4126a8
push str.FlsAlloc
push 0x1e
call fcn.004074cb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40763e
push dword [ebp + 8]
mov ecx, esi
call dword [0x410164]
call esi
jmp 0x407644
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407688
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4126c0
push 0x4126b8
push str.FlsGetValue
push 0x20
call fcn.004074cb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4076bf
push dword [ebp + 8]
mov ecx, esi
call dword [0x410164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4092ee
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40938b
push ebx
push esi
call fcn.004092b7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00409200
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x409338
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40938a
push edi
push eax
call fcn.00407e15
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x409358
call fcn.0040735e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409389
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00409200
add esp, 0x20
test eax, eax
jne 0x409377
push edi
call fcn.0040735e
jmp 0x40937f
push ebx
call fcn.0040735e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40eb70
Capabilities:
Parse pe header

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