joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd2da20a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0xd2da254
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0xd2da1fb
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0xd2da20a
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 0xd6dfead
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 0xd2da25b
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.0d2c10d1
cmp eax, dword [ebp + 0xc]
pop eax
je 0xd2da2fa
add edi, 4
add eax, 2
dec ecx
jne 0xd2da240
call 0xd2da2a7
loope 0xd2da29d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0xd2da2f7
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 0xd2da308
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 0xd2da2bb
cmp eax, ecx
ja 0xd2da2bb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0xd2da345
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0xd2da33b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0d2c15b0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1002907
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001330
call fcn.01002b14
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002942
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002942
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100295a
cmp eax, 0x20b
je 0x1002947
mov dword [ebp - 0x1c], edi
jmp 0x100296e
cmp dword [ecx + 0x84], 0xe
jbe 0x1002942
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002968
cmp dword [ecx + 0x74], 0xe
jbe 0x1002942
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004c9c], 0xffffffff
or dword [0x1004ca0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004c94]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004c90]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004ca4], eax
call fcn.01002b0a
cmp dword [0x1004030], edi
jne 0x10029c9
push fcn.01002b0a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002af3
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004c8c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004c88]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001772
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002a40
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002a75
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002b4f
ret

Function at 0x401189
Capabilities:
Encode data using add xor sub operations

Disassembly:
push ebp
push ebp
mov ebp, esp
stc
pop ebp
mov ebp, esp
pushal
push 6
push 0x4011b0
clc
push edx
push eax
push ebp
mov ebp, esp
stc
pop ebp
mov eax, 4
sub edx, edx
cdq
sar eax, 1
nop
pop eax
pop edx
jmp 0x4011b7
push 0x3c
push section..data
push 0x4011dd
clc
push edx
push eax
push ebp
mov ebp, esp
stc
pop ebp
mov eax, 4
sub edx, edx
cdq
sar eax, 1
nop
pop eax
pop edx
jmp 0x40183b
push ebp
push ebp
mov ebp, esp
stc
pop ebp
mov ebp, esp
pushal
push ebp
mov ebp, esp
stc
pop ebp
mov ecx, dword [ebp + 0xc]
push ebp
mov ebp, esp
stc
pop ebp
mov esi, dword [ebp + 8]
push ebp
mov ebp, esp
stc
pop ebp
mov edi, dword [ebp + 0x10]
push ebp
mov ebp, esp
stc
pop ebp
mov ebx, dword [ebp + 0x14]
sub ebp, ebp
cld
sub edx, edx
push ebp
mov ebp, esp
stc
pop ebp
mov eax, ebp
div ebx
add edx, edi
lodsb al, byte [esi]
xor al, byte [edx]
push ebp
mov ebp, esp
stc
pop ebp
mov byte [esi - 1], al
inc ebp
loop 0x401867
popal
leave
ret 0x10
Function at 0x1d7bddf
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x1d6f073
sub eax, eax
pop esi
jmp 0x1e5a184
js 0x1db5c81
jmp 0x1ebd5b8
mov eax, dword [ebp + 8]
ror dl, 0x44
mov ecx, dword [ebp - 4]
sar edx, cl
ror dl, 0xc6
mov edx, dword [ecx + eax + 0x24]
not ch
lea ecx, [edx + esi*2]
cmp bp, sp
mov dx, 0x2ee6
bsr edx, eax
movzx edx, word [ecx + eax]
and cx, sp
setbe cl
jmp 0x1d5246c
ret
cmp dword [eax + ecx], 0x4550
jmp 0x1d8baab
je 0x18ad000
mov eax, dword [eax + ecx + 0x7c]
test ecx, ebx
push ebx
push edi
jmp 0x1d47f59
mov dword [ebp - 0x10], eax
cmp di, 0x7fe2
test esp, esi
test sp, 0x12ae
mov dword [ebp - 8], 0xffffffff
cmp esi, 0xffff
ja 0x1da46d1
mov eax, esi
sub eax, dword [edx + ecx + 0x10]
mov dword [ebp - 8], eax
jmp 0x1ee322d
je 0x18ad000
mov esi, dword [ebp + 0xc]
cmp cl, 0xd8
cmp bh, ch
test esi, esi
je 0x18ad000
mov eax, 0x5a4d
jmp 0x1f39dc9
mov dword [ebp - 8], edx
test sp, bp
jmp 0x1db5c76
mov eax, dword [ecx + 0x3c]
jmp 0x1d149ca
push ebp
mov ebp, esp
shld cx, cx, 0xec
add cl, 0x7b
mov ecx, dword [ebp + 8]
test esp, edx
clc
sub esp, 0x114
test eax, edi
push esi
test ebp, edx
test ecx, ecx
jmp 0x1d4d88a
jne 0x18ad000
mov edx, dword [eax + ecx + 0x78]
jmp 0x1e9303a
mov edi, dword [edx + ecx + 0x18]
test esp, esi
cmp esi, 0x14355df6
test si, 0x7de8
test edi, edi
jmp 0x1ebbc26
mov ecx, eax
mov edx, esi
sar dx, 0x18
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + ecx + 0x14]
jmp 0x1e74395
mov esp, ebp
movzx ebp, si
mov ebp, eax
pop ebp
jmp 0x1ce4509
jmp 0x1f118a5
jns 0x1f11899
lea edi, [esi - 1]
jmp 0x1e5c99a
jle 0x1ebd5ab
jmp 0x1db5c7e
mov dword [ebp - 0xc], eax
jmp 0x1c4b705
mov dword [ebp - 4], edx
test edx, edx
jmp 0x1d2715d
je 0x1db5c81
mov eax, dword [edx + ecx + 0x20]
add eax, ecx
clc
xor ebx, ebx
dec edi
jmp 0x1e8af3a
mov eax, dword [ebp - 0xc]
sbb si, 0x1716
cmp sp, 0x16d7
mov edx, dword [ebp + 0x10]
test esp, 0xaad0497
and esi, ecx
neg si
lea esi, [edi + ebx]
sar esi, 1
test bx, si
cmp ebx, eax
stc
mov eax, dword [eax + esi*4]
push edx
mov edx, dword [ebp + 0xc]
add eax, ecx
call fcn.01f2702e
lea esp, [esp + 4]
cmc
test eax, eax
jmp 0x1e7fe1e
jmp 0x1db5c81
jle 0x1c67591
lea ebx, [esi + 1]
setg cl
mov ecx, dword [ebp + 8]
cmp ebx, edi
jmp 0x1e870df
cmp word [ecx], ax
jmp 0x18acffa
Function at 0x6dd6ea
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x6dd79e
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.006dd67a
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x6dd777
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6dd7aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x6dd7c5
test ebp, ebp
je 0x6dd7c5
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x6dd7cd
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x6dd80d
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x6dd869
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x6dd864
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x6dd84f
test dl, dl
je 0x6dd84b
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x6dd84f
add ecx, 2
add eax, 2
test dl, dl
jne 0x6dd82f
xor eax, eax
jmp 0x6dd854
sbb eax, eax
or eax, 1
test eax, eax
je 0x6dd873
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x6dd81c
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x6dd88a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.006dd6ea
test eax, eax
jne 0x6dd8a2
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.006dd7aa
mov esi, eax
test esi, esi
jne 0x6dd8d8
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x6dd8f2
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x6dd9ea
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.006dd6ea
mov esi, eax
test esi, esi
jne 0x6dda08
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.006dd7aa
mov dword [esp + 0x18], eax
test eax, eax
je 0x6dda00
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.006dd7aa
mov dword [esp + 0x34], eax
test eax, eax
je 0x6dda00
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.006dd7aa
mov dword [esp + 0x28], eax
test eax, eax
je 0x6dda00
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.006dd7aa
mov dword [esp + 0x30], eax
test eax, eax
je 0x6dda00
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x6ddbcf
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x6ddbcf
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x6ddb32
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x6ddbb3
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x6ddb55
movzx esi, ax
jmp 0x6ddb5a
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x6ddb79
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x6ddb88
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x6ddbdc
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x6ddb4a
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x6ddb0f
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x6ddc05
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x6ddc05
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x6ddbea
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x6ddc1a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.006dd6ea
mov esi, eax
test esi, esi
je 0x6ddcd6
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.006dd7aa
mov ebp, eax
test ebp, ebp
je 0x6ddcd5
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.006dd7aa
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x6ddcd5
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x6ddcd5
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6ddcd4
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x6ddcba
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x6ddf53
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x6ddf63
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x6de071
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.006de081
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x6de071
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.006de081
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x6de071
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.006de081
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x6de071
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x6de06e
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.006de094
test eax, eax
je 0x6de05d
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.006de0c8
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x6de018
add esp, 0xc
mov eax, 0
jmp 0x6de07b
mov esp, ebp
pop ebp
ret 8
Function at 0x6de1a6
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x6de25a
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.006de136
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x6de233
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6de266
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x6de281
test ebp, ebp
je 0x6de281
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x6de289
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x6de2c9
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x6de325
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x6de320
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x6de30b
test dl, dl
je 0x6de307
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x6de30b
add ecx, 2
add eax, 2
test dl, dl
jne 0x6de2eb
xor eax, eax
jmp 0x6de310
sbb eax, eax
or eax, 1
test eax, eax
je 0x6de32f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x6de2d8
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x6de346
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.006de1a6
mov esi, eax
test esi, esi
je 0x6de402
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.006de266
mov ebp, eax
test ebp, ebp
je 0x6de401
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.006de266
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x6de401
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x6de401
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6de400
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x6de3e6
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x474f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x474f42
call fcn.0047a885
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x474f42
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x474f39
xor eax, eax
jmp 0x474f4a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00474f50
pop edi
pop esi
pop ebx
ret 4

Function at 0x47adb5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47ade3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47ae01
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047ad1b
jmp 0x47ae01
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47ae01
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047ad1b
test edi, edi
mov eax, edi
jne 0x47adeb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x40fa68
Capabilities:
Encode data using xor

Disassembly:
shr ch, 0x30
cmc
sbb bh, byte [eax]
dec ecx
imul dword [0xcce1373a]
stc
sub al, byte [ebx]
mov cl, 0xd8
mov byte [0x44ef11bf], al
mov fs, esp
fsubrp st(0)
sahf
mov al, 0xa5
bound edi, qword [esi + 0x4beee857]
add ecx, dword [ecx + 0x60de633f]
jge 0x40fa0e
add eax, 0xf619566d
stosd dword es:[edi], eax
rcr byte [edi + eax*8 + 0x581c12b9], 0x34
and al, dh
clc
push esp
inc eax
xchg ebp, eax
invalid
pop ds
sub byte [esi - 0x10], bl
mov ebx, 0x4e7fdacf
mov eax, 0xa9bca8cc
mov eax, 0xa9bca8cc
arpl bx, sp
xchg dword [ebp + 0xd], esi
invalid
push ecx
je 0x40fa9a
or eax, 0xa32e7451
jecxz 0x40fa5f
mov dword [0xb040f0e3], eax
jne 0x40fa6c
inc eax
mov al, 0x75
stc
out dx, eax
invalid
push eax
insb byte es:[edi], dx
jl 0x40fa12
xchg ecx, ebx
rcl byte [edi - 0x1999d97f], 0xad
salc
outsb dx, byte fs:[esi]
bound ebp, qword [esi + 0x7746b4dd]
add dl, byte [edx]
wait
cmp byte [esi + 0x6ba5b973], ah
cmp esi, dword [ebp + 0x6ec425dd]
dec ebx
mov dl, 0x40
jae 0x40fa55
movsd dword es:[edi], dword [esi]
imul edi, dword [ebx], 0xffffffb5
frstor dword [0xb24b6ec4]
inc eax
pop esi
adc esp, dword [edx + 0x58]
aaa
xor byte [esi - 0x1f], dl
jp 0x40fa7f
add ah, byte [ecx + 0x5eb6471b]
inc ebp
invalid