joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c01c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452bb0]
cmp dword [eax + 0x30], 0
je 0x44c0c6
cmp dword [ebx + 0x94], 0
jne 0x44c0c0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44bfac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c0c0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44c086
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c0c0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413780
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c095
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44cc28
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44cc5d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040404c
jmp 0x44cc6a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44dccc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44dd0d
mov eax, esi
call fcn.004345cc
test al, al
je 0x44dd0d
mov eax, dword [ebx + 0x84]
call fcn.004342c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44dd0d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004342c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44f048
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x44f050
push ebx
push esi
mov eax, 0x44ee60
call fcn.00405d14
xor eax, eax
push ebp
push 0x44f18a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x44f198
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
test eax, eax
jne 0x44f16f
push 0x44f198
push 0
push 0
call fcn.00405f2c
mov esi, eax
lea edx, [ebp - 0x14]
mov eax, dword [0x450ff8]
mov eax, dword [eax]
call fcn.0044d67c
mov eax, dword [ebp - 0x14]
call fcn.0040421c
mov ebx, eax
add ebx, 3
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00404154
mov eax, dword [ebp - 0x20]
call fcn.0040421c
sub eax, ebx
inc eax
push eax
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.00404154
mov eax, dword [ebp - 0x24]
mov edx, ebx
pop ecx
call fcn.0040447c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00407c1c
mov edx, dword [ebp - 0x18]
mov eax, dword [0x450e00]
call fcn.00403fb0
lea edx, [ebp - 0x28]
mov eax, dword [0x450e00]
mov eax, dword [eax]
call fcn.00407c1c
mov eax, dword [ebp - 0x28]
call fcn.0040421c
test eax, eax
jle 0x44f169
mov eax, dword [0x450ff8]
mov eax, dword [eax]
call fcn.0044cfd4
mov ecx, dword [0x450f28]
mov eax, dword [0x450ff8]
mov eax, dword [eax]
mov edx, dword [0x44e97c]
call fcn.0044cfec
mov eax, dword [0x450ff8]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x450f28]
mov eax, dword [eax]
call fcn.00449b74
mov eax, dword [0x450ff8]
mov eax, dword [eax]
call fcn.0044d06c
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f191
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00403f80
ret
Function at 0x44a890
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
sub esp, 0x47c
mov ecx, 0x41
xor eax, eax
push esi
push edi
lea edi, [esp + 0x248]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x248]
mov esi, eax
push ecx
call fcn.0044a810
add esp, 4
cmp esi, 0x104
jbe 0x44a8d4
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
lea ecx, [esp + esi*2 + 0xc]
mov eax, dword [esp + 0x488]
push eax
push str._s.dll
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test edi, edi
pop edi
pop esi
je 0x44a91b
mov edx, dword [0x653d64]
push 0x653a98
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 8
lea eax, [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x47c
ret 4

Function at 0x458b48
Capabilities:
Encode data using xor

Disassembly:
push esp
sbb dword [ecx], 0xffffff9d
pop eax
xchg esi, eax
fcomp st(4)
push eax
or dword [ecx + 0xa], 0x53
adc ebp, dword [edx + ebx*4 - 0x78095c83]
int3
sub esp, ebx
jp 0x458ad8
cli
arpl si, bp
sbb dword [eax], 0xffffffc4
aam 0xd3
in eax, 0x70
mov esi, 0xa542cecc
in eax, 0x22
mov cl, bl
and dword [eax + 0x45459e61], ecx
dec edx
in al, dx
add cl, bh
xor ch, bl
imul edi, dword [0x7e66fffa], 0x33
ja 0x458b5b
into
or al, 0x84
lahf
imul esi, dword [esi], 0x76ceae26
mov byte [edi - 0x58], dh
mov bl, 0x16
mov dl, 0x18
add byte [ebp + 0x134d575b], bl
dec eax
lahf
push es
clc
inc edx
cmp byte [edi], 0x86
bound esi, qword [esi]
nop
in al, dx
and ch, al
lds edi, [edx - 0x4e]
mov edx, edx
stosd dword es:[edi], eax
mov ecx, ecx
xor ecx, dword [ebx + 0x1c411be4]
fnstcw word [esi + 0x7d]
neg byte [ebp + ecx*8 + 0x1b]
pop eax
fbstp tbyte [ecx + 0x4e699be8]
stc
iretd

Function at 0x4eb873
Capabilities:
Encode data using xor

Disassembly:
mov bh, bl
xor eax, 0xe3c9b13e
jbe 0x4eb8cf
stc
mov al, byte ss:[esi]
fistp qword [edx + 0x2e]
invalid
stosb byte es:[edi], al
outsb dx, byte [esi]
xchg esi, eax
hlt
ja 0x4eb92e
loopne 0x4eb8be
dec ecx
xchg edx, eax
sbb edi, dword [eax]
add eax, 0x64e3eef3
jp 0x4eb8e2
jmp 0x4eb8f0
pop ebp
and eax, dword [edi - 0x2b]
inc esi
retf
sub dh, byte [edi + 0x585a62ba]
lahf
mov edx, 0x9f585a62
adc edx, dword [eax + 0x7f09456b]
xchg esi, eax
or byte [ebx], bl
push 0xffffffffffffff82
fsub st(7)
sub ebx, ecx
and ah, byte [edi - 6]
adc al, 0x68
retf 0x8808
and dl, byte [edx + 0xf]
cmpsb byte [esi], byte es:[edi]
lcall 0xcb5b, 0x6a277777
pop ebx
dec esi
and al, 0x7f
adc eax, 0xfeaf1e1a
sbb byte [eax + 0x3a], cl
add al, 0x35
and byte [edx - 0x48], dl
mov dh, 0x39
sti
jg 0x4eb986
push esi
mov ebp, 0xc9f87bda
jle 0x4eb8ee
inc edi
xor dword [edi], edx
pop ss
lds eax, [edi]
wait
or dl, dl
sti
push ebp
retf
sti
pop ebp
fldcw word [ebx - 0x6b]
stosb byte es:[edi], al
push ebp
xor al, 0x4b
leave
pop ebx
xor al, 0x58
jg 0x4eb98c
aam 0x84
sti
cmp eax, 0xdb13014b
ljmp 0xf7cd

Function at 0x513f34
Capabilities:
Encode data using xor

Disassembly:
push cs
sub eax, 0xb4cb3436
jmp 0x513f78
invalid
Function at 0x44c651
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
jmp 0x44c664
movzx ebx, byte [eax]
movzx edx, byte [eax + 1]
movzx edi, byte [eax + 5]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 2]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
xor ebx, edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 6]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 7]
shl edx, 8
xor edx, edi
xor edx, dword [ecx + 4]
movzx edi, byte [eax + 9]
mov dword [ebp - 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xa]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xb]
shl edx, 8
xor edx, edi
xor edx, dword [ecx + 8]
movzx edi, byte [eax + 0xd]
mov dword [ebp - 0x10], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
xor ebx, dword [ecx]
shl edx, 8
xor edx, edi
mov edi, dword [ebp - 0x10]
shl edx, 8
xor edx, eax
xor edx, dword [ecx + 0xc]
shr edi, 8
mov dword [ebp - 0x14], edx
shr edx, 0x10
mov eax, 0xff
and edx, eax
mov edx, dword [edx*4 + reloc.MSVCRT.dll_malloc]
and edi, eax
xor edx, dword [edi*4 + reloc.MSVCRT.dll_malloc]
mov edi, ebx
shr edi, 0x18
xor edx, dword [edi*4 + reloc.MSVCRT.dll_malloc]
mov edi, dword [ebp - 4]
and edi, eax
xor edx, dword [edi*4 + reloc.MSVCRT.dll_malloc]
mov edi, ebx
xor edx, dword [ecx + 0x10]
shr edi, 0x10
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, eax
and edi, eax
mov dword [ebp - 8], edi
mov edi, dword [edx*4 + reloc.MSVCRT.dll_malloc]
mov edx, dword [ebp - 8]
xor edi, dword [edx*4 + reloc.MSVCRT.dll_malloc]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor edi, dword [edx*4 + reloc.MSVCRT.dll_malloc]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call 0x3c78978e
xchg ebp, eax
inc eax
jnp 0x44c7b4
add byte [ebx - 0x153e03ab], cl
adc cl, al
jmp 0x44c781
and edx, eax
mov edx, dword [edx*4 + reloc.MSVCRT.dll_malloc]
and ebx, eax
xor edx, dword [ebx*4 + reloc.MSVCRT.dll_malloc]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edx, dword [ebx*4 + reloc.MSVCRT.dll_malloc]
mov ebx, dword [ebp - 0x14]
and ebx, eax
Function at 0x479af0
Capabilities:
Encode data using xor

Disassembly:
push ecx
jmp 0x479f7a
lea ecx, [eax + ecx]
mov edx, dword [ecx]
pop ecx
cmc
xchg ecx, eax
jmp 0x47a03d
call 0x47a2e8
mov ah, 0x2a
dec ebp
mov esp, 0xb929bd7f
fsubr dword [ebx]
ljmp 0xf737
mov byte [esp + 7], cl
lea esp, [esp + 2]
and al, 2
lea esp, [esp + 8]
jmp 0x479b02
js 0x478eec
jns 0x479d37
sti
jbe 0x479af5
cmp dword [esi - 0x35], reloc.MSVCRT.dll_malloc
mov dword [edi + ebp*8 - reloc.MSVCRT.dll_malloc], esp
outsb dx, byte [esi]
stosd dword es:[edi], eax
mov cl, 0x44
jecxz 0x479b8c
int1
cdq
test eax, 0x2a595242
inc ecx
push ecx
mov ebp, 0x4fdd8514
sbb dh, ch
xlatb
inc ebp
pop esp
insb byte es:[edi], dx
fsubr dword [edi]
inc esi
jle 0x479ac9
cli
push ecx
sbb ah, byte [0xa3937cc0]
pcmpgtd mm5, mm5
lahf
adc dword [eax], ebp
pushal
fld dword [ebp - 0x7cee8a74]
inc esp
mov al, 0x7d
jmp 0x479bae
push edi
scasb al, byte es:[edi]
adc bh, byte [esi + 0x42328615]
scasb al, byte es:[edi]
add eax, 0xbd4cf5c6
adc al, 0x4c
or eax, 0x87ebf2eb
stc
popal
push ds
sub eax, 0x1aae9e0b
jno 0x479b5a
push eax
ret 0x618b
mov dh, dh
dec ebp
mov dh, 0x68
fisubr dword [ebp - 0x5b]
cmp byte [edx - 0x2a], cl
lodsd eax, dword [esi]
push esp
mov eax, dword [reloc.MSVCRT.dll_malloc]
pop ecx
mov bh, dh
loope 0x479bf8
xor eax, 0x193583a9
xor byte [esi], al
sbb eax, 0xa18a1801
or eax, 0x50a48d76
mov eax, dword [reloc.MSVCRT.dll_malloc]
push eax
push 0x48
push esp
push cs
stosb byte es:[edi], al
mov dword [reloc.MSVCRT.dll_malloc], eax
jg 0x479ba8
out dx, al
sub edi, eax
mov ebp, edi
mov al, 0xe8
jecxz 0x479b59
invalid
ljmp 0x398f:0x7c158517
mov eax, dword [ebp + 8]
sub eax, ecx
push ebp
call 0x479d18
mov dword [ebp - 8], eax
jmp 0x479f94
pushal
mov dword [esp + 0x18], esi
pushfd
lea esp, [esp + 4]
popal
jmp 0x478ed6
lea esp, [esp + 8]
jmp 0x478ed0
mov dword [esp], ebp
lea esp, [esp + 0xc]
or eax, dword [ebp - 4]
sub esp, 6
lea esp, [esp + 2]
jmp 0x479fc2
cmc
sub esp, 6
shr eax, cl
cmc
pushfd
jmp 0x479f9d
mov dword [esi], eax
lea eax, [eax - 0xd3]
mov eax, dword [esp]
jmp 0x47a021
lea esi, [edx*4]
mov dword [esp + 0x1c], edx
popal
push cx
lea esp, [esp]
jmp 0x479fb8
xchg al, ah
pushal
mov al, byte [esp]
mov bl, 0xd5
mov si, bx
jmp 0x479fd8
mov eax, ecx
dec cl
mov ecx, ebx
sub esp, 0x13
jmp 0x47a00b
lea esp, [esp + 3]
jmp 0x47a0b2
lea eax, [ecx*4]
jmp 0x479ffc
not ax
lea ecx, [ebx*4]
mov ecx, dword [ebp + 0xc]
bsf ax, sp
or ah, cl
jmp 0x479fef
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
neg eax
call fcn.0047a052
mov dword [ebp - 4], eax
jmp 0x47a0c2
shl edx, cl
push di
push word [esp]
pushfd
push word [esp + 5]
jmp 0x47a06f
lea esp, [esp + 0x14]
test edi, edi
call 0x47a0ce
lds ecx, [ebp + 0xf042464]
invalid

Function at 0x48c153
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 8]
jmp 0x48c15d
test eax, eax
pushfd
call fcn.0048c21e
Function at 0x524da9
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00524f59
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x524ea7
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x524e4a
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x524e8d
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x524e61
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x524e7c
test al, 0x40
je 0x524e73
mov ecx, dword [edi + 0x20]
jmp 0x524e7a
test al, 0x80
je 0x524e8d
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x524e8d
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x524e19
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x53d37c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5cfba4]
xor edx, edx
cmp eax, edx
jne 0x53d3a2
xor eax, eax
mov byte [eax + 0x5cfaa4], al
inc eax
cmp eax, 0x100
jl 0x53d38a
mov dword [0x5cfba4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5cfaa4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x53d433
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x53d406
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x53d3d4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x53d4ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x53d4ff
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x53d4e6
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x683d88
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov dword [ebx + reloc.MSVCRT.dll_malloc], esi
in eax, dx
xchg esp, eax
push 0x538dec02
or byte [eax + ebp*4 + 0x529a637c], cl
add dword [ecx], reloc.MSVCRT.dll_malloc
fnstsw word [ebp + 0x45]
sub dword [ebx + reloc.MSVCRT.dll_malloc], edx
in eax, 0x14
aam 0xbc
xchg esi, eax
wait
arpl cx, sp
outsb dx, byte [esi]
mov ss, word [eax + 0x1a]
fdiv st(7)
mov cl, 0x77
xchg ecx, eax
xchg ecx, eax
pop esi
lds esp, [eax + 0x5788e90f]
and eax, 0xce2a9f81
push eax
sal byte [0x71fe3419], 1
fcom qword [ecx + 0x281cf73]
or edx, dword [ebx - reloc.MSVCRT.dll_malloc]
lcall 0xe127, 0x5e3ef2a4
xchg esp, eax
mov dword [reloc.MSVCRT.dll_malloc], eax
xor al, 0xfc
adc ch, ch
in eax, dx
mov esp, 0x928edb50
idiv dword [ecx]
xchg edx, eax
jle 0x683d1b
cld
xor esi, dword [ecx + reloc.MSVCRT.dll_malloc]
push ecx
cmp dword [eax], reloc.MSVCRT.dll_malloc
popfd
loop 0x683d7d
imul ebx, dword [ecx + eax*2 - reloc.MSVCRT.dll_malloc], 0xa852d2a0
cmpsb byte [esi], byte es:[edi]
mov eax, ebx
cdq
bswap edx
cdq
and esp, esp
and al, 0x41
invalid

Function at 0x699bff
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push word [esp + 0x2b]
push dword [esp + 0x2b]
jmp 0x699c23
Function at 0x424440
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x567b60]
xor edx, edx
cmp eax, edx
jne 0x424466
xor eax, eax
mov byte [eax + 0x567a60], al
inc eax
cmp eax, 0x100
jl 0x42444e
mov dword [0x567b60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x567a60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4244f7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4244ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x424498
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4245c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4245aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b000
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42b198
cmp ebp, ebx
jle 0x42b198
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42b05e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42b065
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42b074
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42b07b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00463d94
add esp, 4
cmp eax, ebx
je 0x42b09c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00463d94
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42b18e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42b175
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42b161
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42b156
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42b164
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42b164
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42b100
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42b0f1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x438fc0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471b48
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x438ff9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43910c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43900d
mov eax, 0xffffffc7
jmp 0x43910e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43901e
cmp dword [esi + 8], eax
jne 0x43900d
cmp dword [esi + 8], eax
jne 0x439037
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439037
mov eax, 0xffffffc7
jmp 0x43910e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43904b
push eax
mov ecx, ebx
call fcn.004387f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00409220
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43907c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00409240
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00437f60
test eax, eax
mov dword [esp + 0x38], eax
je 0x4390af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53f388
call fcn.00409420
mov eax, dword [esp + 0x38]
jmp 0x43910e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00438e20
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4390f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00438e40
mov esi, eax
test esi, esi
jne 0x439123
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00438e20
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4390c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53f388
call fcn.00409420
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53f388
call fcn.00409420
mov eax, esi
jmp 0x43910e