joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4178d2
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
jnp 0x4178e7
mov edi, 0x1e5f9b75
pop edi
push ds
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb fcn.0041789c
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x9ba71a73
adc ah, byte [edi + 0x5f9b8133]
push ds
cmpsd dword [esi], dword es:[edi]
jnp 0x41791b
mov edi, 0x1e5f9b75
wait
pop edi
push ds
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x4178d0
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x93a71a63
adc al, cl
jns 0x4178ca
pop edi
push ds
cmpsd dword [esi], dword es:[edi]
jnp 0x41794e
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x417903
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a6b
adc cl, byte [ecx - 0x58e1a06b]
sub edi, dword [ebp - 0x65]
pop edi
push ds
cmpsd dword [esi], dword es:[edi]
jnp 0x417986
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x41793b
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a73
adc bh, byte [ebp - 0x6b]
pop edi
push ds
cmpsd dword [esi], dword es:[edi]
xor ecx, dword [ebp - 0x58e1a065]
jnp 0x4179be
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x417973
push ss
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a63
adc dh, byte [ecx - 0x6b]
pop edi
push ds
rcl dword [ecx - 0x58e1a065], 0x7b
cmpsd dword [esi], dword es:[edi]
jnp 0x4179f5
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x4179aa
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a6b
adc ah, byte [ebp - 0x6b]
pop edi
push ds
cmpsd dword [esi], dword es:[edi]
sub edx, dword [ebp - 0x58e1a065]
jnp 0x417a2d
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x4179e2
pushal
adc ch, byte [esi + 0x1d]
Function at 0x417a3f
Capabilities:
Encode data using xor

Disassembly:
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a73
adc dl, byte [ebp - 0x6b]
xchg ebp, eax
pop edi
push ds
cmpsd dword [esi], dword es:[edi]
xor ebx, dword [ecx - 0x58e1a065]
jnp 0x417a65
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x417a1a
push ss
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a63
adc al, byte [ecx - 0x6b]
pop edi
push ds
rcr dword [ebp - 0x58e1a065], 0x7b
sbb bh, byte [edi + 0x1e5f9b75]
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x417a51
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a6b
adc ch, byte [ecx]
xchg ebp, eax
pop edi
push ds
cmpsd dword [esi], dword es:[edi]
sub eax, dword [ebp - 0x58e1a065]
jnp 0x417ad4
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x417a89
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0x63e51a73
adc dl, byte [0xa71e5f94]
xor esp, dword [ecx - 0x58e1a065]
jnp 0x417b0c
mov edi, 0x1e5f9b75
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x417ac1
push ss
push ds
xchg ebx, eax
sub al, 0x1d
xchg ebx, eax
push cs
sbb eax, 0x60be7233
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
adc ch, byte [esi + 0x1d]
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
sbb ch, byte [ecx + 0x63e51a63]
adc cl, byte [ecx]
xchg esp, eax
pop edi
push ds
shr dword [ecx - 0x58e1a065], 0x7b
sbb bh, byte [edi + 0x1e5f9b75]
mov eax, dword [0x2c931e16]
sbb eax, 0x331d0e93
jb 0x417af8
pushal
push ds
sal dword [ebp - 0x65], 0x5f
push ds
sbb eax, 0x1d6e1293
xor esi, dword [esi - 0x42]
pushal
push ds
cmpsd dword [esi], dword es:[edi]
arpl word [edx], bx
test eax, 0xb3ab1a6b
pop edx
sbb al, 0x1d
sbb eax, 0x1e1f4a86
push ds
jo 0x417b05
sub esp, dword [ebp + 0x1d1e5f9b]
xor esp, dword [ecx - 0x54e1a065]
mov dword [0x1d1d1746], eax
xchg byte [esi], al
and dword [esi], ebx
push ds
outsb dx, byte [esi]
jno fcn.00417b94
xor eax, dword [ebp - 0x57e1a065]
stosd dword es:[edi], eax
pop edx
sbb al, 0x1d
sbb eax, 0x1b2eb3ab
sbb eax, 0xa670711d
stosd dword es:[edi], eax
sbb ebx, dword cs:[0xa9331d1d]
wait
Function at 0x401000
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp + 0x10]
jge 0x401191
mov eax, dword [ebp - 0x10]
push 3
pop edx
cmp eax, edx
mov dword [ebp - 0xc], edx
jge 0x401032
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov eax, 0x3d3d3d3d
lea edi, [ebp - 4]
stosw word es:[edi], ax
test ecx, ecx
stosb byte es:[edi], al
jle 0x401059
mov eax, dword [ebp + 8]
lea edi, [ebp - 4]
add esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, edx
rep movsb byte es:[edi], byte [esi]
mov cl, byte [ebp - 4]
mov al, cl
shr al, 2
test ebx, ebx
mov byte [ebp - 1], al
je 0x40108e
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x401096
mov eax, ebx
mov esi, dword [ebp + 0xc]
sub eax, dword [ebp - 8]
cdq
idiv edi
test edx, edx
jne 0x401099
mov byte [ebx + esi], 0xd
inc ebx
mov byte [ebx + esi], 0xa
inc ebx
add dword [ebp - 8], 2
jmp 0x401099
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
jmp 0x401099
mov esi, dword [ebp + 0xc]
movzx eax, byte [ebp - 1]
mov edx, dword [str.MKIGECA___YWUSQomkigeca]
and cl, 3
shl cl, 4
mov al, byte [eax + edx]
mov byte [ebx + esi], al
mov al, byte [ebp - 3]
mov dl, al
inc ebx
shr dl, 4
add cl, dl
test ebx, ebx
je 0x4010df
test edi, edi
jle 0x4010df
mov eax, ebx
sub eax, dword [ebp - 8]
cdq
idiv edi
test edx, edx
jne 0x4010dc
mov byte [ebx + esi], 0xd
inc ebx
mov byte [ebx + esi], 0xa
inc ebx
add dword [ebp - 8], 2
mov al, byte [ebp - 3]
mov edx, dword [str.MKIGECA___YWUSQomkigeca]
and al, 0xf
movzx ecx, cl
shl al, 2
mov cl, byte [ecx + edx]
mov byte [ebx + esi], cl
mov cl, byte [ebp - 2]
mov dl, cl
inc ebx
shr dl, 6
add al, dl
test ebx, ebx
mov byte [ebp - 1], al
je 0x401123
test edi, edi
jle 0x401123
mov eax, ebx
sub eax, dword [ebp - 8]
cdq
idiv edi
test edx, edx
jne 0x401123
mov byte [ebx + esi], 0xd
inc ebx
mov byte [ebx + esi], 0xa
inc ebx
add dword [ebp - 8], 2
movzx eax, byte [ebp - 1]
mov edx, dword [str.MKIGECA___YWUSQomkigeca]
mov al, byte [eax + edx]
mov byte [ebx + esi], al
inc ebx
cmp dword [ebp - 0xc], 2
jg 0x40113f
mov byte [ebx + esi - 1], 0x3d
and cl, 0x3f
test ebx, ebx
je 0x401164
test edi, edi
jle 0x401164
mov eax, ebx
sub eax, dword [ebp - 8]
cdq
idiv edi
test edx, edx
jne 0x401164
mov byte [ebx + esi], 0xd
inc ebx
mov byte [ebx + esi], 0xa
inc ebx
add dword [ebp - 8], 2
movzx eax, cl
mov ecx, dword [str.MKIGECA___YWUSQomkigeca]
mov al, byte [eax + ecx]
mov byte [ebx + esi], al
inc ebx
cmp dword [ebp - 0xc], 1
jg 0x40117f
mov byte [ebx + esi - 1], 0x3d
mov esi, dword [ebp - 0x14]
add esi, 3
sub dword [ebp - 0x10], 3
mov dword [ebp - 0x14], esi
jmp 0x401019
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x401198
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 4
push 0x40f244
call fcn.00403434
pop ecx
pop ecx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x401282
push ebx
push esi
push edi
mov ebx, str.qMco
push eax
push ebx
call fcn.00403464
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
lea eax, [ebp - 0x110]
push 0x104
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x401276
lea eax, [ebp - 0x110]
push eax
call fcn.0040c3e8
xor edi, edi
pop ecx
cmp dword [ebp - 0xc], edi
jle 0x40126e
push edi
push ebx
call fcn.00403434
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00403b7d
add esp, 0x10
test eax, eax
je 0x401268
push 0x40fb6f
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401268
push 2
push 0x40fc6f
call fcn.00403434
pop ecx
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401261
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp - 4]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x40120f
inc dword [ebp - 8]
jmp 0x4011df
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401284
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
lea eax, [ebp + 0xc]
push esi
and dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
mov esi, 0x400
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4012b8
xor eax, eax
jmp 0x4013a4
push ebx
push edi
mov edi, str.qMco
push 0
push edi
call fcn.00403464
pop ecx
mov dword [ebp + 8], eax
pop ecx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xc], esi
push eax
mov dword [ebp - 8], esi
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x401397
cmp dword [ebp - 0x10], 1
je 0x40130f
and byte [ebp - 0x814], al
lea eax, [ebp - 0x414]
push eax
call fcn.0040c3e8
lea eax, [ebp - 0x814]
push eax
call fcn.0040c3e8
cmp dword [ebp + 8], 0
pop ecx
pop ecx
jle 0x40138f
push ebx
push edi
call fcn.00403434
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00403b7d
add esp, 0x10
test eax, eax
jne 0x401379
push dword [ebp - 0x14]
lea eax, [ebp - 0x814]
push eax
call fcn.00403b7d
pop ecx
test eax, eax
pop ecx
jne 0x401379
lea eax, [ebp - 0x414]
push str.____
push eax
call fcn.00407280
pop ecx
test eax, eax
pop ecx
jne 0x401389
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x40132f
inc dword [ebp - 4]
jmp 0x4012cc
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop ebx
pop esi
leave
ret 8
Function at 0x4058b1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push esi
lea ecx, [ebp - 0x18]
call fcn.0040174b
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0040174e
mov esi, eax
test esi, esi
je 0x405967
lea eax, [ebp - 0x324]
push 0
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp + 8]
call fcn.004074db
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407380
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00407380
lea eax, [ebp - 0x11c]
push 0x40f1d8
push eax
call fcn.00407380
lea eax, [ebp - 0x11c]
push 0x40f1dc
push eax
call fcn.00407380
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push esi
call fcn.00407196
mov esi, eax
add esp, 0x40
test esi, esi
lea ecx, [ebp - 0x18]
jne 0x40596b
call fcn.00401808
xor eax, eax
jmp 0x4059bf
call fcn.00401808
push dword [ebp - 4]
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.00403cbb
push esi
call fcn.0040780b
add esp, 0x10
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004046b3
pop ecx
test eax, eax
pop ecx
je 0x4059bd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x11c]
push eax
call fcn.00403dfa
pop ecx
push 1
pop esi
mov eax, esi
pop esi
leave
ret

Function at 0x405e9a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
and byte [ebp - 0x10c], 0
push ebx
lea eax, [ebp - 0x10c]
push 0x104
push eax
push 1
push str.Q_Im
call fcn.00403434
pop ecx
pop ecx
push eax
push 0x40f244
push closesocket
call fcn.004044c0
lea eax, [ebp - 0x10c]
push eax
call fcn.00405c5a
movsx eax, byte [ebp - 0x10c]
mov bl, byte [ebp - 0x10a]
push eax
call fcn.004076ee
add esp, 0x1c
and dword [ebp - 8], 0
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
add al, 0x61
cmp al, byte [ebp - 1]
je 0x405f44
and byte [ebp - 0x10a], 0
mov byte [ebp - 0x10c], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
mov byte [ebp - 0x10a], bl
jne 0x405f44
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x405e42
push eax
call fcn.00403e11
add esp, 0xc
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1a
jl 0x405efe
xor eax, eax
pop ebx
leave
ret 4
Function at 0x406f1c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push edi
push 0x4015ff
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x406083
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x406801
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x405dfa
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x406dfb
push edi
push edi
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x4069f1
push edi
push edi
call esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0x4069a4
push edi
push edi
call esi
inc ebx
cmp ebx, 0x1a
jl 0x406f87
call fcn.00406d75
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40700c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.004053ac
test eax, eax
je 0x407081
call fcn.00406820
cmp byte [str.wMkI__cQi], 0
je 0x40704a
push str.wMkI__cQi
call fcn.004058b1
test eax, eax
pop ecx
jne 0x407081
cmp dword [0x491e90], 0
je 0x407073
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x491974
push eax
mov dword [ebp - 0xc], 0x406fed
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
call fcn.00404afc
test eax, eax
je 0x407081
call fcn.00406f1c
xor eax, eax
leave
ret 0x10
Function at 0x404cd3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404d12
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404d12
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404d12
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404d12
cmp dword [ecx + 0x74], 0xe
jbe 0x404d12
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a92d
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 0x40a9ca
push ebx
push esi
call fcn.0040a8f6
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.0040a83f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a977
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a9c9
push edi
push eax
call fcn.0040930c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40a997
call fcn.00409467
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a9c8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a83f
add esp, 0x20
test eax, eax
jne 0x40a9b6
push edi
call fcn.00409467
jmp 0x40a9be
push ebx
call fcn.00409467
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 0x40bb91
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x414630
push 0x414628
push str.FlsAlloc
push 0x1e
call fcn.0040ba52
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bbc5
push dword [ebp + 8]
mov ecx, esi
call dword [0x412140]
call esi
jmp 0x40bbcb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40bc0f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x414640
push 0x414638
push str.FlsGetValue
push 0x20
call fcn.0040ba52
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bc46
push dword [ebp + 8]
mov ecx, esi
call dword [0x412140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x411030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41105d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41105d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10037070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec ebp
pop ebx
stosb byte es:[edi], al
lea eax, [ebp - 0x58]
push eax
call fcn.10036ddb
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10036d90
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100370b9
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10036dcb
cmp dword [esi + 0x458d7eab], eax
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x100374c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100374a2
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp fcn.100374c0
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1003751e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10037505
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1003750e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10037518
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100374fa
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10037484
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1003756b
dec eax
je 0x10037562
sub eax, 3
je 0x10037559
mov dword [ebp - 4], 0x40
jmp 0x10037588
mov dword [ebp - 4], 4
jmp 0x1003756e
mov dword [ebp - 4], 0x20
jmp 0x1003756e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100375ba
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1003753a
push dword [esi - 0x60]
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10036dcb
nop
jl 0x10037597
mov byte [0x6a1475ff], al
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x100375c6
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100379f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.10036ddb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10036d90
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.10036dcb
jge 0x10037a2a
idiv dl
invalid
lea eax, [esi + 0x10468]
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x10037a94
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10037abf
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
invalid
invalid
cmp dword [ebp - 0x398], 0
je 0x10037c89
cmp dword [ebp + 0xc], 1
je 0x10037c89
invalid

Function at 0x10037cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
invalid
invalid
pushfd
cld