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

Disassembly:
sub esp, 0x24
mov eax, dword [0x42c040]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [0x485b48]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x401f99
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402630
lea ecx, [esp + 0x14]
call fcn.00401d65
cmp eax, 0x8aafdc01
je 0x401fb1
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402ef5
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x401f68
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004069ff
add esp, 0x24
ret
mov edx, str.QwruxAA
call fcn.00403895
push eax
call fcn.00403863
mov eax, dword [ebx + 0x24]
pop ecx
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402ef5
jmp 0x401f9b
Function at 0x41834a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407940
mov eax, dword [0x42c040]
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.00414745
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41838c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4184e8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421760
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 + 0x485740]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418770
mov ecx, dword [esi*4 + 0x485740]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4184e1
cmp eax, dword [edi + ecx + 0x24]
jne 0x4184e1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4184e1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418770
add esp, 0x14
test edx, edx
jl 0x4184e1
jg 0x418457
test eax, eax
jb 0x4184e1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4184e1
jl 0x418471
cmp dword [ebp - 0x1008], eax
ja 0x4184e1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41848f
test ebx, ebx
je 0x4184c8
cmp ecx, edi
jae 0x4184c8
mov al, byte [ecx]
cmp al, 0xd
jne 0x4184a9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4184b5
cmp byte [ecx + 1], 0xa
jne 0x4184b5
inc ecx
jmp 0x4184b5
movzx eax, al
movsx eax, byte [eax + 0x42c9b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41848f
cmp edx, ebx
jne 0x41848f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4184e6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004069ff
leave
ret
Function at 0x41eada
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x485740]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41eb1a
cmp byte [ebx], 0xa
jne 0x41eb1a
or byte [eax + edi + 0x28], 4
jmp 0x41eb1f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41ec1d
mov al, byte [edx]
cmp al, 0x1a
je 0x41ebff
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41eb4e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41eb73
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41eb7d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41eb30
jmp 0x41ec1d
push 0
lea eax, [ebp - 0xc]
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 0x41ebfa
cmp dword [ebp - 0xc], 0
je 0x41ebfa
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x485740]
test byte [eax + edi + 0x28], 0x48
je 0x41ebd4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ebbf
mov byte [esi], dl
jmp 0x41ebd0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x485740]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41ec1d
cmp byte [ebp - 1], 0xa
jne 0x41ebe3
cmp esi, ebx
jne 0x41ebe3
mov byte [esi], 0xa
jmp 0x41ec1c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041878e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41ec1d
mov byte [esi], 0xd
jmp 0x41ec1c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x485740]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41ec19
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41ec1d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ec26
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x485740]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ec69
cmp word [esi], dx
jne 0x41ec69
or byte [edi + eax + 0x28], 4
jmp 0x41ec6e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41edc1
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41eda1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ecb0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ece6
cmp eax, edx
jae 0x41ecf2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41ec88
jmp 0x41edc1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ed9d
cmp dword [ebp - 0x14], 0
je 0x41ed9d
mov eax, dword [ebx*4 + 0x485740]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41ed75
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ed3e
mov word [esi], cx
jmp 0x41ed71
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x485740]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x485740]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x485740]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41edc1
pop ebx
cmp word [ebp - 4], bx
jne 0x41ed86
cmp esi, dword [ebp + 0xc]
jne 0x41ed86
mov word [esi], bx
jmp 0x41edbe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041878e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41edc1
push 0xd
jmp 0x41edba
mov ecx, dword [ebx*4 + 0x485740]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41edb8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41edc1
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x432004
Capabilities:
Encode data using xor

Disassembly:
pushal
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
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x704c4d7b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x605d558c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407760
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4077f1
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4077f1
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x4077f1
cmp dword [eax + edi + 0x7c], 0
je 0x4077f1
mov eax, dword [eax + edi + 0x78]
xor esi, esi
add eax, edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add edx, edi
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [ebp + 8], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x4077f1
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp + 0xc]
add eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4077e0
test dl, dl
je 0x4077dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4077e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4077c0
xor eax, eax
jmp 0x4077e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4077fa
mov edx, dword [ebp + 8]
inc esi
cmp esi, ebx
jb 0x4077b8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b44d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x45f5c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00428b8b
mov edi, eax
add esp, 4
test edi, edi
je 0x40db4d
push 1
mov dword [ebp - 4], 0
call fcn.00426695
add esp, 4
mov dword [edi + 4], eax
jmp 0x40db4f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00403280
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x40dbaa
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x40dbaa
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x40dbc6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x40dbe9
cmp byte [ebp + 0xc], 0
je 0x40dbd5
push esi
call fcn.00426e86
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x40dbf5
mov esi, str.ios_base::badbit_set
jmp 0x40dc05
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0040e050
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00404500
push 0x45c09c
lea eax, [ebp - 0x28]
push eax
call fcn.00429e7d
int3
Function at 0x41c530
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x45f5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x90]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x94], ebx
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.004242d0
lea ecx, [ebp - 0x90]
call fcn.0041ced0
movups xmm0, xmmword [ebp - 0x38]
xor esi, esi
lea edi, [ebp - 0x28]
movups xmmword [ebp - 0xa8], xmm0
movzx eax, byte [ebp + esi - 0xa8]
push eax
push str._02X
push edi
call fcn.00425d60
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x41c5b2
xorps xmm0, xmm0
mov byte [ebp - 8], 0
movups xmmword [ebx], xmm0
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c5f0
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
call fcn.00401d00
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428edd
mov esp, ebp
pop ebp
ret

Function at 0x41cea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x41ceae
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41cebe
xor al, al
pop ebp
ret
shr eax, 4
not al
and al, 1
pop ebp
ret
Function at 0x41e6c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x45f5c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x460ef0]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x460988]
cmp eax, dword [ecx + 4]
jg 0x41e887
cmp dword [0x45f4c8], 0
jne 0x41e86a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.0041f060
test al, al
jne 0x41e779
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00404050
mov esi, eax
add esp, 0xc
cmp esi, 0x45f4b8
je 0x41e861
mov ecx, dword [0x45f4cc]
cmp ecx, 0xf
jbe 0x41e81e
mov edx, dword [0x45f4b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e814
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e8bd
jmp 0x41e814
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0042a8d0
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41e7e7
cmp dword [ebp - 0x240], esi
je 0x41e7db
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41e7c0
jmp 0x41e7e7
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00404050
add esp, 0x10
mov esi, eax
cmp esi, 0x45f4b8
pop edi
jmp 0x41e736
push ecx
push edx
call fcn.00428bbb
add esp, 8
mov dword [0x45f4c8], 0
mov dword [0x45f4cc], 0xf
mov byte [0x45f4b8], 0
movups xmm0, xmmword [esi]
movups xmmword [0x45f4b8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x45f4c8], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.00404b90
pop esi
push 0x45f4b8
mov ecx, ebx
call fcn.00403ce0
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00428edd
mov esp, ebp
pop ebp
ret
push 0x460988
call fcn.00428e79
add esp, 4
cmp dword [0x460988], 0xffffffff
jne 0x41e6fd
push 0x44cbe0
call fcn.00428e13
push 0x460988
call fcn.00428e28
add esp, 8
jmp 0x41e6fd
call fcn.0042db3f
int3
Function at 0x41e8d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bcd6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x45f5c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.0042a8d0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.0042ab5b
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e955
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x41ea4e
call fcn.00401d90
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00423580
push eax
push esi
mov byte [ebp - 4], 1
call fcn.0041eaa0
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x41e9ff
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e9f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ea93
push ecx
push edx
call fcn.00428bbb
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x41ea76
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ea6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ea93
jmp 0x41ea6c
call fcn.00401d90
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.00423580
add esp, 8
jmp 0x41ea1a
push ecx
push edx
call fcn.00428bbb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428edd
mov esp, ebp
pop ebp
ret
call fcn.0042db3f
int3
Function at 0x4260a9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x4260d0
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x4260d3
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00426085
pop esi
leave
ret 8

Function at 0x42964b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42968a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42968a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42968a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42968a
cmp dword [ecx + 0x74], 0xe
jbe 0x42968a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x436792
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004290c0
mov eax, dword [0x45f5c0]
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.0043cd8a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4367d4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x436930
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00428ef0
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 + 0x4616a8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0043f02e
mov ecx, dword [esi*4 + 0x4616a8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x436929
cmp eax, dword [edi + ecx + 0x24]
jne 0x436929
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436929
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043f02e
add esp, 0x14
test edx, edx
jl 0x436929
jg 0x43689f
test eax, eax
jb 0x436929
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x436929
jl 0x4368b9
cmp dword [ebp - 0x1008], eax
ja 0x436929
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4368d7
test ebx, ebx
je 0x436910
cmp ecx, edi
jae 0x436910
mov al, byte [ecx]
cmp al, 0xd
jne 0x4368f1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4368fd
cmp byte [ecx + 1], 0xa
jne 0x4368fd
inc ecx
jmp 0x4368fd
movzx eax, al
movsx eax, byte [eax + 0x45f880]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4368d7
cmp edx, ebx
jne 0x4368d7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x43692e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00428edd
leave
ret

Function at 0x43bf2f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4527b0
push 0x4527a8
push str.FlsAlloc
push 0x1e
call fcn.0043bd79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43bf63
push dword [ebp + 8]
mov ecx, esi
call dword [0x44d20c]
call esi
jmp 0x43bf69
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43bfad
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4527c0
push 0x4527b8
push str.FlsGetValue
push 0x20
call fcn.0043bd79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43bfe4
push dword [ebp + 8]
mov ecx, esi
call dword [0x44d20c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]