joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404b20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x404b3b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x404ba7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x404b7f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x404b86
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x404b32
mov esp, ebp
pop ebp
ret

Function at 0x407696
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4076b7
jl 0x4076ae
test edi, edi
jne 0x4076b7
xor eax, eax
xor edx, edx
jmp 0x407778
cmp dword [ebx + 0x38], 0
je 0x4076cc
push eax
push edi
push dword [ebp + 8]
call fcn.0040777e
jmp 0x407778
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x407713
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x407713
cmp eax, edi
jb 0x4076ed
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00409140
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x407719
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40776d
mov ecx, ebx
call fcn.00406ee5
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x407758
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040eb54
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40776d
jmp 0x40772b
test edx, edx
je 0x40776d
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040eb54
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x408faf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408fee
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408fee
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408fee
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408fee
cmp dword [ecx + 0x74], 0xe
jbe 0x408fee
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41409c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x424b24
push 0x424b1c
push str.FlsAlloc
push 0x1f
call fcn.00413ec7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4140d0
push dword [ebp + 8]
mov ecx, esi
call dword [0x4211ec]
call esi
jmp 0x4140d6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41411a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x424b34
push 0x424b2c
push str.FlsGetValue
push 0x21
call fcn.00413ec7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414151
push dword [ebp + 8]
mov ecx, esi
call dword [0x4211ec]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x414159
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x424b3c
push 0x424b34
push str.FlsSetValue
push 0x22
call fcn.00413ec7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414193
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4211ec]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x416cf2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408140
mov eax, dword [0x42b080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00415939
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x416d34
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x416e90
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004201c0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x42cbb8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00417cef
mov ecx, dword [esi*4 + 0x42cbb8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x416e89
cmp eax, dword [ecx + edi + 0x24]
jne 0x416e89
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416e89
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00417cef
add esp, 0x14
test edx, edx
jl 0x416e89
jg 0x416dff
test eax, eax
jb 0x416e89
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x416e89
jl 0x416e19
cmp dword [ebp - 0x1008], eax
ja 0x416e89
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x416e37
test ebx, ebx
je 0x416e70
cmp ecx, edi
jae 0x416e70
mov al, byte [ecx]
cmp al, 0xd
jne 0x416e51
lea eax, [edi - 1]
cmp ecx, eax
jae 0x416e5d
cmp byte [ecx + 1], 0xa
jne 0x416e5d
inc ecx
jmp 0x416e5d
movzx eax, al
movsx eax, byte [eax + 0x42b350]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x416e37
cmp edx, ebx
jne 0x416e37
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x416e8e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00408107
leave
ret
Function at 0x417187
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x42cbb8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4171c7
cmp byte [ebx], 0xa
jne 0x4171c7
or byte [edi + eax + 0x28], 4
jmp 0x4171cc
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4172cb
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4172ae
inc eax
cmp dl, 0xd
je 0x4171f8
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x41721e
cmp eax, ecx
jae 0x41722c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4171e0
jmp 0x4172cb
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4172a9
cmp dword [ebp - 0x10], 0
je 0x4172a9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x42cbb8]
test byte [eax + edi + 0x28], 0x48
je 0x417283
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41726e
mov byte [esi], dl
jmp 0x41727f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x42cbb8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4172cb
cmp byte [ebp - 1], 0xa
jne 0x417292
cmp esi, ebx
jne 0x417292
mov byte [esi], 0xa
jmp 0x4172ca
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00417d0d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4172cb
mov byte [esi], 0xd
jmp 0x4172ca
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x42cbb8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4172c8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4172cb
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4172d4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x42cbb8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41731a
cmp word [ebx], dx
jne 0x41731a
or byte [eax + edi + 0x28], 4
jmp 0x41731f
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x417482
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x417462
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x417360
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417396
cmp eax, edx
jae 0x4173a4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41733b
jmp 0x417482
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41745d
cmp dword [ebp - 0x18], 0
je 0x41745d
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x42cbb8]
test byte [eax + edi + 0x28], 0x48
je 0x417433
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4173f7
mov word [esi], cx
jmp 0x41742e
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x42cbb8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x42cbb8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x42cbb8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x417482
pop eax
cmp word [ebp - 4], ax
jne 0x417443
cmp esi, ebx
jne 0x417443
mov word [esi], ax
jmp 0x41747f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00417d0d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x417482
push 0xd
pop eax
jmp 0x41743e
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x42cbb8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41747c
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x417482
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419f45
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x419fe2
push ebx
push esi
call fcn.00419f0e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00418c3f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x419f8f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x419fe1
push edi
push eax
call fcn.004147c1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x419faf
call fcn.00412f8b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x419fe0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00418c3f
add esp, 0x20
test eax, eax
jne 0x419fce
push edi
call fcn.00412f8b
jmp 0x419fd6
push ebx
call fcn.00412f8b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41c5c3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00412ca0
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41c632
cmp esi, dword [ebp - 4]
je 0x41c62d
cmp dword [ebp + 0xc], 0
je 0x41c62d
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c60a
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041c115
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41c634
xor eax, eax
inc eax
jmp 0x41c634
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41c699
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42b080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00412ca0
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00412ca0
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41c710
cmp word [ecx], dx
je 0x41c710
mov eax, dword [0x425184]
push edi
dec eax
push eax
push 0x425070
call fcn.0041c638
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41c783
cmp word [eax], dx
je 0x41c783
mov eax, dword [edi]
test eax, eax
je 0x41c734
cmp word [eax], dx
je 0x41c734
lea eax, [ebp - 0x10]
push eax
call fcn.0041c01b
jmp 0x41c73d
lea eax, [ebp - 0x10]
push eax
call fcn.0041c0b6
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41c7ad
mov eax, dword [0x42506c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x424d60
call fcn.0041c638
add esp, 0xc
test al, al
je 0x41c7ad
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41c778
cmp word [eax], di
je 0x41c778
lea eax, [ebp - 0x10]
push eax
call fcn.0041c01b
pop ecx
jmp 0x41c7af
lea eax, [ebp - 0x10]
push eax
call fcn.0041c0b6
jmp 0x41c775
mov eax, dword [edi]
test eax, eax
je 0x41c79a
cmp word [eax], dx
je 0x41c79a
lea eax, [ebp - 0x10]
push eax
call fcn.0041bfd0
pop ecx
jmp 0x41c7ad
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41c878
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041c4bd
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41c878
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41c878
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41c878
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41c805
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00414299
test ebx, ebx
je 0x41c873
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00414299
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41c878
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41c878
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041e546
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41c87a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408107
leave
ret
Function at 0x420180
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x467e3068
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x19d123cf
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40591a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub ecx, 0x3c8b
add ecx, 0x2b22
pop ecx
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0xab8], eax
jmp 0x4058ec
push esi
push edx
add esp, 4
jmp 0x4058fa
or esi, 0xbfa7
sub esi, 0xc433
or esi, 0x2a4e
pop esi
push edx
call 0x40591a
add byte [eax], bh
dec esp
inc ecx
dec esi
inc edi
aas
add esp, 4
pop edx
mov byte [ebp - 0x878], 0x45
mov byte [ebp - 0x877], 0x78
mov byte [ebp - 0x876], 0x69
mov byte [ebp - 0x875], 0x74
mov byte [ebp - 0x874], 0x50
push eax
mov byte [ebp - 0x873], 0x72
mov byte [ebp - 0x872], 0x6f
mov byte [ebp - 0x871], 0x63
mov byte [ebp - 0x870], 0x65
mov byte [ebp - 0x86f], 0x73
idiv edi
push dword [ebx - 0x3a]
test dword [edx + 0x73fffff7], edx
mov byte [ebp - 0x86d], 0
push eax
or eax, 0x162b4
pop eax
push edi
push eax
add esp, 4
add edi, 0x2dbd
pop edi
push esi
add esi, 0x1c45
pop esi
push edx
or edx, 0x6dda
pop edx
push esi
add esi, 0x2b93
and esi, 0xc0a9
pop esi
mov ecx, 0x6b
mov word [ebp - 0x1738], cx

Function at 0x405b41
Capabilities:
Get number of processors

Disassembly:
inc dword [eax]
jne 0x405b13
mov dword [ebp - 0x31c], 0
jmp 0x405dcf
mov eax, dword [ebp - 0x15d8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc98], edx
xchg ebp, eax
push 0x57fffff3
xor edi, 0xb5e9
or edi, 0x1c7f
add byte [eax], al
call 0x405b41
add byte [edi + 0x3c], cl
cmp al, 0x46
dec ebx
xor esi, dword [ebx]
inc edi
add esp, 4
pop edi
push edx
push ebx
add esp, 4
and edx, 0x15c42
add edx, 0x3898
pop edx
cmp dword [ebp - 0xc98], 0
jne 0x405b6f
mov dword [ebp - 0x31c], 0
jmp 0x405dcf
mov eax, dword [ebp - 0xc98]
mov dword [ebp - 0x504], eax
Function at 0x405c94
Capabilities:
Get number of processors

Disassembly:
push ebx
or ebx, 0x14b61
and ebx, 0x50c9
and ebx, 0x355a
sub ebx, 0x8624
and al, 0x86
add byte [eax], al
pop ebx
push ebx
push edi
add esp, 4
add ebx, 0x131f7
sub ebx, 0x21d6
or ebx, 0x16b5
pop ebx
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
push dword [ebx]
shl byte [esi - 0x77], cl
xchg ebp, eax
hlt
invalid
invalid
invalid
push edi
push ebx
add esp, 4
or edi, 0xedff
add edi, 0x4856
or edi, 0x839a
sub edi, 0x13944
pop edi
push ebx
or ebx, 0x5c02
xor ebx, 0x13d38
cmp byte [0xeb810001], bh
lahf
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
pop ebx
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push eax
and eax, 0xf5d0
call 0x405c7b
add byte [esi], dh
xor al, 0x4a
cmp ecx, dword [edx + 0x39]
inc eax
inc ebx
add esp, 4
pop eax
push edi
push ecx
add esp, 4
call 0x405c94
add byte [ecx], bh
inc ecx
dec ecx
dec eax
dec esi
xor eax, 0x364c5050
add esp, 4
pop edi
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x405cbb
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x405d1e
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x405bda
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
invalid
invalid
cmp ecx, edx
je 0x405bda
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x405d08
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x405d12
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x405d67
push esi
sub esi, 0xd378
xor esi, 0x7e88
pop esi
push edx
push edi
add esp, 4
add edx, 0xb133
push edi
xor edi, 0x3e4b
call 0x405d7b
add byte [edx], bh
dec eax
cmp al, byte ss:[edi + 0x3e]
dec edx
add esp, 4
jmp 0x405d83
pop edi
push esi
jmp 0x405d8c
or esi, 0x11c3b
or esi, 0xb9a8
pop esi
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x405dc5
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x405b7b
mov dword [ebp - 0x31c], 0