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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x4158]
cmp eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
je 0x44061a
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x440611
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x440603
cmp byte [eax + 0x70], 0xb
je 0x440603
mov cl, byte [eax + 0x73]
movzx edx, cl
cmp edx, dword [esi + 0x4158]
je 0x4405e5
cmp byte [esi + 0x4160], 0
je 0x440603
cmp cl, 0xff
je 0x440603
cmp byte [eax + 0x70], 0xa
je 0x440603
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x440603
cmp byte [eax + 0x70], 0x1a
jne 0x440603
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x4405b7
mov eax, dword [ebp + 8]
mov dword [esi + 0x4158], eax
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x44067a
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x44066c
cmp byte [eax + 0x70], 0xb
je 0x44066c
movzx ecx, byte [eax + 0x73]
cmp ecx, dword [esi + 0x4158]
jne 0x44066c
test byte [eax + 0x72], 0x20
jne 0x44066c
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
push 4
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x44066c
cmp byte [eax + 0x70], 0x1a
jne 0x44066c
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x440628
push 0
push dword [ebp + 8]
push 0x130c
push dword [esi + 0x4150]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret 4
Function at 0x444a78
Capabilities:
Parse credit card information

Disassembly:
jmp 0x444b11
cmp ecx, 0x4f
jne 0x444a8f
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x444b0f
cmp ecx, 0x5e
jne 0x444aab
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x444b1e
movzx ecx, byte [0x4679a6]
jmp 0x444b0f
cmp ecx, 0x38
jl 0x444ad8
cmp ecx, 0x3d
jle 0x444ac9
cmp ecx, 0x40
jle 0x444ac4
cmp ecx, 0x43
jle 0x444ac9
cmp ecx, 0x44
jne 0x444ad8
mov dl, byte [eax + 3]
jmp 0x444acc
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x444ad6
cmp dl, 0xe
jne 0x444ad8
inc eax
inc eax
movzx edx, byte [ecx + 0x467948]
add eax, edx
cmp dword [esp + 4], 0
je 0x444b11
cmp ecx, 0x1b
jl 0x444b11
cmp ecx, 0x1c
jle 0x444afc
cmp ecx, 0x1d
jle 0x444b11
cmp ecx, 0x2a
jg 0x444b11
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x444b11
and ecx, 0x3f
movzx ecx, byte [ecx + 0x467a08]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x444a7d
xor eax, eax
ret
Function at 0x451762
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x45179f
cmp dword [ebp + 0x14], edi
je 0x45179f
cmp ecx, edi
jne 0x4517a6
call fcn.004544bc
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0045445d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4517ba
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4517db
cmp ebx, 0xffffffff
je 0x4517ca
push ebx
push edi
push ecx
call fcn.00450990
add esp, 0xc
cmp esi, edi
je 0x451787
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x451787
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4517f7
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4517fe
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4518ef
test word [esi + 0xc], 0x10c
je 0x451852
mov eax, dword [esi + 4]
test eax, eax
je 0x451852
jl 0x451950
cmp ebx, eax
mov edi, ebx
jb 0x451823
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4518f7
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045a8b8
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4518e7
cmp ebx, dword [ebp - 0xc]
jb 0x4518bf
cmp dword [ebp - 0xc], 0
je 0x45187c
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x451871
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x451878
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x451887
mov eax, bind
cmp ebx, eax
ja 0x451887
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x451923
push eax
push dword [ebp - 8]
push esi
call fcn.00451ee0
pop ecx
push eax
call fcn.0045a7bb
add esp, 0xc
test eax, eax
je 0x451962
cmp eax, 0xffffffff
je 0x451950
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4518e7
push esi
call fcn.0045a0da
cmp eax, 0xffffffff
pop ecx
je 0x451954
cmp dword [ebp - 4], 0
je 0x451923
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x451806
mov eax, dword [ebp + 0x14]
jmp 0x4517a1
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x45190e
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00450990
add esp, 0xc
call fcn.004544bc
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x451797
cmp dword [ebp + 0xc], 0xffffffff
je 0x451939
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00450990
add esp, 0xc
call fcn.004544bc
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x451797
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4517a1
or dword [esi + 0xc], 0x10
jmp 0x451954
Function at 0x454623
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x475c60]
je 0x45463e
inc edi
cmp edi, 0x17
jb 0x45462f
cmp edi, 0x17
jae 0x4547be
push ebp
push 3
call fcn.0045fc65
cmp eax, 1
pop ecx
je 0x45478a
push 3
call fcn.0045fc65
test eax, eax
pop ecx
jne 0x454672
cmp dword [0x475498], 1
je 0x45478a
cmp ebx, 0xfc
je 0x4547bd
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x477b90
push ebp
call fcn.0045f989
add esp, 0xc
test eax, eax
je 0x4546a8
push esi
push esi
push esi
push esi
push esi
call fcn.00454361
add esp, 0x14
push 0x104
mov esi, 0x477ba9
push esi
push 0
mov byte [0x477cad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4546ec
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0045f989
add esp, 0xc
test eax, eax
je 0x4546ec
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00454361
add esp, 0x14
push esi
call fcn.0044ff70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x454731
push esi
call fcn.0044ff70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x477ea4
push 0x4688d4
sub ecx, eax
push ecx
push eax
call fcn.0045f8d6
add esp, 0x14
test eax, eax
je 0x454731
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00454361
add esp, 0x14
jmp 0x454733
xor esi, esi
push 0x4688d0
push ebx
push ebp
call fcn.0045f815
add esp, 0xc
test eax, eax
je 0x454753
push esi
push esi
push esi
push esi
push esi
call fcn.00454361
add esp, 0x14
push dword [edi*8 + 0x475c64]
push ebx
push ebp
call fcn.0045f815
add esp, 0xc
test eax, eax
je 0x454775
push esi
push esi
push esi
push esi
push esi
call fcn.00454361
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045faa8
add esp, 0xc
jmp 0x4547bd
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4547bd
cmp ebp, 0xffffffff
je 0x4547bd
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x475c64]
push dword [esi]
call fcn.0044ff70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x45f587
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x475f38]
jne 0x45f591
repz ret
jmp fcn.00462d59

Function at 0x45faa8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00453dd8
xor ebx, ebx
cmp dword [0x478328], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45fb7e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45fc5e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46a6cc
push edi
call esi
cmp eax, ebx
je 0x45fc5e
push eax
call fcn.00453d6a
mov dword [esp], 0x46a6bc
push edi
mov dword [0x478328], eax
call esi
push eax
call fcn.00453d6a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47832c], eax
call esi
push eax
call fcn.00453d6a
mov dword [0x478330], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044df4a
test eax, eax
pop ecx
pop ecx
je 0x45fb4c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454361
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45fb7e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00453d6a
cmp eax, ebx
pop ecx
mov dword [0x478338], eax
je 0x45fb7e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453d6a
pop ecx
mov dword [0x478334], eax
mov eax, dword [0x478334]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45fc03
cmp dword [0x478338], ecx
je 0x45fc03
push eax
call fcn.00453de1
push dword [0x478338]
mov esi, eax
call fcn.00453de1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45fc03
cmp edi, ebx
je 0x45fc03
call esi
cmp eax, ebx
je 0x45fbd0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45fbd0
test byte [ebp - 0x18], 1
jne 0x45fc03
lea eax, [ebp - 0x10]
push eax
call fcn.0044df81
test eax, eax
pop ecx
je 0x45fbeb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00454361
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45fbfa
or dword [ebp + 0x10], 0x200000
jmp 0x45fc3e
or dword [ebp + 0x10], 0x40000
jmp 0x45fc3e
mov eax, dword [0x47832c]
cmp eax, dword [ebp - 8]
je 0x45fc3e
push eax
call fcn.00453de1
cmp eax, ebx
pop ecx
je 0x45fc3e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45fc3e
mov eax, dword [0x478330]
cmp eax, dword [ebp - 8]
je 0x45fc3e
push eax
call fcn.00453de1
cmp eax, ebx
pop ecx
je 0x45fc3e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x478328]
call fcn.00453de1
cmp eax, ebx
pop ecx
je 0x45fc5e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45fc60
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x402ac0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push eax
push 0x104
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x402b03
push edi
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xc]
push ecx
call fcn.004038d0
add esp, 8
pop edi
pop esi
add esp, 0x104
ret
mov eax, esi
pop esi
add esp, 0x104
ret

Function at 0x402b10
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
mov esi, dword [ebp]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x402b9b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402b9b
test esi, esi
je 0x402b55
cmp esi, 0xffffffff
je 0x402b55
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp], esi
je 0x402be1
mov eax, dword [esp + 0x160]
test eax, eax
je 0x402b84
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
je 0x402b9b
jmp 0x402b93
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x14]
test edx, eax
je 0x402b9b
mov dword [esp + 0x10], 1
test esi, esi
je 0x402be1
cmp esi, 0xffffffff
je 0x402be1
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x402c18
mov eax, dword [esp + 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x14]
push eax
push esi
je 0x402bee
call edi
test eax, eax
je 0x402be1
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
jne 0x402c18
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x402bc9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
call edi
test eax, eax
je 0x402be1
mov ebx, dword [esp + 0x15c]
test dword [esp + 0x14], ebx
jne 0x402c18
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x402bfb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00402240
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
Function at 0x10002a50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10002a50]
mov dword [0x1003f628], 0x1a2
mov ecx, dword [0x1003f624]
add ecx, 0xfffffb84
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10002a8a
mov eax, dword [ebp - 0xc]
mov dword [0x1003f624], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
jne 0x10002aac
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], reloc.GDI32.dll_CreateCompatibleBitmap
je 0x10002a7a
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
mov dword [ebp - 0x14], eax
mov eax, 0xab2
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffff000
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x10002a8a

Function at 0x10003040
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1003f628]
add edi, 0x1064
mov dword [0x1003f624], edi
mov dword [0x1003f630], 0
mov byte [0x1003f634], 0
mov dword [0x1003f628], 0x1215
mov dword [0x1003f62c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10003182
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x1003f630]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x1003f630], edx
mov ecx, dword [0x1003f62c]
mov edx, dword [ebp - 0x18]
mov cl, byte [edx + ecx]
mov byte [0x1003f634], cl
mov edi, dword [0x1003f628]
add edi, 0xffffd9c5
mov dword [0x1003f628], edi
mov edi, dword [0x1003f630]
mov cl, byte [edx + edi]
mov edi, dword [0x1003f62c]
mov byte [edx + edi], cl
mov edi, dword [0x1003f624]
add edi, 0x2328
mov dword [0x1003f624], edi
mov cl, byte [0x1003f634]
mov edi, dword [0x1003f630]
mov byte [edx + edi], cl
mov dword [0x1003f628], 0x2f0
mov edi, dword [0x1003f62c]
add edi, 1
mov dword [0x1003f62c], edi
cmp edi, 0x100
mov dword [ebp - 0x20], edi
jl 0x1000309c
jmp 0x10003170
xor eax, eax
mov dword [0x1003f624], 0x1408
mov dword [0x1003f62c], 0
mov dword [ebp - 0x20], eax
jmp 0x1000309c
mov dword [0x1003f628], 0x2133
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1003f62c]
add eax, 1
mov dword [0x1003f62c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10003182
jmp 0x10003152
Function at 0x100031c0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1003f62c], 0
mov dword [0x1003f630], 0
mov dword [0x1003f638], 0
mov dword [0x1003f624], 0x1d5a
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov dword [ebp - 0x20], eax
je 0x10003301
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x1003f62c]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x1003f62c], edx
mov esi, dword [0x1003f630]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x1003f630], edx
mov ecx, dword [0x1003f62c]
mov bl, byte [edi + ecx]
mov byte [0x1003f634], bl
mov ecx, dword [0x1003f624]
add ecx, 0xfffff6df
mov dword [0x1003f624], ecx
mov ecx, dword [0x1003f630]
mov bl, byte [edi + ecx]
mov ecx, dword [0x1003f62c]
mov byte [edi + ecx], bl
mov dword [0x1003f628], 0x63b
mov bl, byte [0x1003f634]
mov ecx, dword [0x1003f630]
mov byte [edi + ecx], bl
mov dword [0x1003f624], 0xbac
mov ecx, dword [0x1003f62c]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x1003f630]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x1003f638], edx
mov dword [0x1003f624], 0x1236
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov bl, byte [ecx + esi]
xor bl, byte [edi + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], bl
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x20], esi
jne 0x1000321d
mov eax, dword [0x1003f624]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0xf2d
mov dword [0x1003f624], eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x385f658c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x7cc75ca4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4046a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edx
sub esp, 4
mov dword [esp], eax
mov eax, dword [0x4324b3]
test eax, eax
je 0x4046bc
cmp dword [0x432357], 0xfffffffe
jne 0x4046c2
xor eax, eax
add esp, 4
pop edx
pop ecx
ret
mov eax, esp
call fcn.00404650
test eax, eax
je 0x4046bc
push 0x40
push 0x1000
mov ecx, dword [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edx, eax
test eax, eax
je 0x4046bc
mov eax, dword [esp]
sub eax, 4
cmp eax, dword [esp]
ja 0x4046ba
mov dword [esp], eax
cmp eax, 0x38
jb 0x4046ba
mov dword [edx], eax
mov eax, edx
call fcn.004045d0
mov ecx, eax
mov eax, dword [eax]
mov dword [esp], eax
or al, 1
mov dword [ecx], eax
mov dword [edx + 0x14], 0
lea eax, [ecx + 4]
inc dword [edx + 0x18]
call fcn.00402b10
mov eax, 1
add esp, 4
pop edx
pop ecx
ret

Function at 0x405420
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ecx
push esi
push edi
sub esp, 8
mov esi, eax
mov edi, edx
xor edx, edx
mov ecx, eax
inc eax
cmp byte [ecx], 0
je 0x405437
inc edx
jmp 0x40542c
push 0
lea eax, [esp + 4]
push eax
push edx
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [esp + 4]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push 0xfffffffffffffff4
mov word [esp + 0x18], 0xa0d
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, edi
jmp 0x4023d0

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x287a2703
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x4c143802
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219