joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba520
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
push 0x60000
push 4
push edi
push dword [esi]
call ebx
test eax, eax
je 0x4ba5be
lea eax, [ebp - 0x230]
push eax
push 0x60000
push 0
push edi
push dword [esi]
call ebx
test eax, eax
je 0x4ba5be
xor al, al
jmp 0x4ba695
mov edi, dword [ebp - 0x230]
xor eax, eax
push 2
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x224]
push 8
push eax
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push 0
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x20000004
push 4
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004bf240
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
nop
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x4ba686
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x230]
inc esi
push eax
call fcn.004ba520
add esp, 8
jmp 0x4ba640
mov bl, 1
test edi, edi
je 0x4ba693
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4d93e7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004c8e38
mov dword [ebp - 0x14], eax
cmp dword [0x55c568], esi
jne 0x4d94da
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4d9467
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4d95ba
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4d95ba
push 0x507dec
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4d95ba
push eax
call ebx
push 0x507df8
push edi
mov dword [0x55c568], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x55c56c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x55c570], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x55c578], eax
test eax, eax
je 0x4d94d7
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x55c574], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4d94ff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d94f2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4d9514
push 4
pop eax
jmp 0x4d95bc
cmp dword [ebp - 0x14], esi
je 0x4d9514
push dword [0x55c568]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4d94f9
mov eax, dword [0x55c574]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4d9572
cmp dword [0x55c578], edi
je 0x4d9572
push eax
call ebx
push dword [0x55c578]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4d9572
test eax, eax
je 0x4d9572
call ecx
test eax, eax
je 0x4d9567
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4d9567
test byte [ebp - 8], 1
jne 0x4d9572
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4d95a2
mov eax, dword [0x55c56c]
cmp eax, edi
je 0x4d959f
push eax
call ebx
test eax, eax
je 0x4d959f
call eax
mov esi, eax
test esi, esi
je 0x4d959f
mov eax, dword [0x55c570]
cmp eax, edi
je 0x4d959f
push eax
call ebx
test eax, eax
je 0x4d959f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x55c568]
call ebx
test eax, eax
je 0x4d95ba
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4d95bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4e9672
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0x1505
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x38]
add ebx, ecx
cmp esi, 0x102
jae 0x4e976c
test esi, esi
je 0x4e976c
xor edx, edx
mov dword [ebp - 4], edx
test esi, esi
je 0x4e96c0
mov edi, edx
movzx ecx, byte [edi + ebx]
imul eax, eax, 0x21
add eax, ecx
inc edi
cmp edi, esi
jb 0x4e96ac
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
and eax, 0xff
mov ebx, dword [edi + eax*4 + 0x60]
mov dword [edi + eax*4 + 0x60], ecx
mov dword [edi + 0x474], edx
test ebx, ebx
je 0x4e976c
sub ecx, ebx
cmp ecx, esi
jbe 0x4e976c
mov eax, dword [edi + 0x2c]
sub eax, 0x106
cmp ecx, eax
jae 0x4e976c
cmp esi, dword [edi + 0x478]
ja 0x4e976c
test esi, esi
je 0x4e9745
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov eax, dword [edi + 0x38]
add eax, ecx
sub edx, ecx
mov dword [ebp + 8], edx
mov edx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, byte [esi + ecx]
mov esi, dword [ebp + 0x10]
jne 0x4e976c
lea eax, [ebx + edx]
push eax
push edi
call fcn.004e95a0
pop ecx
pop ecx
cmp eax, 1
jne 0x4e976c
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
inc edx
inc eax
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], eax
cmp edx, esi
jb 0x4e9712
mov eax, dword [edi + 0x38]
lea ecx, [ebx + esi]
cmp byte [ecx + eax - 1], 0x3b
je 0x4e9762
lea eax, [ebx + esi]
push eax
push edi
call fcn.004e95a0
pop ecx
pop ecx
test eax, eax
jne 0x4e976c
mov dword [edi + 0x474], ebx
mov eax, esi
jmp 0x4e976e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ea2fe
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4ea30b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004ea311
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40611c
pop dword [ebp - 0x4c]
mov eax, 0x40611c
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xc76f2bd9
add dword [ebp - 0x5c], 0x86e31972
mov dword [ebp - 0x58], 0x2043e750
sub dword [ebp - 0x58], 0xee109b0b
mov dword [ebp - 0x54], 0x1fd32ee
add dword [ebp - 0x54], 0x4a4f1140
mov dword [ebp - 0x50], 0x2dd329ef
sub dword [ebp - 0x50], 0x2dd329ef
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xc5e283f5
sub eax, 0xc5a21395
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xbcf4494a
add dword [ebp - 0x5c], 0xb77e200c
mov dword [ebp - 0x58], 0xcb464f3b
add dword [ebp - 0x58], 0x7626123a
mov dword [ebp - 0x54], 0x914541ac
sub dword [ebp - 0x54], 0x2dd5d540
mov dword [ebp - 0x50], 0x8b8ba431
add dword [ebp - 0x50], 0x74745bcf
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x553df20c
add eax, 0xab027ef4
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x385ef
push 0
call eax
mov ecx, 0x4f0d
xor ebx, ebx
add ebx, eax
mov edx, 0x410000
add edx, dword [ebp - 0x4c]
mov edi, 0xe1e61480
sub edi, 0xce56845c
xor dword [ebp - 0x38], 0xaa92c072
mov esi, dword [edx]
add dword [ebp - 0x3c], 0xbb69c9e6
sub esi, edi
add dword [ebp - 0x40], 0xc64f14cc
mov dword [ebx], esi
sub dword [ebp - 0x20], edi
add ebx, 0x46f4613b
add ebx, 0xb90b9ec9
add edx, 0xb2098ece
add edx, 0x4df67136
loop 0x40622f
add eax, 0x12e212db
add eax, 0xed1f1c2c
xor ebx, ebx
add ebx, eax
add eax, 0x8971a15a
add eax, 0x768e5eab
mov ecx, 0xf32ed9fd
add ecx, 0xd112603
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x4c5967
Capabilities:
Encode data using xor

Disassembly:
call fcn.004d8d8f
add byte [eax], al
inc edi
je 0x4c59b5
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x4c59e5
insb byte es:[edi], dx
inc ebx
push eax
add byte [eax], al
add byte [edi + ebp*2 + 0x63], cl
imul edx, dword [edx + 0x65], 0x73
outsd dx, dword [esi]
jne 0x4c59f9
arpl word [ebp], sp
stosb byte es:[edi], al
pushfd
push eax
push edi
pushfd
lea esp, [esp + 0x10]
jmp fcn.004d6215
div byte [esi]
cld
jmp dword [eax + 0x66]
mov byte [0xf0ff4558], al
std
invalid
jnp 0x4c5a3a
mov eax, 0x45de2c37
mov esi, 0x73e66fad
je 0x4c5a47
inc ebx
movlps xmm3, qword [eax + 0x5d]
insb byte es:[edi], dx
sub byte [0x9e71f234], ah
and eax, 0x9e71f234
popfd
add bh, bh
div ch
out 0x75, al
pop ds
insb byte es:[edi], dx
in al, dx
inc ebx
aas
dec edx
inc edi
loopne 0x4c5a0e
jecxz 0x4c5a5e
cmp byte [eax], al
dec ebp
dec esi
fucom st(2)
sub byte [0xa68b7471], ch
xchg edi, eax
mov al, 0xa2
xchg ebx, eax
sub bl, byte [edi + 0x551739a2]
pop ss
push ebp
inc ecx
cmp bl, byte [ecx]
int 0xf1
jns 0x4c5a9d
mov esi, 0x3b7f579e
pop es
cmp eax, dword [edi]
int 0x28
sbb eax, 0x85c1c804
jle 0x4c5a5f
cmc
fsub st(3), st(0)
cmpsd dword [esi], dword es:[edi]
mov word [ecx - 0x62], fs
popfd
xor al, 0x4e
inc ecx
and byte [ebx], cl
or edi, dword [ebx - 0x79904e5e]
mov ebx, 0x866fb1a2
push edx
invalid
lahf
mov byte [0xfef8696a], al
jmp 0xb0a33c20

Function at 0x4c5cc3
Capabilities:
Encode data using xor

Disassembly:
add al, 0xac
push ebp
ror bp, cl
daa
aad 0xca
cwde
mov ebp, esp
daa
jmp 0x4c50ff

Function at 0x4c6853
Capabilities:
Encode data using xor

Disassembly:
xor bl, 0xb2
xor al, 0x13
cmc
stc
ror al, 2
push dword [esp]
call fcn.0047fe8d
lea esp, [esp + 0x24]
je 0x47fc4f
stc
mov bh, ch
add dword [ebp - 4], ecx
movsx di, al
sal bl, 3
push 0xef5b6c39
inc bx
sub ecx, 8
cmp cx, cx
shr ecx, 1
btc bx, di
mov edi, dword [esi]
sal bx, cl
add edi, dword [ebp + 0x10]
shl bx, 0xc
jecxz 0x4c6896
push esi
add esi, 8
shr bh, cl
or dl, dl
out dx, eax
mov bx, word [esi]
pushal
shr ebx, 0xc
cmp al, bh
or al, 0x38
clc
cmp ebx, 1
call fcn.00488430
bound esi, qword [edx - 0x45]
push es
xor dword [edx - 0x7a], ebx
pushfd
sbb ebx, dword [edi]
sbb al, 0x99
movsd dword es:[edi], dword [esi]
loop 0x4c688d
inc esi
jge 0x4c6888
popfd
add bh, byte [ebp - 0x69]
jg 0x4c692b
cdq
adc byte [ebx], bl
xchg edx, eax
inc ecx
bound ax, dword [ecx + ebx*4 - 5]
lea eax, [esi - 0x63]
cmp byte [edx + 0x19], al
xor al, 0x2e
test eax, 0x2a1b12a4
and eax, 0xadaeaeaa
stosd dword es:[edi], eax
fisubr word [esi + edi*4 + 0x24ba922b]
out dx, al
sub eax, 0xa7facaaf
mov dl, 0x56
test eax, 0x23ba3c1f
mov ah, 0x9c
stosd dword es:[edi], eax
stosb byte es:[edi], al
sub al, 0xaf
or ebx, dword [ebx + 0x380c19d9]
cmp al, 0x24
inc ebx
lahf
dec eax
or bh, byte [edi + 0x1c32e27a]
add dword [ebx - 0x3746994c], 0x17cea1e
test byte [ebp*2 - 0x236972e2], dh
enter 0xffffffffffff8de5, 0xffffffffffffffb4
or al, 0xf5
insd dword es:[edi], dx
retf 0x16ce
mov ch, 0x2e
sbb dword ds:[ebx + eax + 0x3a], ecx
add ch, byte [esi + eax]
pop edi
pop ds
lahf
invalid
Function at 0x1000d860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000d86f
pop dword [ebp - 0x14]
mov eax, 0x1000d86f
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3d26a
push 0
mov eax, 0x8ebf3bfd
sub eax, 0x7ebe3bb9
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x967d4b17
add ecx, 0x69831535
xor esi, esi
add esi, eax
mov edi, 0xe2339384
add edi, 0x2dce047c
add edi, dword [ebp - 0x14]
mov edx, 0x7d301953
add edx, 0xa6573183
sub dword [ebp - 0xc], 0x68948b6d
mov ebx, dword [edi]
add dword [ebp - 4], 0xc49b6d3c
sub ebx, edx
xor dword [ebp - 0x10], edi
mov dword [esi], ebx
xor dword [ebp - 0x10], edi
add esi, 4
add edi, 4
loop 0x1000d8cb
add eax, 0x17403
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x9bbc4558
sub ecx, 0x8bbc4558
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x403a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xffffff8a
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xc]
test eax, eax
pop ss
and cl, byte [ebx + 0x1108247a]
add byte [ebp - 0x5ee78240], al
mov ah, 0xe4
inc ecx
add byte [esi - 0x40], cl
stc
test byte [ecx + eax - 7], ch
add byte [eax - 0x5d], cl
mov ah, 0xa8
inc ecx
add dh, bh
popal
add dword [eax], eax
add byte [ebx + 0x4102b43d], al
add byte [ebx - 0x1474f5bf], ah
adc byte [ebx + 0x41028c], ah
jmp 0x403afb
mov eax, dword [0x413cac]
mov edx, eax
leave
rol byte [eax + 0x31], 1
xor byte [esi + 0x1178d0f], dl
add dl, ch
cmp al, 0x41
add byte [ebx + 0x40d0c9d0], cl
xor dword [eax], esi
xchg esi, eax
jge 0xea403c25
mov edx, dword [0x41f7c8]
mov edi, eax
shl edi, 0xbb
add edi, edx
inc eax
mov dword [0x7e02ac], eax
ja 0x403afd
add byte cs:[eax], al
mov dword [0x410ba0], eax
mov dword [0x41119fa4], edx
mov dword [edx], edx
push eax
or byte [eax], al
add byte [ebx + 0x5d0ba415], cl
add byte [ebx + 0x83086], cl
add byte [ecx + 0x854cc], cl
add byte [ecx + 0x34a48b07], cl
or byte [eax], al
add cl, ah
dec edi
out dx, al
mov ecx, dword [esi + 0x838]
mov esp, dword [eax + esi + 8]
add byte [eax], al
mov edx, dword [esi + 0xca0834]
sub ecx, eax
mov eax, dword [esi - 0x79fff7c4]
xchg esi, eax
ret 0xc085

Function at 0x4079e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor edi, edi
mov esi, dword [edx + 0x28]
jmp 0x407975
movzx ecx, word [edx + 0x26]
xor eax, eax
nop
jmp 0x40798a
lodsb al, byte [esi]
cmp al, 0x61
jmp 0x40799a
jl 0x4079ae
nop
jmp 0x4079ac
sub al, 0x20
nop
jmp 0x4079bc
ror edi, 0xd
nop
jmp 0x4079ce
add edi, eax
jmp 0x4079de
dec ecx
nop
jne 0x407979
push edx
nop
mov edx, dword [edx + 0x10]
push edi
nop
jmp 0x4079fb
mov eax, dword [edx + 0x3c]
add eax, edx
jmp 0x407a0e
mov eax, dword [eax + 0x78]
test eax, eax
nop
jmp 0x407a25
je 0x407c0d
nop
nop
add eax, edx
mov ecx, dword [eax + 0x18]
push eax
nop
jmp 0x407a3f
mov ebx, dword [eax + 0x20]
jmp 0x407a4f
add ebx, edx
jmp 0x407a5f
nop
jmp 0x407a6c
test ecx, ecx
nop
jmp 0x407a7d
je 0x407bf9
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
nop
jmp 0x407a9b
add esi, edx
nop
jmp 0x407aab
xor eax, eax
jmp 0x407abe
ror edi, 0xd
jmp 0x407ace
lodsb al, byte [esi]
jmp 0x407ada
add edi, eax
nop
cmp al, ah
jmp 0x407aed
jne 0x407a9d
nop
jmp 0x407b01
nop
jmp 0x407b0f
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
nop
jmp 0x407b20
jne 0x407a5f
nop
jmp 0x407b32
pop eax
jmp 0x407b46
mov ebx, dword [eax + 0x24]
jmp 0x407b5c
add ebx, edx
jmp 0x407b6e
mov cx, word [ebx + ecx*2]
jmp 0x407b85
mov ebx, dword [eax + 0x1c]
jmp 0x407b97
add ebx, edx
nop
jmp 0x407ba8
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
nop
pop ebx
jmp 0x407bc1
pop ebx
jmp 0x407bd1
popal
nop
pop ecx
nop
pop edx
jmp 0x407be3
push ecx
nop
jmp eax
jmp 0x407c0c
pop eax
nop
pop edi
nop
pop edx
nop
jmp 0x407c25
mov edx, dword [edx]
nop
jmp 0x407960
Function at 0x407f2b
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xa2a1de0
push 0x9dbd95a6
call ebp
cmp al, 6
jl 0x407f45
cmp bl, 0xe0
jne 0x407f45
mov ebx, 0x6f721347
push 0
push ebx
call ebp
in al, dx
fcomp qword [0x40c27b]
add esp, 0xffffffc7
fnstsw ax
test ah, 0x21
sbb esi, dword [edx - 0x15]
arpl word [eax + 0x3b], dx
pop ss
jbe 0x407fba
adc al, byte [ebp - 0x14]
in al, dx
fdiv st(0), st(0)
xor dl, al
inc eax
add bh, bl
loopne 0x407f64
ja 0x407fb4
jnp 0x407fba
fisttp qword [eax]
in al, dx
fsubr qword [edx + 0x40c310]
invalid
dec edx
mov dword [ebp - 4], ecx
Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4116ef
pop dword [ebp - 0x48]
mov eax, 0x20e2d78a
add eax, 0xdf5e3f65
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3e146
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x2e613571
add ecx, 0xd19f13a4
xor edx, edx
add edx, eax
mov edi, 0x435400
add edi, dword [ebp - 0x48]
mov esi, 0x9cbc9ab0
xor dword [ebp - 0x3c], 0x1b7870b5
mov ebx, dword [edi]
sub dword [ebp - 0x2c], edi
xor ebx, esi
sub dword [ebp - 0x14], edi
mov dword [edx], ebx
xor dword [ebp - 0x28], ecx
add edx, 0x769591ee
sub edx, 0x769591ea
add edi, 0x6cc6fe90
add edi, 0x93390174
loop 0x41173f
add eax, 0xc955c445
sub eax, 0xc954ad1e
xor ebx, ebx
add ebx, eax
add eax, 0xc8ea19ae
add eax, 0x3715e657
mov ecx, 0xfa07741a
add ecx, 0x6388be6
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4014f4
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x40151d
xor edi, edi
inc edi
cmp dword [ebp - 4], edi
jge 0x401afc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
leave
ret
push 0x401b38
push dword [esi]
call dword [sym.imp.MSVCR110.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x401b29
push 0x401b60
push dword [esi]
call dword [sym.imp.MSVCR110.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40151d
push 2
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x401526
Function at 0x404158
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], edx
mov edi, ecx
cmp dword [0x4088a0], esi
jne 0x4041a7
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x404196
push 0x404200
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x404210
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4088a4], eax
jmp 0x40419b
mov eax, dword [0x4088a4]
mov dword [0x4088a0], 1
jmp 0x4041ac
mov eax, dword [0x4088a4]
test eax, eax
je 0x4041c0
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x4041f5
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
jne 0x4041e9
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4041db
push dword [edi + 0xc]
call dword [edi + 8]
jmp 0x4041e0
push dword [edi + 4]
call dword [edi]
test eax, eax
je 0x4041f5
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
pop edi
mov eax, esi
pop esi
leave
ret 4

Function at 0x4046da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404735
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404726
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x404722
cmp esi, ecx
jae 0x404726
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x404712
cmp esi, ecx
jb 0x40472a
xor eax, eax
jmp 0x404734
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4052b0
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
test ecx, ecx
je 0x4052cb
cmp ecx, 1
je 0x4052cb
mov eax, 0x80070057
jmp 0x405385
and dword [ebp - 8], 0
push esi
push edi
lea eax, [ebp - 8]
push eax
call fcn.00405092
mov edi, dword [ebp - 8]
and dword [ebp - 4], 0
mov esi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.DmxBici.dll_bool___stdcall_BiciWrapper::TransferExperienceToWeb_wchar_t_const___wchar_t___]
test al, al
je 0x405318
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [ebp - 4]
push 0x400
push edi
call dword [sym.imp.MSVCR110.dll_wcsncpy_s]
add esp, 0x10
mov ecx, 0x8000ffff
test eax, eax
cmovne esi, ecx
test esi, esi
js 0x40536d
push 0x3c
lea eax, [ebp - 0x44]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x100000
mov dword [ebp - 0x38], 0x402288
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40536d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test edi, edi
je 0x405378
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
mov eax, esi
pop esi
leave
ret 4

Function at 0x405389
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [edi]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push 0x4020c4
push dword [ecx]
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4053f7
cmp dword [ebp + 0x10], 1
je 0x4053cf
cmp dword [ebp + 0x10], 2
je 0x4053cf
push 0xd
pop eax
jmp 0x4053f7
mov ecx, dword [ebp - 4]
test esi, esi
je 0x4053f1
test ecx, ecx
je 0x4053ec
test cl, 1
jne 0x4053ca
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
jne 0x4053ca
jmp 0x4053f1
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x405559
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20219
xor edi, edi
push edi
push 0x402310
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4055a8
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x4055b0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20206
push 0
push 0x402310
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x405602
mov eax, dword [ebp + 0x10]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push 0x402388
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc

Function at 0x405d74
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
test esi, esi
jne 0x405d84
mov eax, 0x80004003
pop esi
ret
push esi
push 1
push 0x7e0201
call dword [sym.imp.DmxBici.dll_bool___stdcall_BiciWrapper::AddStringToDataPoint_unsigned_long_int__unsigned_long_int__wchar_t_const__]
push 1
xor eax, eax
push eax
push eax
push esi
push 0x402288
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
ret