joyce8/EMBER2024-capa huggingface dataset:
Function at 0x994470
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x9d633c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x99449b
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
add edx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x9944e2
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebx
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], eax
jmp 0x9944e5
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
push eax
call ecx
mov eax, dword [ebp + 0x10]
add esp, 8
mov dword [ebp - 4], 0
test eax, eax
je 0x994546
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea esp, [esp]
mov dl, byte [ebx]
xor dl, 0x36
mov byte [ebp + 0xb], dl
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
lea eax, [ebp + 0xb]
push eax
push ecx
call edx
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
mov edx, dword [edi + 8]
mov eax, dword [esi + 4]
push 1
lea ecx, [ebp + 0xb]
push ecx
push edx
inc ebx
call eax
add esp, 0x18
dec dword [ebp - 8]
jne 0x994510
mov ecx, dword [ebp - 4]
pop ebx
cmp ecx, dword [esi + 0x10]
jae 0x99457f
nop
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push 1
push str.6PF
push edx
call eax
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
push 0x9ca44b
push ecx
call edx
mov eax, dword [ebp - 4]
inc eax
add esp, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x10]
jb 0x994550
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x994650
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000040
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x994683
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x800c
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x36ff515f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xfc60cf4
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x411240
Capabilities:
Encode data using xor

Disassembly:
mov edi, dword [0xf46737b2]
cmp eax, 0x1269dfee
mov fs, word [ebp - 0x3376cba7]
pop ebp
push ss
xchg ebx, eax
div bh
daa
add byte [eax + 0x18], 0xfb
inc ebx
out 0x42, eax
mov al, byte [esi - 0x743ace5d]
mov dword [0x1b2be872], eax
cmp ch, byte [0xbe1dab6a]
popal
push esi
mov ch, 0xe8
mov al, byte [0x8c12313a]
mov dword [0xc6d93891], 0xcf53de6d
cmp al, 0xbb
bound ebx, qword [eax + 0x43]
wait
dec eax
pop ds
mov bl, 0xe5
mov dword [0xf60459b3], eax
jbe 0x4112cd
stosd dword es:[edi], eax
xchg dl, ch
invalid
mov ch, 0xdd
aad 0xc1
pop ecx
stosd dword es:[edi], eax
jno 0x4112f8
invalid
sahf
inc ebx
test eax, 0xe3007003
dec ebx
push ebx
or al, 0x97
movsb byte es:[edi], byte [esi]
stc
xchg dword [ebx], edx
add byte [ebp - 0x3c0e5295], 0x85
mov ecx, dword [ecx]
movsb byte es:[edi], byte [esi]
out 0x34, eax
fcom dword [edx - 0x5d]
sbb ebp, eax
xor dh, ch
stosd dword es:[edi], eax
mov ecx, 0x183b9651
fucomi st(3)
xor ecx, dword [eax]
add al, 0x4b
scasb al, byte es:[edi]
mov bl, 0x43
invalid

Function at 0x4d7e7f
Capabilities:
Encode data using xor

Disassembly:
and ebp, dword [ecx - 0x29]
mov bh, 0x8b
leave
mov ch, 0x9d
pop edx
or al, 0xfa
add ch, byte [edx + ecx*2 - 0xf1c6279]
push es
sti
xor cl, bl
jl 0x4d7e6b
cmpsd dword [esi], dword es:[edi]
iretd

Function at 0x52b59c
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
mov word [eax - 0x39d19436], ss
pushal
jb 0x52b5d4
in eax, 0xe6
adc byte [esi + 0x29b8e90d], dl
fisttp word [ecx + 0x40]
enter 0xffffffffffff8632, 0xffffffffffffffb3
bound esi, qword [edx - 0x5973411c]
out 0xe3, al
fist word [ebx - 0xe]
rcr dword [esi - 0x2c9997d7], cl
test al, 0xe2
adc dl, byte [edi]
push ebp
into
in eax, 0x66
or edi, eax
mov ecx, 0x86c5d6
mov ah, 0x66
inc esi
dec edi
inc ebx
and ecx, 0xe84a7742
dec ecx
push edx
movsb byte es:[edi], byte [esi]
xor eax, 0xb4746616
push ss
je 0x52b554
push ss
je 0x52b554
cdq
sbb byte [ebx - 0x36e9028], ah
outsd dx, dword [esi]
xchg ecx, eax
cld
mov cl, 5
add eax, 0x29afc58d
inc eax
cmp dword [edx - 0x7e], esi
je 0x52b608
xchg esi, eax
invalid
mov dh, 0x95
inc ebp
in al, 2
invalid
xchg byte [ebx], al
dec ebx
xor byte [ebx - 0x2d], bl
mov ah, 0xe5
or byte [eax + 0x3ef0dec6], dh
adc al, 0xe1
mov al, 0xc6
fdivrp st(0)
adc al, 0xe1
xchg byte [edx], ah
scasd eax, dword es:[edi]
jae 0x52b5ff
fsub qword [esi - 0x43bd38d2]
retf
Function at 0x658e2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f398
cmp edx, dword [eax]
je 0x658e4f
add eax, 8
inc ecx
cmp eax, 0x65f428
jl 0x658e40
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f398]
jne 0x658f7d
mov eax, dword [0xa5bdf4]
cmp eax, 1
je 0x658f57
test eax, eax
jne 0x658e80
cmp dword [0x65f2c4], 1
je 0x658f57
cmp edx, 0xfc
je 0x658f7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x658eb7
lea eax, [ebp - 0x1a4]
push 0x65e4f8
push eax
call fcn.00659810
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00659ca0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x658efa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00659ca0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e4f4
push edi
call fcn.0065bb70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65e4d8
push eax
call fcn.00659810
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00659820
lea eax, [ebp - 0xa0]
push 0x65e4d4
push eax
call fcn.00659820
push dword [esi + 0x65f39c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00659820
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65e4ac
push eax
call fcn.0065bae4
add esp, 0x2c
pop edi
jmp 0x658f7d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f39c]
push 0
push eax
push dword [esi]
call fcn.00659ca0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x5d8e0902
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x696076a5
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1004078b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1014583c], 0
mov byte [0x10145840], 0
mov dword [0x10145830], 0xe16
mov dword [0x10145834], 0x299f
mov dword [0x10145838], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x10145834], 0x4b1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10145830], 0xfffff44e
mov eax, dword [0x10145838]
add eax, 1
mov dword [0x10145838], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100407da
jmp 0x100408d4
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10145844], 0
mov edx, dword [0x1014583c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10145844], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x1014583c], edx
mov dword [0x10145834], 0x37e
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10145840], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10145834], 0x2d3
mov cl, byte [0x10145840]
mov edx, dword [0x1014583c]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10145834]
add edx, 0xffffe43a
mov dword [0x10145830], edx
mov edx, dword [0x10145838]
add edx, 1
mov dword [0x10145838], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10040819
jmp 0x100408e8
xor eax, eax
mov dword [0x10145838], 0
mov dword [ebp - 0x20], eax
jmp 0x10040819
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10040cb9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x10145830]
add ecx, 0x7fc
mov dword [0x10145834], ecx
mov dword [ebp - 0x10], eax
call fcn.10040ae4
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10040d07
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10145834], 0x1b36
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10145830], 0xed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10040e44
jmp 0x10040d63
mov al, byte [ebp - 0x35]
test al, 1
jne 0x10040e17
jmp 0x10040ded
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10145834], 0x8e9
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x35], cl
je 0x10040d53
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x35]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x50], eax
jne 0x10040d97
jmp 0x10040d53
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x10040d73
jmp 0x10040e44
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov dword [0x10145830], 0xfffff4d9
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10145834], 0x1932
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10040e6e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001092
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10040e9f
jmp 0x10040fd8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jmp 0x10040fd8
lea eax, [esp + 0x38]
mov dword [0x10145830], 0x104f
mov dword [esp + 0x1c], eax
call fcn.10041083
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x10040e92
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100403d4
lea ecx, [0x10041607]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], 0x13a200
mov edx, dword [0x1014581c]
mov dword [esp + 0x40], edx
mov edx, dword [0x10145820]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10145824]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10145828]
mov dword [esp + 0x6c], edx
mov edx, dword [0x1014582c]
mov dword [esp + 0x60], edx
mov dword [0x10145830], 0x2085
mov dword [0x10145834], 0xc5b
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10040f59
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10040f6d
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10040f36
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov dword [0x10145834], 0x983
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x74], esi
mov dword [0x10145830], 0xd5e
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100412d5
mov dword [0x10145830], 0x1bd4
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x10145834], 0x5f1
mov dword [esp + 0x20], eax
jmp 0x10040e92
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10041083
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0xc], 0
mov dword [0x10145830], 0x1456
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x10145830]
add edx, 0x6ec
mov dword [0x10145830], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x10041118
mov eax, 0xd0a
mov dword [0x10145830], 0xd0a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
je 0x100411c2
jmp 0x1004120f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
je 0x100411a7
jmp 0x1004120f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe194
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edi
je 0x1004116f
mov eax, 0x26a6
mov dword [0x10145830], 0x26a6
mov ecx, dword [ebp - 0x2c]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], ecx
jl 0x10041118
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [0x10145834], edx
add ecx, 0xffffedf6
mov dword [0x10145830], ecx
mov esi, dword [ebp - 0x14]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov edi, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edi
je 0x100410fa
jmp 0x1004120f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
je 0x100410d0
jmp 0x1004120f
mov eax, 0xd0a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
jne 0x1004120f
mov eax, 0xd0a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x24], eax
jne 0x1004120f
mov eax, 1
mov ecx, 0xd0a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], eax
je 0x10041221
mov eax, dword [ebp - 0x24]
xor ecx, ecx
add eax, 0xffffd9cd
mov dword [0x10145830], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
add esp, 0x34
pop esi
pop edi
pop ebp
ret
Function at 0x100412d5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10145830], 0x19d9
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10041331
lea eax, [ebp - 0x20]
mov dword [0x10145830], 0xaed
mov dword [ebp - 0x30], eax
call fcn.10041821
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1004146b
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1004140d
jmp 0x10041359
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1004467c]
mov dl, byte [eax + 0x1004464d]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x100412f8
jmp 0x10041331
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x10145830]
add ecx, 0xffffeb0c
mov dword [0x10145830], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10145830], 0xc0e
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100408f0
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov dword [0x10145834], 0x1f09
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x38], ecx
mov dword [0x10145830], 0x431
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1004140d
mov eax, dword [ebp - 0x3c]
add eax, 0x11df
mov dword [0x10145830], 0x1cbc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10041660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x24d8
xor ebx, ebx
mov dword [0x10145838], 0
mov dword [0x1014583c], 0
mov dword [0x10145848], 0
mov dword [0x10145830], 0x237b
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10041811
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10145838], edx
mov dword [0x10145830], 0xfffffe77
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1014583c], edx
mov dword [0x10145830], 0xe10
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10145840], cl
mov dword [0x10145830], 0x1452
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10145840]
mov edx, dword [0x1014583c]
mov byte [ebx + edx], cl
mov dword [0x10145834], 0x1380
mov edx, dword [0x10145838]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1014583c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x10145830]
mov esi, edx
add esi, 0x1940
mov dword [0x10145830], esi
and ecx, 0xff
mov dword [0x10145848], ecx
mov cl, byte [ebx + ecx]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x34]
mov ch, byte [esi + ebx]
mov bl, cl
add bl, byte [0x1014584d]
mov byte [0x1014584c], bl
mov byte [0x1014584d], ch
mov byte [0x1014584e], cl
xor ch, cl
add edx, 0xffffe7f7
mov dword [0x10145834], edx
mov dword [0x10145830], 0x1f87
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x3c], edi
je 0x10041804
mov eax, dword [0x1014583c]
mov ecx, dword [0x10145838]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
jmp 0x100416cb
mov eax, dword [0x10145830]
add eax, 0x15d
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x10145830], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d9d8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40da17
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40da17
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40da17
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40da17
cmp dword [ecx + 0x74], 0xe
jbe 0x40da17
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219