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

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100280bd
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100280bd
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100280bd
ret
cmp word [ebx + 4], 0x14c
jne 0x100280bd
test word [ebx + 0x16], 2
je 0x100280bd
test word [ebx + 0x16], 0x100
je 0x100280bd
cmp word [ebx + 0x18], 0x10b
jne 0x100280bd
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100280bd
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10028149
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100280dd
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000f028
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100280bd
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10028149
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100280bd
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100280bd
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100280bd
ret
cmp word [ebx + 4], 0x14c
jne 0x100280bd
test word [ebx + 0x16], 2
je 0x100280bd
test word [ebx + 0x16], 0x100
je 0x100280bd
cmp word [ebx + 0x18], 0x10b
jne 0x100280bd
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100280bd
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10028149
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100280dd
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000f028
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100280bd
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10028200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10028259
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10028200
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002820f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042deb2
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10028260
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000f0d6
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100282ff
add edi, 4
add eax, 2
dec ecx
jne 0x10028245
call 0x100282ac
loope 0x100282a2
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100282fc
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002830d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100282c0
cmp eax, ecx
ja 0x100282c0
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002834a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10028340
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000f5b5
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002820f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10028259
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10028200
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1002820f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042deb2
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10028260
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000f0d6
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100282ff
add edi, 4
add eax, 2
dec ecx
jne 0x10028245
call 0x100282ac
loope 0x100282a2
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100282fc
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002830d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100282c0
cmp eax, ecx
ja 0x100282c0
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002834a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10028340
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000f5b5
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x55b4ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x65d7d8]
jne 0x55b4f4
repz ret
jmp fcn.0055e1dc

Function at 0x55fcbf
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.0055b5ec
and dword [ebp - 4], 0
cmp dword [0x65f32c], 0
mov ebx, eax
jne 0x55fd70
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x55fe21
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x55fe21
push eax
call fcn.0055b57a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x65f32c], eax
call esi
push eax
call fcn.0055b57a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x65f330], eax
call esi
push eax
call fcn.0055b57a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x65f334], eax
call esi
push eax
call fcn.0055b57a
pop ecx
mov dword [0x65f33c], eax
test eax, eax
je 0x55fd70
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055b57a
pop ecx
mov dword [0x65f338], eax
mov eax, dword [0x65f338]
cmp eax, ebx
je 0x55fdc8
cmp dword [0x65f33c], ebx
je 0x55fdc8
push eax
call fcn.0055b5f5
push dword [0x65f33c]
mov esi, eax
call fcn.0055b5f5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x55fdc8
test edi, edi
je 0x55fdc8
call esi
test eax, eax
je 0x55fdbf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x55fdbf
test byte [ebp - 0xc], 1
jne 0x55fdc8
or dword [ebp + 0x10], 0x200000
jmp 0x55fe01
mov eax, dword [0x65f330]
cmp eax, ebx
je 0x55fe01
push eax
call fcn.0055b5f5
pop ecx
test eax, eax
je 0x55fe01
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x55fe01
mov eax, dword [0x65f334]
cmp eax, ebx
je 0x55fe01
push eax
call fcn.0055b5f5
pop ecx
test eax, eax
je 0x55fe01
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x65f32c]
call fcn.0055b5f5
pop ecx
test eax, eax
je 0x55fe21
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x55fe23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x560b85
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x65d258], 0x115f
mov dword [ebp - 0x10], eax
call fcn.005620d0
mov ecx, eax
mov dword [0x65d25c], 0x25db
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [0x65d258], 0x6a9
mov dword [0x65d25c], 0x500
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ecx + edx + 0x78]
add ecx, dword [ecx + esi + 0x20]
mov dword [0x65d25c], 0xfffff998
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + esi + 0x24]
mov dword [0x65d258], 0xffffffc8
mov edx, dword [edi + esi + 0x18]
cmp edx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x560d0c
jmp 0x560c75
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov dword [0x65d258], 0xfcc
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], eax
jb 0x560c85
jmp 0x560d0c
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x560c9f
jmp 0x560cc8
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
jne 0x560c4b
mov al, byte [ebp - 0x42]
test al, 1
jne 0x560cd4
jmp 0x560c18
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x4e], cx
mov ax, word [ebp - 0x4e]
movzx ecx, ax
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x65d258], 0x203
mov dword [0x65d25c], 0x1ed
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x560d17
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x38
mov dword [0x65d258], 0x149c
mov dword [ebp - 8], 0
mov dword [0x65d25c], 0xd70
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [0x65d258], 0x1029
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov esi, dword [0x65d25c]
add esi, 0xffffef39
mov dword [0x65d25c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
jmp 0x560da4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x65d258], 0x2389
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
je 0x560df2
jmp 0x560e91
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
je 0x560d7d
mov eax, 0x1e90
mov dword [0x65d25c], 0x1e90
mov ecx, dword [ebp - 0x30]
add ecx, 1
cmp ecx, 0x104
mov edx, eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], ecx
jl 0x560da4
jmp 0x560d7d
mov eax, dword [ebp - 0x2c]
add eax, 0xffffea0e
mov dword [0x65d258], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x32], dx
mov ax, word [ebp - 0x32]
cmp ax, 0x6f
jne 0x560e91
mov dword [0x65d258], 0xb97
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x560e91
mov dword [0x65d258], 0x6fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x560e91
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x560e91
mov dword [0x65d258], 0x1582
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x560e91
mov eax, 0x423
mov ecx, 1
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x560ea0
mov eax, 0x250b
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jmp 0x560ea0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [0x65d258], ecx
add esp, 0x38
pop esi
pop ebp
ret
Function at 0x561465
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 [0x65d264], 0
mov byte [0x65d268], 0
mov dword [0x65d258], 0x154f
mov dword [0x65d25c], 0x2f
mov dword [0x65d260], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x561576
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x65d26c], 0
mov edx, dword [0x65d264]
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 [0x65d26c], edi
mov dword [0x65d25c], 0xfa3
mov eax, edi
cdq
idiv ecx
mov dword [0x65d264], edx
mov dword [0x65d258], 0x1fab
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x65d268], cl
mov dword [0x65d258], 0x291
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x65d268]
mov edx, dword [0x65d264]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x65d258], 0x2472
mov edx, dword [0x65d260]
add edx, 1
mov dword [0x65d260], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x5614b9
jmp 0x5615c4
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x65d258], 0x198
mov eax, dword [0x65d260]
add eax, 1
mov dword [0x65d260], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x561576
xor eax, eax
mov dword [0x65d25c], 0x2124
mov dword [0x65d260], 0
mov dword [ebp - 0x20], eax
jmp 0x5614b9
mov dword [0x65d258], 0xdd5
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x56171d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x65d258], 0x8fa
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x65d25c], 0xd98
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x60fbd4]
mov dl, byte [eax + 0x60fba5]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x561748
lea eax, [ebp - 0x20]
mov dword [0x65d25c], 0x238
mov dword [0x65d258], 0xfffffc53
mov dword [ebp - 0x30], eax
call fcn.005618b9
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.00561992
xor ecx, ecx
mov dword [0x65d258], 0x269b
mov dword [0x65d25c], 0x189f
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x56187f
mov eax, dword [ebp - 0x34]
mov dword [0x65d25c], 0x4f9
mov dword [0x65d258], 0xecb
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 [0x65d258], 0x23d8
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.0056131b
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [0x65d25c], 0xfffffa52
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x34], ecx
mov dword [0x65d258], 0x3483
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x56187f
mov eax, dword [ebp - 0x3c]
add eax, 0x1000
mov dword [ebp - 0x40], eax
mov dword [0x65d258], 0x36b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x562024
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [0x65d258]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x23ec
mov dword [0x65d25c], eax
mov eax, dword [ebp - 4]
cmp eax, 0
jne 0x5620ad
mov dword [0x65d258], 0xe8e
lea eax, [0x5616ba]
mov dword [0x65d25c], 0xfffff37e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
jne 0x562089
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x56209b
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 0xc], eax
jmp 0x56206d
mov dword [0x65d258], 0xe4a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x5620c8
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x18], eax
call fcn.005610bf
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add esp, 0x20
pop ebp
ret
Function at 0x562255
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x25f6
xor ebx, ebx
mov dword [0x65d260], 0
mov dword [0x65d264], 0
mov dword [0x65d270], 0
mov dword [0x65d25c], 0x25f6
mov dword [0x65d258], 0x1ee4
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], edi
mov dword [ebp - 0x2c], ebx
je 0x562408
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x65d260], edx
mov dword [0x65d258], 0x3b
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x65d264], edx
add esi, 0xfffff363
mov dword [0x65d25c], esi
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x65d268], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x65d258]
add edx, 0xffffdf8e
mov dword [0x65d258], edx
mov cl, byte [0x65d268]
mov edx, dword [0x65d264]
mov byte [edi + edx], cl
mov edx, dword [0x65d260]
movzx edx, byte [edi + edx]
mov ebx, dword [0x65d264]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x65d270], ebx
mov dword [0x65d258], 0x1954
mov dword [0x65d25c], 0xfffff92f
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x65d275], ch
mov byte [0x65d276], cl
xor ch, cl
mov byte [0x65d274], ch
mov dword [0x65d258], 0xffffeeab
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
mov edx, dword [0x65d258]
add edx, 0xffffff5b
mov dword [0x65d25c], edx
add ebx, 1
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edx
je 0x562408
mov eax, dword [0x65d260]
mov ecx, dword [0x65d264]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
jmp 0x5622ca
mov dword [0x65d25c], 0x559
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401926
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [0x536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x5141f6
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x4019ee
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x5141f6
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x50ded1
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x401a94
cmp edi, dword [esi + 0x7c]
jge 0x401a94
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.00416338
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00416338
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x5141f6
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x5141f6
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x4019e6
jmp 0x4019b6
call fcn.0041a55f
int3

Function at 0x41266e
Capabilities:
Encode data using xor

Disassembly:
call 0x6e9a8044
cmp dword [ebx - 6], esp
retf 0xd061
or eax, 0x1cbd12b8
cmp dword [ecx + esi*8 - 0x7a], edx
add eax, 0x741d09e7
and al, 0x3d
push ds
out 9, eax
sbb eax, 0x1e3d2474
xor eax, 0x9a708560
add byte [ebp + 0x6a], dh
jae 0x412678
pop ds
je 0x412645
xchg esi, eax
aam 0xcd
sub esi, dword [ebp + 0x346cbb35]
xchg ecx, eax
fcomp dword [ebx]
stosd dword es:[edi], eax
scasb al, byte es:[edi]
push ebx
push eax
jp 0x412640
insd dword es:[edi], dx
sahf
stc
into
nop
out dx, al
mov ecx, 0xa3f47e0d
shr dword [esi], 0xc0
push ecx
lahf
mov bh, 0x70
out dx, eax
ljmp 0xbf9