joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426022
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 0x426044
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x426044
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x426044
ret
cmp word [ebx + 4], 0x14c
jne 0x426044
test word [ebx + 0x16], 2
je 0x426044
test word [ebx + 0x16], 0x100
je 0x426044
cmp word [ebx + 0x18], 0x10b
jne 0x426044
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x426044
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4260d0
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x426064
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040cfaf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x426044
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 0x4260d0
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 0x426044
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x426044
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x426044
ret
cmp word [ebx + 4], 0x14c
jne 0x426044
test word [ebx + 0x16], 2
je 0x426044
test word [ebx + 0x16], 0x100
je 0x426044
cmp word [ebx + 0x18], 0x10b
jne 0x426044
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x426044
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4260d0
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x426064
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040cfaf
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x426044
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 0x426187
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4261e0
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x426187
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x426196
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 0x82be39
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 0x4261e7
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.0040d05d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x426286
add edi, 4
add eax, 2
dec ecx
jne 0x4261cc
call 0x426233
loope 0x426229
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x426283
mov dh, pe_nt_image_headers32
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 0x426294
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 0x426247
cmp eax, ecx
ja 0x426247
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4262d1
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4262c7
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040d53c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x426196
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4261e0
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x426187
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x426196
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 0x82be39
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 0x4261e7
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.0040d05d
cmp eax, dword [ebp + 0xc]
pop eax
je 0x426286
add edi, 4
add eax, 2
dec ecx
jne 0x4261cc
call 0x426233
loope 0x426229
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x426283
mov dh, pe_nt_image_headers32
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 0x426294
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 0x426247
cmp eax, ecx
ja 0x426247
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4262d1
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4262c7
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040d53c
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1000c08a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.1000bd03
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1000bd3e
sahf
invalid

Function at 0x1000c19b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x1c], 0x2b
call fcn.1000bd4e
push eax
push esi
push dword [ebp + 8]
call fcn.1000bd03
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000bd3e
ja 0x1000c214
mov dword [edx - 0x78], 0xffff7c9d
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
push ecx
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.1000bd3e
sub bh, ch
add esi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.1000bd4e
push eax
push esi
push dword [ebp + 8]
call fcn.1000bd03
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x1000c537
jae 0x1000c1dc
inc ebp
invalid
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.1000bcaf
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x1000c2ae
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.1000bcaf
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x1000c27b
call fcn.1000bd3e
pop bx
ror dword [eax - 0x75], 0x7e
cmp al, 3
dec byte [ecx - 0x8743]
dec dword [ebx + 0x8087]
xchg dword [eax + 0x3b000000], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40284c
cmp byte [esi + 0x3d], 0
je 0x40284c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40283a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x402801
sub eax, 1
je 0x402805
sub eax, 2
jne 0x40283a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b3f
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x402823
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40283a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b3f
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402b3f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00402b3f
mov esp, ebp
pop ebp
ret

Function at 0x40340a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403449
mov ecx, _CxxThrowException
cmp word [eax], cx
jne 0x403449
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403449
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403449
cmp dword [ecx + 0x74], 0xe
jbe 0x403449
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0xc162f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xc16302
pushal
call 0xc16308
pop ebp
sub ebp, 0x10
sub ebp, 0x8162f8
jmp 0xc1631e
mov eax, 0x8162f8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e3
mov edx, 0x7dcdbdc1
xor byte [eax], dl
inc eax
dec ecx
jne 0xc16335
jmp 0xc16348
dec edx
or al, 0x4a
dec eax
std
rol ecx, 0xc1
inc eax
add byte [ecx], bh
rol ecx, 0xc1
ret 0x790c
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, 0x19fb2e09
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3c575e65
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x492e726e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x30834a6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0xa6d810
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4f9000]
push edi
or ebp, 0xffffffff
jmp 0xa6d832
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa6d839
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6d828
mov eax, 1
add ebx, ebx
jne 0xa6d84b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa6d85c
jne 0xa6d87b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6d87b
dec eax
add ebx, ebx
jne 0xa6d868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa6d840
add ebx, ebx
jne 0xa6d877
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa6d8cd
xor ecx, ecx
sub eax, 3
jb 0xa6d893
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa6d902
sar eax, 1
mov ebp, eax
jmp 0xa6d89e
add ebx, ebx
jne 0xa6d89e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6d86c
inc ecx
add ebx, ebx
jne 0xa6d8ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa6d86c
add ebx, ebx
jne 0xa6d8b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa6d8ae
jne 0xa6d8ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa6d8ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa6d8ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa6d8de
jmp 0xa6d82e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa6d8ec
add edi, ecx
jmp 0xa6d82e
pop esi
mov edi, esi
mov ecx, 0x317c27
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xa6d927
cmp byte [edi], 0x2a
jne 0xa6d90c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xa6d90a
lea edi, [esi + 0x668000]
mov eax, dword [edi]
or eax, eax
je 0xa6d96f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x673528]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x673654]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa6d92d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x673658]
or eax, eax
je 0xa6d969
mov dword [ebx], eax
add ebx, 4
jmp 0xa6d94a
call dword [esi + 0x673668]
mov ebp, dword [esi + 0x67365c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xa6d9a3
sub esp, 0xffffff80
jmp 0x7479dc
Function at 0x10251fee
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 [ebp - 0x10], eax
call fcn.10253473
mov ecx, eax
mov edx, dword [0x10287590]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffffe7e0
mov dword [0x1028758c], ecx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov dword [0x10287590], 0x1178
mov esi, dword [ebp - 0x1c]
add esi, 0xffffdddf
mov dword [0x1028758c], esi
mov dword [0x10287590], 0x83d
mov esi, dword [ebp - 0x18]
mov edx, dword [esi + edx + 0x78]
mov dword [0x1028758c], 0x2076
add esi, dword [esi + edx + 0x20]
mov edi, dword [ebp - 0x18]
mov ebx, dword [edi + edx + 0x18]
cmp ebx, 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
je 0x10252165
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x102520fe
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x102520ad
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x10252136
jmp 0x10252107
mov eax, dword [ebp - 0x3c]
add eax, 2
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jb 0x10252093
jmp 0x10252165
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x1028758c], 0x2157
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10287590], 0xd6c
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10252170
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x1028758c], 0x1b77
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x10287590], 0x68b
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1028758c], 0x1049
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x102521e6
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x102521b9
mov eax, dword [ebp - 0x1c]
mov dword [0x1028758c], 0x162a
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x102522b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x102522b0
mov dword [0x10287590], 0xcc3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2], 0x61
jne 0x102522b0
mov dword [0x1028758c], 0x15d5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x102522b0
mov dword [0x1028758c], 0x3b73
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x102522b0
mov dword [0x1028758c], 0x1718
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x102522b0
mov eax, 0x2d23
mov ecx, 1
mov dword [0x10287590], 0xfd3
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
je 0x102522bf
mov eax, 0x24e8
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x102522bf
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [0x1028758c], ecx
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x10252872
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x1769
mov dword [0x10287598], 0
mov byte [0x1028759c], 0
mov dword [0x1028758c], 0x1769
mov dword [0x10287594], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffe280
mov dword [0x1028758c], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x1028758c]
mov esi, ecx
add esi, 0xfffff237
mov dword [0x10287590], esi
mov esi, dword [0x10287594]
add esi, 1
mov dword [0x10287594], esi
cmp esi, 0x100
mov edi, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jl 0x102528bf
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffe7c2
mov dword [0x1028758c], ecx
mov dword [0x10287594], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, 0x100
mov dword [0x102875a0], 0
mov dword [0x10287590], 0x2161
mov edx, dword [0x10287598]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x2c], 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 [0x102875a0], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x10287598], edx
mov dword [0x1028758c], 0x2438
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov cl, byte [ecx + edi]
mov byte [0x1028759c], cl
mov dword [0x1028758c], 0x1cf5
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1028759c]
mov edx, dword [0x10287598]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1028758c], 0x1799
mov edx, dword [0x10287594]
add edx, 1
mov dword [0x10287594], edx
cmp edx, 0x100
mov dword [ebp - 0x28], edx
jl 0x10252930
mov dword [0x1028758c], 0x27cb
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1025315d
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 [0x1028758c], 0x13
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10253228
mov eax, dword [ebp - 0x30]
mov dword [0x10287590], 0x185a
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 ecx, dword [0x1028758c]
add ecx, 0xfffff955
mov dword [0x1028758c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.1025303f
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x28], ecx
mov dword [0x1028758c], 0xfffff3db
mov dword [0x10287590], 0x9c
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x102532b9
jmp 0x1025329a
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1025568a]
mov dl, byte [eax + 0x1025565b]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10253228
lea eax, [ebp - 0x20]
mov dword [0x10287590], 0x1499
mov dword [0x1028758c], 0x11f8
mov dword [ebp - 0x3c], eax
call fcn.102527a4
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.102522d1
xor ecx, ecx
mov dword [0x1028758c], 0x23c5
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
je 0x102532b9
jmp 0x10253183
mov eax, dword [ebp - 0x34]
add eax, 0x10d8
mov dword [0x10287590], 0x1744
mov dword [0x1028758c], 0x1b4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret