joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4785a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00478048
test byte [ebx + 0x23d], 4
jne 0x47863d
mov edx, esp
mov eax, ebx
call fcn.00442340
push esp
mov eax, ebx
call fcn.004490ec
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4785dd
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x47860e
mov ecx, dword [0x4a6114]
mov dl, 1
mov eax, dword [0x46ee38]
call fcn.0040d318
call fcn.00404510
mov eax, ebx
call fcn.00478bb0
cmp byte [ebx + 0x57], 0
jne 0x478644
mov eax, ebx
call fcn.004492f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x478644
push 0
mov eax, ebx
call fcn.004492f0
push eax
call sub.user32.dll_ShowWindow
jmp 0x478644
mov eax, ebx
call fcn.00446258
add esp, 0x10
pop ebx
ret

Function at 0x47f8d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47f902
mov eax, ebx
call fcn.00480388
cmp dword [ebx + 0x40], 0
je 0x47f8fb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47f973
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47f965
cmp dword [ebx + 8], 0
je 0x47f924
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47f936
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47f965
cmp dword [ebx + 8], 0
je 0x47f917
cmp eax, 3
je 0x47f949
dec eax
jne 0x47f917
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47f917
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47f917
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47f991
cmp dword [ebx + 0x14], 0xcc
je 0x47f991
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047f99c
pop ebx
ret
Function at 0x4902bc
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fbc
mov eax, dword [ebp - 8]
call fcn.00404fbc
xor eax, eax
push ebp
push 0x490390
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.00404fcc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 3
mov eax, 0x49039c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404fcc
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x4b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490397
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b20
ret

Function at 0x4903a4
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fbc
mov eax, dword [ebp - 8]
call fcn.00404fbc
mov eax, dword [ebp - 0xc]
call fcn.00404fbc
mov eax, dword [ebp + 0xc]
call fcn.00404fbc
xor eax, eax
push ebp
push 0x4904bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00404fcc
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 3
mov eax, 0x4904cc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404fcc
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404fcc
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404fcc
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectA
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4904c4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b20
lea eax, [ebp + 0xc]
call fcn.00404afc
ret
Function at 0x494150
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00403650
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x49417e
mov al, 1
jmp 0x494180
xor eax, eax
add esp, 0xc
ret
Function at 0x498c24
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x498c44
mov eax, dword [0x4a628c]
mov eax, dword [eax]
call fcn.004622a0
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x498c31
pop esi
pop ebx
ret

Function at 0x49954c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x499751
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x4995a3
cmp byte [ebx + 0x344], 0
je 0x499594
mov edx, 1
mov eax, dword [ebx + 0x300]
call fcn.00438edc
jmp 0x4995cb
xor edx, edx
mov eax, dword [ebx + 0x300]
call fcn.00438edc
jmp 0x4995cb
cmp byte [ebx + 0x344], 0
je 0x4995bb
xor edx, edx
mov eax, dword [ebx + 0x300]
call fcn.00438edc
jmp 0x4995cb
mov edx, 1
mov eax, dword [ebx + 0x300]
call fcn.00438edc
mov byte [ebp - 6], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0xc], eax
mov byte [ebx + 0x338], 0
xor eax, eax
mov dword [ebx + 0x33c], eax
lea eax, [ebx + 0x340]
call fcn.004066e8
lea eax, [ebx + 0x35c]
call fcn.00404afc
mov eax, ebx
call fcn.00499808
mov byte [ebp - 0xd], 1
mov eax, dword [ebx + 0x358]
call fcn.00405db4
mov esi, eax
test esi, esi
jl 0x49962d
inc esi
xor edi, edi
mov eax, dword [ebx + 0x358]
lea eax, [eax + edi*4]
call fcn.004066e8
inc edi
dec esi
jne 0x49961b
push 0
lea eax, [ebx + 0x358]
mov ecx, 1
mov edx, dword [0x498668]
call fcn.00405f88
add esp, 4
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.0049977c
lea edx, [ebp - 0x14]
call fcn.00497dbc
mov edx, dword [ebp - 0x14]
lea ecx, [ebx + 0x358]
mov eax, ebx
call fcn.00498f40
mov eax, dword [ebx + 0x358]
call fcn.00405dac
dec eax
jl 0x499603
mov eax, dword [ebx + 0x358]
call fcn.00405db4
mov esi, eax
test esi, esi
jl 0x4996c0
inc esi
xor edi, edi
lea eax, [ebp - 0x18]
call fcn.00405218
push eax
mov eax, dword [ebx + 0x358]
mov eax, dword [eax + edi*4]
push eax
mov eax, dword [eax]
call dword [eax + 0x58]
call fcn.004067f8
mov eax, dword [ebp - 0x18]
mov edx, 0x499768
call fcn.00405458
je 0x4996bc
mov byte [ebp - 0xd], 0
inc edi
dec esi
jne 0x49968c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x334]
jbe 0x4996d6
mov byte [ebp - 6], 0
jmp 0x49971e
cmp byte [ebp - 0xd], 0
je 0x49970d
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.0049977c
mov edx, 0xd4
call fcn.004789a0
test ax, ax
jne 0x49970d
mov byte [ebx + 0x338], 1
mov eax, dword [ebx + 0x33c]
cmp eax, dword [ebp - 4]
jne 0x49970d
mov byte [ebp - 6], 1
jmp 0x49971e
mov edx, 0x300
mov eax, ebx
call fcn.00498c24
jmp 0x499603
mov eax, ebx
call fcn.00499a40
mov byte [ebx + 0x345], 0
mov eax, ebx
call fcn.00499ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499758
lea eax, [ebp - 0x18]
call fcn.00405218
lea eax, [ebp - 0x14]
call fcn.004066e8
ret
Function at 0x408942
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop ecx
mov eax, edx
sub esp, 4
mov dword [esp], edx
pop edx
call fcn.00408971
or eax, edx
dec eax
xor dword [esi], ecx
inc edx
inc esi
sub edx, 0x51b97463
cmp esi, edi
jne fcn.00408942
ret
Function at 0x41dfde
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041dc80

Function at 0x41dfe9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041de0f

Function at 0x41e3e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c4f0
mov eax, dword [0x481800]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041b18c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41e425
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41e581
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0040b850
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x483f80]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041f182
mov ecx, dword [esi*4 + 0x483f80]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41e57a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41e57a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e57a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041f182
add esp, 0x14
test edx, edx
jl 0x41e57a
jg 0x41e4f0
test eax, eax
jb 0x41e57a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41e57a
jl 0x41e50a
cmp dword [ebp - 0x1008], eax
ja 0x41e57a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41e528
test ebx, ebx
je 0x41e561
cmp ecx, edi
jae 0x41e561
mov al, byte [ecx]
cmp al, 0xd
jne 0x41e542
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41e54e
cmp byte [ecx + 1], 0xa
jne 0x41e54e
inc ecx
jmp 0x41e54e
movzx eax, al
movsx eax, byte [eax + 0x481ad8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41e528
cmp edx, ebx
jne 0x41e528
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41e57f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040b778
leave
ret
Function at 0x41e620
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x483f80]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e660
cmp byte [ebx], 0xa
jne 0x41e660
or byte [eax + edi + 0x28], 4
jmp 0x41e665
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41e763
mov al, byte [edx]
cmp al, 0x1a
je 0x41e745
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41e694
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41e6b9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41e6c3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41e676
jmp 0x41e763
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e740
cmp dword [ebp - 0xc], 0
je 0x41e740
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483f80]
test byte [eax + edi + 0x28], 0x48
je 0x41e71a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41e705
mov byte [esi], dl
jmp 0x41e716
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483f80]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41e763
cmp byte [ebp - 1], 0xa
jne 0x41e729
cmp esi, ebx
jne 0x41e729
mov byte [esi], 0xa
jmp 0x41e762
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41e763
mov byte [esi], 0xd
jmp 0x41e762
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483f80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e75f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e763
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e76c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x483f80]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e7af
cmp word [esi], dx
jne 0x41e7af
or byte [edi + eax + 0x28], 4
jmp 0x41e7b4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41e907
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41e8e7
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41e7f6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41e82c
cmp eax, edx
jae 0x41e838
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41e7ce
jmp 0x41e907
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e8e3
cmp dword [ebp - 0x14], 0
je 0x41e8e3
mov eax, dword [ebx*4 + 0x483f80]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41e8bb
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41e884
mov word [esi], cx
jmp 0x41e8b7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x483f80]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x483f80]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x483f80]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41e907
pop ebx
cmp word [ebp - 4], bx
jne 0x41e8cc
cmp esi, dword [ebp + 0xc]
jne 0x41e8cc
mov word [esi], bx
jmp 0x41e904
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41e907
push 0xd
jmp 0x41e900
mov ecx, dword [ebx*4 + 0x483f80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e8fe
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e907
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x429238
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x254
mov eax, dword [0x481800]
xor eax, esp
mov dword [esp + 0x250], eax
and dword [esp + 4], 0
lea eax, [esp + 4]
and dword [esp + 8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x260]
push esi
push edi
push eax
call fcn.00401789
mov esi, dword [esp + 0x274]
xor ebx, ebx
pop ecx
mov dword [esp + 0x14], eax
push str.JAHNsiu
push 0x4835e0
call fcn.0040146b
push eax
call fcn.004027a6
mov eax, ebx
mov byte [esp + ebx + 0x6c], bl
cdq
add esp, 0xc
idiv dword [esp + 0x274]
mov al, byte [edx + esi]
mov byte [esp + ebx + 0x160], al
inc ebx
cmp ebx, 0x100
jl 0x429279
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x60]
movzx eax, byte [esp + esi + 0x160]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x4292d9
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + esi + 0x60], al
inc esi
mov byte [esp + edi + 0x60], dl
cmp esi, 0x100
jl 0x4292b6
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x26c], ebx
jle 0x429444
inc ebx
and ebx, 0x800000ff
jns 0x429316
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [esp + ebx + 0x60]
movzx edx, cl
add edi, edx
mov dword [esp + 0x1c], ebx
and edi, 0x800000ff
jns 0x429333
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + ebx + 0x60], al
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + edi + 0x60], cl
lea ecx, [esp + 0x60]
movzx eax, byte [esp + ebx + 0x60]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x20], edi
movzx eax, al
add eax, ecx
lea ecx, [esp + 0x3c]
push eax
push ebx
call fcn.00401a9b
lea eax, [esp + 0x10]
mov dword [esp + 0x30], ebx
push eax
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00401b63
push 0x42a5a0
lea ecx, [esp + 0x4c]
call fcn.00402c81
cmp dword [esp + 0x5c], 0xf
lea eax, [esp + 0x48]
cmova eax, dword [esp + 0x48]
push eax
call fcn.00410dee
pop ecx
push ebx
push ebx
mov edi, eax
mov dword [esp + 0x2c], ebx
push ebx
mov ecx, 0x4836a0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
push 0xa
pop ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
call fcn.00401a6f
sub ebx, 1
jne 0x4293dc
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x3c]
mov al, byte [ecx + eax]
lea ecx, [esp + 0x24]
xor byte [edx + ebp], al
call fcn.004058b0
lea ecx, [esp + 0x48]
call fcn.004058fc
lea ecx, [esp + 0x30]
call fcn.004058b0
lea ecx, [esp + 0x3c]
call fcn.0040588d
mov ebx, dword [esp + 0x1c]
inc esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x26c]
jl 0x429305
lea eax, [esp + 0x14]
push eax
mov ecx, eax
call fcn.00401ce9
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b778
add esp, 0x254
ret
Function at 0x429564
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
sub eax, dword [esp + 0x10]
sar eax, 2
push edi
mov edi, dword [esp + 0x20]
test eax, eax
je 0x42963c
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x42963a
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x4835e0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebp
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.004027a6
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebp
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.004027a6
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42a594
mov byte [edi + esi], al
call fcn.00410dee
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401b63
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
xor byte [edi + esi], al
mov eax, dword [esp + 0x18]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00401a43
inc esi
mov dword [esp + 0x18], ebx
pop ecx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x30]
jb 0x4295a1
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.004058b0
pop edi
add esp, 0xc
ret 0x14

Function at 0x42964c
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x429668
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0xf2da10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x690015
lea edi, [esi - 0x28f015]
push edi
or ebp, 0xffffffff
jmp 0xf2da32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf2da39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf2da28
mov eax, 1
add ebx, ebx
jne 0xf2da4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf2da5c
jne 0xf2da7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf2da7b
dec eax
add ebx, ebx
jne 0xf2da68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf2da40
add ebx, ebx
jne 0xf2da77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf2dacd
xor ecx, ecx
sub eax, 3
jb 0xf2da93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf2db02
sar eax, 1
mov ebp, eax
jmp 0xf2da9e
add ebx, ebx
jne 0xf2da9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf2da6c
inc ecx
add ebx, ebx
jne 0xf2daac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf2da6c
add ebx, ebx
jne 0xf2dab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf2daae
jne 0xf2daca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf2daae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf2daec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf2dade
jmp 0xf2da2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf2daec
add edi, ecx
jmp 0xf2da2e
pop esi
mov edi, esi
mov ecx, 0xac7f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf2db0a
cmp byte [edi], 0x23
jne 0xf2db0a
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 0xf2db0f
lea edi, [esi + 0xab8000]
mov eax, dword [edi]
or eax, eax
je 0xf2db7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb2d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb2d028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf2db3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb2d030]
or eax, eax
je 0xf2db78
mov dword [ebx], eax
add ebx, 4
jmp 0xf2db59
call dword [esi + 0xb2d02c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xf2dbb8
cmp al, 0xef
ja 0xf2dba2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xf2db84
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0xf2db91
mov eax, dword [edi]
add edi, 4
jmp 0xf2db91
mov ebp, dword [esi + 0xb2d034]
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 0xf2dbec
sub esp, 0xffffff80
jmp 0x45f9f0