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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x473a30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x479c40], esi
je 0x409808
call fcn.00408d78
push 0x74
lea eax, [ebp - 0x17c]
push esi
push eax
mov byte [ebp - 0x188], 0xf4
mov byte [ebp - 0x187], 0xf1
mov byte [ebp - 0x186], 0xf7
mov byte [ebp - 0x185], 0x94
mov byte [ebp - 0x184], 0xa6
mov byte [ebp - 0x183], 0xa1
mov byte [ebp - 0x182], 0xa2
mov byte [ebp - 0x181], 0xe9
mov byte [ebp - 0x180], 0xa2
mov byte [ebp - 0x17f], 0xbf
mov byte [ebp - 0x17e], 0xa2
mov byte [ebp - 0x17d], 0xc7
call fcn.0043ee90
add esp, 0xc
push 0x74
lea eax, [ebp - 0xfc]
push esi
push eax
mov byte [ebp - 0x108], 0xf4
mov byte [ebp - 0x107], 0xf1
mov byte [ebp - 0x106], 0xf7
mov byte [ebp - 0x105], 0x93
mov byte [ebp - 0x104], 0xb5
mov byte [ebp - 0x103], 0xa6
mov byte [ebp - 0x102], 0xbe
mov byte [ebp - 0x101], 0xe9
mov byte [ebp - 0x100], 0xa2
mov byte [ebp - 0xff], 0xbf
mov byte [ebp - 0xfe], 0xa2
mov byte [ebp - 0xfd], 0xc7
call fcn.0043ee90
add esp, 0xc
push 0x76
lea eax, [ebp - 0x7e]
push esi
push eax
mov byte [ebp - 0x88], 0xf4
mov byte [ebp - 0x87], 0xf1
mov byte [ebp - 0x86], 0xf7
mov byte [ebp - 0x85], 0xb4
mov byte [ebp - 0x84], 0xa3
mov byte [ebp - 0x83], 0xe9
mov byte [ebp - 0x82], 0xa2
mov byte [ebp - 0x81], 0xbf
mov byte [ebp - 0x80], 0xa2
mov byte [ebp - 0x7f], 0xc7
call fcn.0043ee90
add esp, 0xc
push 3
lea eax, [ebp - 0x188]
pop edx
xor byte [eax], 0xc7
mov ecx, eax
je 0x4097d9
inc ecx
xor byte [ecx], 0xc7
jne 0x4097d3
sub eax, 0xffffff80
dec edx
jne 0x4097cc
push 3
pop eax
lea ecx, [ebp - 0x188]
call fcn.0040e674
test eax, eax
jle 0x409801
push 0x7d0
call dword [0x459328]
call fcn.00408d78
push 0xcc
jmp 0x40981d
test byte [0x479c34], 1
je 0x409818
push 0xcb
jmp 0x40981d
push 0xca
call fcn.00408744
cmp eax, esi
je 0x409884
xor edi, edi
mov ebx, 0x474f38
mov dword [ebp - 0x1a8], esi
call fcn.0040813d
mov dword [ebp - 0x1a8], eax
cmp eax, esi
jbe 0x40986d
push esi
lea eax, [ebp - 0x1ac]
push eax
push 4
lea eax, [ebp - 0x1a4]
push eax
push 4
lea eax, [ebp - 0x1a8]
push eax
push 0x222500
push dword [0x4768b0]
call dword [0x459344]
sub ebx, 0xffffff80
cmp ebx, 0x4758b8
jl 0x40982d
cmp edi, esi
jle 0x409884
mov eax, edi
inc edi
cmp eax, 5
jl 0x409828
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c573
leave
ret
Function at 0x409a99
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ec
mov eax, dword [0x473a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x33], 0x88
mov byte [ebp - 0x32], 0x81
mov byte [ebp - 0x31], 0x93
mov byte [ebp - 0x30], 0x90
mov byte [ebp - 0x2f], 0x86
mov byte [ebp - 0x2e], 0x95
mov byte [ebp - 0x2d], 0x82
mov byte [ebp - 0x2c], 0x9b
mov byte [ebp - 0x2b], 0x8a
mov byte [ebp - 0x2a], 0xae
mov byte [ebp - 0x29], 0xa4
mov byte [ebp - 0x28], 0xb5
mov byte [ebp - 0x27], 0xa8
mov byte [ebp - 0x26], 0xb4
mov byte [ebp - 0x25], 0xa8
mov byte [ebp - 0x24], 0xa1
mov byte [ebp - 0x23], 0xb3
mov byte [ebp - 0x22], 0x9b
mov byte [ebp - 0x21], 0x90
mov byte [ebp - 0x20], 0xae
mov byte [ebp - 0x1f], 0xa9
mov byte [ebp - 0x1e], 0xa3
mov byte [ebp - 0x1d], 0xa8
mov byte [ebp - 0x1c], 0xb0
mov byte [ebp - 0x1b], 0xb4
mov byte [ebp - 0x1a], 0x9b
mov byte [ebp - 0x19], 0x84
mov byte [ebp - 0x18], 0xb2
mov byte [ebp - 0x17], 0xb5
mov byte [ebp - 0x16], 0xb5
mov byte [ebp - 0x15], 0xa2
mov byte [ebp - 0x14], 0xa9
mov byte [ebp - 0x13], 0xb3
mov byte [ebp - 0x12], 0x91
mov byte [ebp - 0x11], 0xa2
mov byte [ebp - 0x10], 0xb5
mov byte [ebp - 0xf], 0xb4
mov byte [ebp - 0xe], 0xae
mov byte [ebp - 0xd], 0xa8
mov byte [ebp - 0xc], 0xa9
mov byte [ebp - 0xb], 0x9b
mov byte [ebp - 0xa], 0x95
mov byte [ebp - 9], 0xb2
mov byte [ebp - 8], 0xa9
mov byte [ebp - 7], 0xc7
mov dword [ebp - 0x4ec], 0x258
lea eax, [ebp - 0x34]
mov byte [ebp - 0x34], 0x53
inc eax
xor byte [eax], 0xc7
jne 0x409b71
push ebx
push esi
push edi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x34]
push eax
lea edi, [ebp - 0x4ec]
call fcn.00408370
mov esi, 0x47a058
push esi
mov ebx, 0x479e50
call fcn.004099a3
add esp, 0xc
test eax, eax
jne 0x409bae
xor eax, eax
jmp 0x409c49
test byte [0x479c34], 8
jne 0x409c46
lea eax, [ebp - 0x4e8]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x4e4]
push eax
push 0x80000002
call dword [0x45902c]
test eax, eax
jne 0x409ba7
push 0x461cb0
push esi
lea eax, [ebp - 0x28c]
push 0x461f88
push eax
call dword [0x45950c]
lea eax, [ebp - 0x28c]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x409c03
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [ebp - 0x28c]
push eax
push 1
push 0
push 0x461fb4
push dword [ebp - 0x4e8]
call dword [0x459034]
push dword [ebp - 0x4e8]
mov esi, eax
call dword [0x459030]
test esi, esi
jne 0x409ba7
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c573
leave
ret
Function at 0x409d07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x473a30]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x3f], 0x88
mov byte [ebp - 0x3e], 0x81
mov byte [ebp - 0x3d], 0x93
mov byte [ebp - 0x3c], 0x90
mov byte [ebp - 0x3b], 0x86
mov byte [ebp - 0x3a], 0x95
mov byte [ebp - 0x39], 0x82
mov byte [ebp - 0x38], 0x9b
mov byte [ebp - 0x37], 0x8a
mov byte [ebp - 0x36], 0xae
mov byte [ebp - 0x35], 0xa4
mov byte [ebp - 0x34], 0xb5
mov byte [ebp - 0x33], 0xa8
mov byte [ebp - 0x32], 0xb4
mov byte [ebp - 0x31], 0xa8
mov byte [ebp - 0x30], 0xa1
mov byte [ebp - 0x2f], 0xb3
mov byte [ebp - 0x2e], 0x9b
mov byte [ebp - 0x2d], 0x90
mov byte [ebp - 0x2c], 0xae
mov byte [ebp - 0x2b], 0xa9
mov byte [ebp - 0x2a], 0xa3
mov byte [ebp - 0x29], 0xa8
mov byte [ebp - 0x28], 0xb0
mov byte [ebp - 0x27], 0xb4
mov byte [ebp - 0x26], 0x9b
mov byte [ebp - 0x25], 0x84
mov byte [ebp - 0x24], 0xb2
mov byte [ebp - 0x23], 0xb5
mov byte [ebp - 0x22], 0xb5
mov byte [ebp - 0x21], 0xa2
mov byte [ebp - 0x20], 0xa9
mov byte [ebp - 0x1f], 0xb3
mov byte [ebp - 0x1e], 0x91
mov byte [ebp - 0x1d], 0xa2
mov byte [ebp - 0x1c], 0xb5
mov byte [ebp - 0x1b], 0xb4
mov byte [ebp - 0x1a], 0xae
mov byte [ebp - 0x19], 0xa8
mov byte [ebp - 0x18], 0xa9
mov byte [ebp - 0x17], 0x9b
mov byte [ebp - 0x16], 0x97
mov byte [ebp - 0x15], 0xa8
mov byte [ebp - 0x14], 0xab
mov byte [ebp - 0x13], 0xae
mov byte [ebp - 0x12], 0xa4
mov byte [ebp - 0x11], 0xae
mov byte [ebp - 0x10], 0xa2
mov byte [ebp - 0xf], 0xb4
mov byte [ebp - 0xe], 0x9b
mov byte [ebp - 0xd], 0x94
mov byte [ebp - 0xc], 0xbe
mov byte [ebp - 0xb], 0xb4
mov byte [ebp - 0xa], 0xb3
mov byte [ebp - 9], 0xa2
mov byte [ebp - 8], 0xaa
mov byte [ebp - 7], 0xc7
lea eax, [ebp - 0x40]
mov byte [ebp - 0x40], 0x53
inc eax
xor byte [eax], 0xc7
jne 0x409e02
push ebx
push esi
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
xor ebx, ebx
push 0x80000002
mov dword [ebp - 0x44], ebx
call dword [0x459024]
mov esi, dword [0x459034]
push 4
pop edi
push edi
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
push 0x461fc4
push dword [ebp - 0x44]
mov dword [ebp - 0x48], ebx
call esi
test eax, eax
je 0x409e48
xor eax, eax
jmp 0x409e7e
push edi
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
push 0x461ffc
push dword [ebp - 0x44]
call esi
test eax, eax
jne 0x409e44
push edi
lea eax, [ebp - 0x48]
push eax
push edi
push ebx
push 0x462010
push dword [ebp - 0x44]
call esi
test eax, eax
jne 0x409e44
push dword [ebp - 0x44]
call dword [0x459030]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c573
leave
ret
Function at 0x40bbea
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x40bcf1
mov ecx, dword [ebp + 8]
test ecx, ecx
jl 0x40bcf1
test eax, eax
je 0x40bce3
mov dword [ebp - 8], ecx
test ecx, ecx
jle 0x40bcdd
push ebx
mov cl, byte [esi]
inc esi
cmp dword [ebp - 8], 3
jl 0x40bc7c
mov dl, byte [esi]
inc esi
mov bl, byte [esi]
mov byte [ebp - 1], bl
movzx ecx, cl
mov ebx, ecx
shr ebx, 2
mov bl, byte [ebx + 0x462518]
mov byte [eax], bl
movzx edx, dl
shl ecx, 4
mov ebx, edx
shr ebx, 4
or ebx, ecx
and ebx, 0x3f
mov cl, byte [ebx + 0x462518]
inc esi
inc eax
mov byte [eax], cl
movzx ecx, byte [ebp - 1]
mov ebx, ecx
shr ebx, 6
shl edx, 2
or ebx, edx
and ebx, 0x3f
mov dl, byte [ebx + 0x462518]
inc eax
mov byte [eax], dl
inc eax
and ecx, 0x3f
mov cl, byte [ecx + 0x462518]
mov byte [eax], cl
jmp 0x40bccd
cmp dword [ebp - 8], 2
jne 0x40bc87
mov dl, byte [esi]
inc esi
jmp 0x40bc89
xor dl, dl
movzx ecx, cl
mov ebx, ecx
shr ebx, 2
mov bl, byte [ebx + 0x462518]
mov byte [eax], bl
movzx edx, dl
shl ecx, 4
mov ebx, edx
shr ebx, 4
or ebx, ecx
and ebx, 0x3f
mov cl, byte [ebx + 0x462518]
inc eax
mov byte [eax], cl
inc eax
cmp dword [ebp - 8], 1
jne 0x40bcbd
mov dl, 0x3d
jmp 0x40bcc7
and edx, 0xf
mov dl, byte [edx*4 + 0x462518]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
sub dword [ebp - 8], 3
inc eax
cmp dword [ebp - 8], 0
jg 0x40bc19
pop ebx
mov ecx, dword [ebp + 8]
mov byte [eax], 0
lea eax, [ecx + 2]
cdq
push 3
pop ecx
idiv ecx
shl eax, 2
jmp 0x40bcf4
or eax, 0xffffffff
pop esi
leave
ret

Function at 0x40d650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa40c
call fcn.00441080
mov eax, dword [0x473a30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x408]
push ebx
mov esi, 0x5000
push eax
mov dword [ebp - 0xa40c], esi
call fcn.0043ee90
add esp, 0xc
push esi
lea eax, [ebp - 0x5408]
push ebx
push eax
call fcn.0043ee90
add esp, 0xc
test byte [0x479c34], 2
push ebx
pop eax
sete al
inc eax
push eax
push 0x479bc4
push 0x474ecc
push 0x474e40
lea eax, [ebp - 0x408]
push 0x466708
push eax
call fcn.0043ca22
lea eax, [ebp - 0x5408]
push eax
lea eax, [ebp - 0x408]
push eax
lea edi, [ebp - 0xa40c]
call fcn.0040bf10
add esp, 0x20
test eax, eax
jne 0x40d77d
mov eax, dword [0x4823ac]
cmp eax, ebx
je 0x40d711
push 0x40bb74
lea esi, [eax - 4]
push dword [esi]
push 0x64
push eax
call fcn.0043dda7
push esi
call fcn.0041fc73
pop ecx
mov dword [0x4823ac], ebx
mov dword [0x4823a8], ebx
mov ebx, dword [ebp - 0xa40c]
lea esi, [ebx - 7]
shr esi, 1
xor edi, edi
test esi, esi
jle 0x40d74e
lea ecx, [ebp + ebx - 0x540b]
mov dl, byte [ecx]
lea eax, [ebp + edi - 0x5403]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx], dl
mov dl, byte [ecx]
xor byte [eax], dl
inc edi
dec ecx
cmp edi, esi
jl 0x40d735
lea ecx, [ebx - 5]
lea eax, [ebp - 0xa408]
lea edx, [ebp - 0x5403]
call fcn.0040bcf7
mov edx, dword [ebp - 0xa40c]
mov ebx, 0x4823ac
lea ecx, [ebp - 0xa408]
call fcn.0040bfa7
xor eax, eax
inc eax
jmp 0x40d77f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c573
leave
ret
Function at 0x100662c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
bt bp, dx
pushfd
sub ecx, dword [edx + 0x10]
jmp 0x10067e3b
lea esp, [esp + 0x44]
jbe 0x10047a2d
sbb ch, cl
xor di, bx
mov edi, dword [edx + 0x24]
shr ch, cl
add edi, eax
sbb cl, ch
xchg cl, bh
bt dx, 0xa
mov ebx, dword [edx + 0x20]
rcr cx, 6
or di, 0x539e
mov edi, dword [edx + 0x1c]
push 0xcc7e7736
pushal
pushfd
add edi, eax
push 0x9a970ffe
cmc
mov edi, dword [edi + ecx*4]
push dword [esp]
clc
test edi, edi
push ebp
jmp 0x100664e2
bsf ax, bp
push ebp
movsx ax, bl
rol ah, cl
mov ebp, esp
sal al, cl
stc
lea eax, [edi - 0x34bdc014]
sub esp, 0x10
neg al
neg al
not ah
push esi
btc ax, 5
push edi
not ah
aad 0xde
push ebx
setge al
lahf
not ah
push edx
rcl al, 4
test bl, 0xd1
pushfd
mov eax, dword [ebp + 8]
stc
cmp al, 0x93
test eax, eax
mov byte [esp], 8
pushal
pushfd
pushfd
lea esp, [esp + 0x2c]
je 0x1006989f
sal dh, cl
mov esi, dword [eax + 0x3c]
ror dh, 3
test al, ah
bswap dx
add dl, dl
add esi, eax
rcl dl, cl
cmc
mov edx, dword [esi + 0x78]
pushfd
clc
test edx, edx
pushal
lea esp, [esp + 0x24]
je 0x1006989f
cmc
add edx, eax
pushfd
shrd cx, bx, cl
push dword [esp]
add esp, 8
jnp 0x10066416
mov ecx, dword [esi + 0x7c]
pushal
cmc
add ecx, edx
bt ecx, ebp
test ebx, 0x8d526190
mov dword [ebp - 0x10], ecx
dec cx
cmc
bsf cx, dx
movzx ecx, dl
mov ecx, dword [ebp + 0xc]
mov byte [esp], dh
cmp ecx, 0xffff
mov word [esp], 0x4d2
pushfd
pushal
jmp 0x100632ad
das
adc dword [eax - 0x5f], edi
outsb dx, byte [esi]
invalid
lea ecx, [edi*8 + 0x15c1dec1]
mov ecx, dword [esi + 0x7c]
clc
call fcn.1004789f
push edx
stosd dword es:[edi], eax
push ebx
lodsd eax, dword [esi]
test al, 0xce
jp 0x100663bb
mov cl, 0x2c
sar byte [esi], cl
bound ebx, qword [edi - 0x223c1170]
popal
dec ebp
or eax, 0x4c9edd83
sbb al, 0xf4
mov esp, dword [edx + 0x29c1d3e6]
aam 0xad
rcl dh, 0xf9
int1
lcall 0x9155, 0x517c9e0e
adc ebx, esp
invalid
mov byte [esp + 8], al
pushfd
lea esp, [esp + 0x38]
je 0x1006989f
pushfd
stc
add eax, edi
stc
call fcn.10068de8
fild word [edx + eax*4 - 0x50315754]
mov edi, 0x3fd29e20
invalid
cmp ecx, dword [edx + 0x14]
push eax
lea esp, [esp + 8]
jae 0x1006989f
pushal
pushal
lea esp, [esp + 0x40]
jmp 0x10066286
Function at 0x433080
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x433098
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x433176
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004339e0
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x433171
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004339e0
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x43314a
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x43314a
xor eax, eax
jmp 0x433176
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x43308f
mov esp, ebp
pop ebp
ret

Function at 0x4339e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x433a15
xor eax, eax
jmp 0x433a1f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret
Function at 0x4029e0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402a0f
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403dbc
jmp 0x402a2d
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402968
mov edi, eax
test ebx, ebx
je 0x402a2d
cmp dword [esi], 0
je 0x402a2d
dec ebx
jmp 0x402a16
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402de4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402e7c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e5c
xor eax, eax
push ebp
push 0x402e55
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402e98
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e5c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c88
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027a0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4a8049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403c50
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406108
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4062c4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406169
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4062e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4061db
xor eax, eax
push ebp
push 0x4061d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00405f60
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4061bd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406300
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061db
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4062bc
cmp byte [ebp - 0xd], 0
jne 0x40621d
cmp byte [ebp - 0x12], 0
je 0x4062bc
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406236
dec ebx
cmp byte [ebx], 0x2e
je 0x406245
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406235
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4062bc
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406272
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4062bc
cmp byte [ebp - 0xd], 0
je 0x4062bc
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4062bc
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bd90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bdc9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403dbc
jmp 0x40bdd2
mov eax, ebx
mov edx, esi
call fcn.00403d28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40bddc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bdfd
mov al, byte [esp]
jmp 0x40bdff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41b03c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b042
ret

Function at 0x41d5c4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41d615
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d5fc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d5ec
jmp 0x41d615
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41d5fd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c85c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x4a8784], 0
sete dl
or al, dl
jne 0x42c99c
mov eax, dword [0x4a8788]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a8784]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42c96b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4a8784]
call fcn.00411ef0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42c963
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42c963
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42c963
mov eax, dword [ebp - 0x14]
call fcn.00434b6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42c963
push ebp
call fcn.0042c818
pop ecx
test al, al
jne 0x42c963
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42c91f
mov eax, dword [ebp - 0x14]
call fcn.004334f8
dec eax
jle 0x42c963
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00403148
cmp byte [ebp - 1], 0
je 0x42c963
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42c963
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a8788]
call fcn.0042c064
inc edi
dec esi
jne 0x42c8b2
mov eax, dword [0x4a8788]
cmp dword [eax + 8], 0
jle 0x42c983
mov eax, dword [0x4a8788]
call fcn.0042c0f4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42c99c
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042c680
pop ecx
test al, al
jne 0x42c99c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret