joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x40de38
nop
nop
mov ecx, 0x9147d93
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x4304d8
nop
mov ecx, 0x11957c8f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x43bf9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x43bfb9
call fcn.004099fb
mov esi, dword [eax + 0xc]
push dword [0x575d90]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x43bfd7
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x43bfcf
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x43c004
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x43bfd1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0043becd
mov esi, eax
jmp 0x43bff6

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0040fb63
call fcn.00401cd5
cmp eax, esi
pop esi
jne 0x469163
mov ecx, 0x574d48
jmp fcn.00413e63
ret
Function at 0x4acb49
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004ac808
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4acb93
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f773
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405564
jmp 0x4acb9e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00414c85
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4acba4
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041170d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4acbe1
call fcn.004ac808
mov dword [esi + 0xc], 1
jmp 0x4acbe6
call fcn.004ac808
cmp dword [esi], 0
je 0x4acc2f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x4acc07
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f773
jmp 0x4acc19
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401720
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00405564
jmp 0x4acc53
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4acc53
push dword [esi]
push dword [ebp + 8]
call fcn.00414c85
pop esi
pop ebp
ret 0xc

Function at 0x4e2509
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e2521
mov edi, dword [esi + 0xc]
jmp 0x4e2561
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e253a
call fcn.00409dc9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e254f
call fcn.00409dc9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e2561
call fcn.00409dc9
call fcn.004099fb
cmp dword [eax + 0x3c], 0
je 0x4e2576
push edi
mov ecx, ebx
call fcn.004e13c7
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e2423
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e2594
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e25a0
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x504242
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x571ce0]
jne 0x50424c
repz ret
jmp fcn.0050acb4
Function at 0x412402
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41242e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4124cb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4124f5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412470
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4124fa
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4124f5
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x420880
Capabilities:
Encode data using xor

Disassembly:
test edx, eax
xchg esi, eax
dec edi
xor byte [esi + edi*8 - 0x22], bl
xor esp, dword [eax]
std
mov eax, dword [0x14926579]
pop edi
sahf
enter 0x128c, 0xffffffffffffffa7
int3
stosb byte es:[edi], al
mov byte [0xa1db01b6], al
mov dh, 0x9b
wait
sbb dword [esi], 0xfb6fa714
loop 0x4207ff
and al, 0x5c
out 0x8b, al
push ecx
out 0xe6, al
cmp byte [ebp + 0x49ab5a5b], 0xed
push es
adc dword [esi], 0xa2612d7a
imul edx, dword [eax - 0xf82f596], 0x37bf8c39
xor al, 0x93
mov ecx, 0xfd388fc4
add byte [ecx], dl
adc dword [eax - 0x78], edx
pop esp
pop ebp
inc byte [edi + 0x26]
js 0x420850
adc dword [eax - 0x78], edx
pop esp
pop ebp
inc byte [edi + 0x26]
js 0x420850
mov word [edi], fs
les esi, [ebx + 0x46f8c5c5]
pop ebx
add ebx, ebp
and dword [ebx - 0x4e5a2d11], edx
push es
loopne 0x4208bf
sti
in al, dx
sub ecx, dword [esi]
js 0x420849
into
cmpsb byte [esi], byte es:[edi]
sbb dl, ah
pop ecx
mov dword [0xa1ca05f], eax
adc al, 0x13
stc
lcall 0x6913, 0x79a3
hlt
stosd dword es:[edi], eax
push 0xffffffffffffffd4
pop edi
mov esp, 0xd5348749
inc dword [ecx]
pop eax
mov ah, 0x11
push cs
out 0x4b, al
adc dword [ecx - 0xc], esi
dec esi
mov esi, 0x17d39ded
mov byte [edi + 0x7859e938], bl
invalid

Function at 0x6d86ec
Capabilities:
Encode data using xor

Disassembly:
test al, 0x74
adc dword [edx + edi*8 + 0x5e], 0xffffff94
inc ecx
lea edi, [eax + esi*4 - 0x56ce2429]
sbb byte [ebp - 0x575f0b6d], bl
aas
scasb al, byte es:[edi]
push esi
pop ecx
and eax, ecx
add esi, dword [ecx + 0x46]
jno 0x6d8734
jno 0x6d8734
inc esi
jge 0x6d86cf
cmpsb byte [esi], byte es:[edi]
or byte [ebx - 0x7a70a923], al
ja 0x6d871f
jnp 0x6d86f0
sbb dl, byte [esi]
loope 0x6d8721
lahf
mov dword [0xcd3d06b5], eax
in eax, dx
sal dword [edx], 0xc1
push 0x764da0a0
jecxz 0x6d8723
and eax, 0xc62e06b3
push esp
push ecx
sbb al, byte [ebx]
jnp 0x6d86ed
add dword [0x20af98d7], edi
scasd eax, dword es:[edi]
and byte [ecx + 0x57], dh
jno 0x6d877a
loope 0x6d8794
pop ds
jae 0x6d8759
jb 0x6d8775
mov ebp, ebp
or eax, 0x8878ba3e
invalid
sub bl, byte [0x779860d3]
xchg esp, eax
xchg esi, eax
nop
adc al, 0x42
or dword [ecx], ebx
push 0x55
aad 0x71
invalid
mov ch, 0xce
mov ah, 0x88
adc dl, byte [esi - 0x47]
jp 0x6d871b
int1
popfd
int1
xchg esp, eax
mov dh, 0xab
xlatb
dec ebx
dec eax
invalid
Function at 0x814860
Capabilities:
Encode data using xor

Disassembly:
aas
add bh, byte [eax + 0x779b74dc]
or al, 0x7f
mov ecx, dword [edx]
mov ebx, 0xa34082d5
cwde
fdivr qword [ebx]
cld
mov al, 0x7d
cmpsb byte [esi], byte es:[edi]
push es
stosd dword es:[edi], eax
mov eax, dword [0x93fb9610]
sbb al, 0x73
fstp dword [esi + 0x465a2ed8]
fsubr dword [esi]
pop edx
inc esi
shl dword [edi + 0x25], 0x11
mov gs, esp
or byte [edi - 0x52e868ad], ch
stc
sal byte [eax - 0x24], 0x32
not dword [ebp + 0xb]
mov edx, 0xdc55b6f7
jle 0x8148ab
mov eax, dword [0x7736ada3]
into
and ecx, dword [esi + ebp*8]
mov dword [0xb6131ec5], eax
sti
xchg esp, eax
xchg ebx, eax
fisub dword [edx*2 - 0x37949a90]
sbb esi, eax
dec esp
jg 0x814805
mov ah, 0x22
arpl word [ebp - 0x51], ax
in al, 0x70
jo 0x814826
das
and cl, byte [edx - 0x36070038]
jge 0x814876
adc dword [esi + ebx*8 - 0x66], edi
pushf
push eax
push 0xb05936e4
jo 0x814828
xchg edx, eax
mov al, byte [edi + 0x28]
inc ecx
or al, 0x5f
ficom word [ecx - 0xc]
or byte [edx + ebx*4 - 0x6b57585c], dl
ljmp 0x91c8
pop es
scasd eax, dword es:[edi]
pop ss
xlatb
pop ss
popal
and byte [edi + edx*8 - 0xa], bh
movsb byte es:[edi], byte cs:[esi]
movsb byte es:[edi], byte [esi]
stosd dword es:[edi], eax
call 0xf69472c2
push ebp
pushal
adc eax, 0x6354cbc4
jns 0x814922
mov bx, 0x5073
mov ebx, 0x8dc35073
jo 0x814905
ret
sahf
mov ebp, 0xf9ddeeab
mov word [ebx + 0x8c20906], fs
adc dl, dh
inc esp
xor edi, eax
fbstp tbyte [edx - 0x4f]
add dword [ecx - 0x3a], 0x16
cmpsb byte [esi], byte es:[edi]
je 0x8148bb
adc bl, byte [edi - 0x65008c94]
sti
cmc
in al, 0
js 0x8148fd
jge 0x8148bf
daa
jno 0x81489f
cmp ebx, dword [eax + 4]
in al, 0x5f
dec ebx
invalid
inc edx
sub byte [edi], al
jmp 0x39363dc4
inc edx
xor byte [0xc81a340f], al
mov gs, word [eax]
push ebp
cmc
xor eax, 0xbc19ccdb
dec esi
ja 0x814946
sub eax, 0x4ff2242d
and byte [ecx + 0x7899a344], cl
pop edi
sub eax, 0x204ff224
mov dword [ebx - 0x67], eax
js 0x814983
js 0x81494e
mov eax, dword [0x3dd2a51e]
and al, 0xb3
add dword [eax + 0xa], edi
mov eax, dword [ecx + esi*2]
add al, 0x71
mov esi, ss
test al, 0xc1
pop ds
inc esi
out dx, al
mov dh, 0xb6
cdq
mov dh, 0x99
outsb dx, byte [esi]
or byte ds:[eax + esi*2], 0x56
push esi
inc ecx
adc al, dh
pushfd
adc cl, byte [eax]
add byte [ecx - 0x2afd624f], dl
invalid
add dl, ch
mov bh, 0x34
enter 0x4570, 0xfffffffffffffff2
jno 0x81497b
loop 0x81490e
mov dh, 0x47
inc esi
and byte [edi + 0x13631677], al
mov eax, 0x910de36e
xor al, 0x1a
xchg byte [ecx + ebp], dh
jle 0x814976
dec edx
stosb byte es:[edi], al
and bl, byte [edi - 0x23]
js 0x814931
xor byte [edx], bl
jl 0x81493b
int3
loop 0x814942
inc esp
mov esi, 0xdd5eeef1
pop ebp
std
pop ds
cmp dl, al
pop es
xor al, 0xfb
cmp al, 0xa3
jp 0x814918
xchg dword [esi + 0x5cdafaa2], esi
not byte [eax - 0x3c5ae9bd]
in al, 0x8f
invalid
Function at 0x4b5350
Capabilities:
Parse pe header

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

Function at 0x45a0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x445015
lea edi, [esi - 0x44015]
push edi
or ebp, 0xffffffff
jmp 0x45a0c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45a0c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a0b8
mov eax, 1
add ebx, ebx
jne 0x45a0db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45a0ec
jne 0x45a10b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a10b
dec eax
add ebx, ebx
jne 0x45a0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45a0d0
add ebx, ebx
jne 0x45a107
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45a15d
xor ecx, ecx
sub eax, 3
jb 0x45a123
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45a192
sar eax, 1
mov ebp, eax
jmp 0x45a12e
add ebx, ebx
jne 0x45a12e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a0fc
inc ecx
add ebx, ebx
jne 0x45a13c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a0fc
add ebx, ebx
jne 0x45a149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45a13e
jne 0x45a15a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45a13e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45a17c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45a16e
jmp 0x45a0be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45a17c
add edi, ecx
jmp 0x45a0be
pop esi
mov edi, esi
mov ecx, 0xaca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45a19a
cmp byte [edi], 7
jne 0x45a19a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45a19f
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x45a217
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x801ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8024c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45a1cc
mov ecx, edi
jns 0x45a1fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x80250]
or eax, eax
je 0x45a211
mov dword [ebx], eax
add ebx, 4
jmp 0x45a1e9
call dword [esi + 0x80260]
mov ebp, dword [esi + 0x80254]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45a24b
sub esp, 0xffffff80
jmp 0x412a92
Function at 0x402b1c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404384
test esi, esi
jne 0x402b52
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404474
jmp 0x402b70
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a30
mov edi, eax
test esi, esi
je 0x402b70
cmp dword [ebx], 0
je 0x402b70
dec esi
jmp 0x402b59
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x569020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403378
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403358
xor eax, eax
push ebp
push 0x403351
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 0x403394
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 0x403358
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x569020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x569020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404164
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x56d04c], 0
je 0x4041c5
cmp word [0x56d220], 0xd7b2
jne 0x40418d
cmp dword [0x56d228], 0
jbe 0x40418d
mov eax, 0x56d21c
call dword [0x56d238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x56906c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4041ec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x569030], 0
jne 0x4041e1
push 0
push 0x569064
push 0x56906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404338
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.004027f4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x56d04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404300
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406840
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4068a6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004045f4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e98
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406890
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4068ad
lea eax, [ebp - 0x10]
call fcn.00404384
ret

Function at 0x40cbcc
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 0x40cc05
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404474
jmp 0x40cc0e
mov eax, ebx
mov edx, esi
call fcn.004043d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cc18
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 0x40cc39
mov al, byte [esp]
jmp 0x40cc3b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40dc44
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dd1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040441c
lea eax, [ebp - 8]
call fcn.00404894
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404844
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dd04
mov eax, ebx
call fcn.004027f4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dcfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404844
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dce7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dd2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dce7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd04
mov eax, dword [ebp - 0x10]
call fcn.00402814
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd21
lea eax, [ebp - 8]
call fcn.00404384
ret
Function at 0x40e2a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e304
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004045f4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040966c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e30b
lea eax, [ebp - 0xc]
call fcn.00404384
ret

Function at 0x4278f8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00427750
dec esi
jne 0x42791a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x428a5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x56d88c
cmp dword [edi], 0
jne 0x428ad8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x56d888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x56964c
mov ecx, 2
call fcn.004029f0
mov edx, 0x428a34
lea eax, [esi + 5]
call fcn.00428a54
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428a54
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x428aad
mov dword [0x56d888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42a0c4
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 0x42a0ca
ret

Function at 0x42cb68
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 0x42cbb9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42cba0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42cb90
jmp 0x42cbb9
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 0x42cba1
pop ebx
mov esp, ebp
pop ebp
ret