joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d8f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d91d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d91d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x9ff058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9ff1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9ff07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ff06a
add dl, dl
jne 0x9ff089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ff0dc
xor eax, eax
add dl, dl
jne 0x9ff096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ff17d
add dl, dl
jne 0x9ff0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ff0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ff0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ff0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9ff0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9ff075
mov eax, 1
add dl, dl
jne 0x9ff0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ff0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ff0e1
sub eax, ebx
mov ebx, 1
jne 0x9ff128
mov ecx, 1
add dl, dl
jne 0x9ff10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ff119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ff105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ff075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9ff13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ff14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ff136
cmp eax, 0x7d00
jae 0x9ff16d
cmp eax, 0x500
jb 0x9ff168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ff075
cmp eax, 0x7f
ja 0x9ff170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ff075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9ff19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9ff075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40dcf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x40dd0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40dd11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40dd00
mov eax, 1
add ebx, ebx
jne 0x40dd23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40dd18
jne 0x40dd34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd18
xor ecx, ecx
sub eax, 3
jb 0x40dd48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ddba
mov ebp, eax
add ebx, ebx
jne 0x40dd53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40dd60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dd84
inc ecx
add ebx, ebx
jne 0x40dd70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40dd65
jne 0x40dd81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40dda4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40dd95
jmp 0x40dd06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40dda4
add edi, ecx
jmp 0x40dd06
pop esi
mov edi, esi
mov ecx, 0x15b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ddc2
cmp byte [edi], 5
jne 0x40ddc2
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 0x40ddc7
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40de36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd544]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd580]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ddf4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd588]
or eax, eax
je 0x40de30
mov dword [ebx], eax
add ebx, 4
jmp 0x40de11
call dword [esi + 0xd584]
mov ebp, dword [esi + 0xd58c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40de6a
sub esp, 0xffffff80
jmp 0x405690
Function at 0x101c5023
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1034ebc0]
jne 0x101c502d
repz ret
jmp fcn.101c8870

Function at 0x101caaee
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.101c5146
and dword [ebp - 4], 0
cmp dword [0x10350d9c], 0
mov ebx, eax
jne 0x101cab9f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101cac50
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101cac50
push eax
call fcn.101c50d4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10350d9c], eax
call esi
push eax
call fcn.101c50d4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10350da0], eax
call esi
push eax
call fcn.101c50d4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10350da4], eax
call esi
push eax
call fcn.101c50d4
pop ecx
mov dword [0x10350dac], eax
test eax, eax
je 0x101cab9f
push 0x101d830c
push edi
call esi
push eax
call fcn.101c50d4
pop ecx
mov dword [0x10350da8], eax
mov eax, dword [0x10350da8]
cmp eax, ebx
je 0x101cabf7
cmp dword [0x10350dac], ebx
je 0x101cabf7
push eax
call fcn.101c514f
push dword [0x10350dac]
mov esi, eax
call fcn.101c514f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101cabf7
test edi, edi
je 0x101cabf7
call esi
test eax, eax
je 0x101cabee
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101cabee
test byte [ebp - 0xc], 1
jne 0x101cabf7
or dword [ebp + 0x10], 0x200000
jmp 0x101cac30
mov eax, dword [0x10350da0]
cmp eax, ebx
je 0x101cac30
push eax
call fcn.101c514f
pop ecx
test eax, eax
je 0x101cac30
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101cac30
mov eax, dword [0x10350da4]
cmp eax, ebx
je 0x101cac30
push eax
call fcn.101c514f
pop ecx
test eax, eax
je 0x101cac30
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10350d9c]
call fcn.101c514f
pop ecx
test eax, eax
je 0x101cac50
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101cac52
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101d530d
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]
mov dword [0x1034e650], 0
mov byte [0x1034e654], 0
mov dword [0x1034e644], 0x2578
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1034e64c], 0
mov dword [ebp - 0x1c], eax
jmp 0x101d5377
xor eax, eax
mov ecx, dword [0x1034e648]
add ecx, 0xffffee3c
mov dword [0x1034e644], ecx
mov dword [0x1034e64c], 0
mov dword [ebp - 0x20], eax
jmp 0x101d53b3
mov eax, dword [ebp - 0x1c]
mov dword [0x1034e648], 0xf4
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1034e644], 0x198b
mov eax, dword [0x1034e64c]
add eax, 1
mov dword [0x1034e64c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101d5377
jmp 0x101d5354
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1034e658], 0
mov edx, dword [0x1034e650]
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 [0x1034e658], edi
mov dword [0x1034e644], 0x135a
mov eax, edi
cdq
idiv ecx
mov dword [0x1034e650], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1034e654], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1034e654]
mov edx, dword [0x1034e650]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1034e64c]
add edx, 1
mov dword [0x1034e64c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101d53b3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101d5458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1034e648], 0x143b
mov dword [0x1034e644], 0x139d
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101d54c4
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x101d7a94]
mov dl, byte [eax + 0x101d7a65]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x101d5538
jmp 0x101d5493
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x190
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, eax
add esi, 1
imul eax, eax, 0x190
add edx, eax
add edx, 0x16c
mov eax, dword [edx]
movzx edx, word [edi]
xor edx, eax
add edx, ecx
cmp esi, 0x6db
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], esi
jne 0x101d54c4
mov dword [0x1034e644], 0x52
xor eax, eax
mov dword [ebp - 0x13c], eax
jmp 0x101d5493
lea eax, [ebp - 0x12c]
mov dword [0x1034e644], 0x1392
mov dword [ebp - 0x144], eax
call fcn.101d6498
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.101d50c4
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x148]
mov dword [0x1034e660], ecx
mov edx, esp
mov esi, dword [ebp - 0x140]
mov dword [edx + 4], esi
mov dword [edx + 0xc], 4
mov dword [edx + 8], 0x1000
mov dword [edx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
imul esi, eax, 0x190
mov edi, edx
add edi, esi
add edi, 0x16c
mov esi, dword [edi]
imul edi, eax, 0x190
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x190
add edx, ebx
add edx, 0x68
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x14c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.101d5eed
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
add edx, 1
cmp edx, 0x6db
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], edx
jne 0x101d55b7
lea eax, [0x101d7a73]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x14c]
add esi, 0x1219ad
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], edx
call fcn.101d530d
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.101d60d1
xor eax, eax
mov ecx, dword [ebp - 0x14c]
add ecx, 0xe4762
mov edx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x164]
mov dword [edx], esi
mov dword [0x1034e644], 0x512
mov dword [edx + 4], 0x158000
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2020
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101d5778
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x1034e644], 0x5cf
mov dword [ebp - 0x10], eax
call fcn.101d4f60
mov ecx, 0xfffff04b
xor edx, edx
mov esi, eax
mov dword [0x1034e644], 0x140d
mov edi, dword [eax + 0x3c]
mov ebx, esi
add ebx, edi
mov dword [0x1034e648], 0x276
cmp dword [eax + edi], 0x4550
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
je 0x101d585e
jmp 0x101d57e5
mov al, byte [ebp - 0x21]
test al, 1
jne 0x101d591a
jmp 0x101d58e5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [0x1034e644], ecx
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x1034e648], 0x1d3a
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edx
je 0x101d5933
jmp 0x101d587b
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x21], cl
je 0x101d57d5
jmp 0x101d58b4
mov eax, 0xfffff7a0
mov ecx, dword [ebp - 0x14]
mov dword [0x1034e648], 0x9cb
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x101d57e5
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x30]
mov edi, dword [esi + eax*4]
mov dword [0x1034e644], 0x5cf
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
jmp 0x101d582f
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x21]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101d582f
jmp 0x101d57d5
mov eax, dword [ebp - 0x54]
add eax, 1
mov ecx, dword [ebp - 0x58]
add ecx, 2
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
xor eax, eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x28]
cmp ecx, edx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], eax
jb 0x101d588b
jmp 0x101d5933
mov eax, dword [ebp - 0x58]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x38]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101d5949
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1034e644]
add esi, 0xffffecd2
mov dword [0x1034e644], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101d7a94]
mov dl, byte [eax + 0x101d7a65]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x101d5973
lea eax, [ebp - 0x24]
mov dword [0x1034e644], 0x1392
mov dword [0x1034e648], 0x3361
mov dword [ebp - 0x34], eax
call fcn.101d6498
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101d50c4
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101d5a7d
mov eax, dword [ebp - 0x38]
mov dword [0x1034e644], 0x74d
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101d5239
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1034e644], 0x1a79
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov dword [0x1034e648], 0x1509
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x38], ecx
add ecx, 0x176e
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101d5a74
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101d5b68
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x1034e644]
add edx, 0xfffffe01
mov dword [0x1034e644], edx
mov dword [0x1034e648], 0x258d
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101d5458
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
lea eax, [0x101d5f4d]
mov dword [esp + 0x80], 0x158000
mov dword [0x1034e644], 0x1bf6
mov ecx, dword [0x1034e630]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x1034e634]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x1034e638]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x1034e63c]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x1034e640]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], eax
jmp 0x101d5c45
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [0x1034e644], 0x140d
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x84], edx
mov dword [0x1034e648], 0xa8c
call fcn.101d5fa1
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x101d5c84
jmp 0x101d5cb6
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x101d5c68
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x101d5c06
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
jmp 0x101d5c45
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101d5949
mov dword [esp + 8], eax
mov eax, esp
lea ecx, [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 8]
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x101d5fa1
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0xc], 0
mov eax, dword [0x1034e648]
add eax, 0xfffffc4a
mov dword [0x1034e644], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x1034e648]
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov edi, edx
add edi, 0xffffe172
mov dword [0x1034e644], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x101d602c
jmp 0x101d6040
mov eax, dword [ebp - 0x18]
add eax, 0xffffe77b
mov dword [0x1034e648], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101d6079
jmp 0x101d60b8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
je 0x101d6059
jmp 0x101d60b8
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
jl 0x101d5ff3
jmp 0x101d602c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101d60b8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101d600b
jmp 0x101d60b8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101d60b8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101d60b8
mov eax, 1
mov dword [0x1034e648], 0x1644
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x101d60c7
xor eax, eax
mov dword [0x1034e648], 0x19ef
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x24
pop esi
pop edi
pop ebp
ret
Function at 0x101d60d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1034e64c], 0
mov dword [0x1034e650], 0
mov dword [0x1034e65c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101d620e
jmp 0x101d6143
mov eax, dword [0x1034e64c]
mov ecx, dword [0x1034e650]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1034e64c], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1034e650], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1034e654], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1034e654]
mov edx, dword [0x1034e650]
mov byte [ebx + edx], cl
mov edx, dword [0x1034e64c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1034e650]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1034e65c], ecx
mov dword [0x1034e644], 0x1195
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov edx, dword [0x1034e648]
add edx, 0xffffed36
mov dword [0x1034e644], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x101d612c
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402374
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x41d04c]
test eax, eax
je 0x4023b3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4023b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4023b3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4023b3
cmp dword [ecx + 0x74], 0xe
jbe 0x4023b3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret