joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b276c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5155c0]
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.004aabb3
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.004aabb3
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 0x4b27e3
cmp word [ecx], dx
je 0x4b27e3
mov eax, dword [0x501f74]
push edi
dec eax
push eax
push 0x501e60
call fcn.004b270b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4b2856
cmp word [eax], dx
je 0x4b2856
mov eax, dword [edi]
test eax, eax
je 0x4b2807
cmp word [eax], dx
je 0x4b2807
lea eax, [ebp - 0x10]
push eax
call fcn.004b20ee
jmp 0x4b2810
lea eax, [ebp - 0x10]
push eax
call fcn.004b2189
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4b2880
mov eax, dword [0x501e5c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x501b50
call fcn.004b270b
add esp, 0xc
test al, al
je 0x4b2880
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4b284b
cmp word [eax], di
je 0x4b284b
lea eax, [ebp - 0x10]
push eax
call fcn.004b20ee
pop ecx
jmp 0x4b2882
lea eax, [ebp - 0x10]
push eax
call fcn.004b2189
jmp 0x4b2848
mov eax, dword [edi]
test eax, eax
je 0x4b286d
cmp word [eax], dx
je 0x4b286d
lea eax, [ebp - 0x10]
push eax
call fcn.004b2085
pop ecx
jmp 0x4b2880
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 0x4b294b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004b2590
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4b294b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4b294b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4b294b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b28d8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004b3659
test ebx, ebx
je 0x4b2946
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004b3659
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b294b
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 0x4b294b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004b88d3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4b294d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f8c9
leave
ret
Function at 0x4b32cb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x50319c
push 0x503194
push str.FlsAlloc
push 0x1f
call fcn.004b2f99
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b32ff
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c921c]
call esi
jmp 0x4b3305
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4b3349
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5031ac
push 0x5031a4
push str.FlsGetValue
push 0x21
call fcn.004b2f99
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b3380
push dword [ebp + 8]
mov ecx, esi
call dword [0x4c921c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4b3388
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5031b4
push 0x5031ac
push str.FlsSetValue
push 0x22
call fcn.004b2f99
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b33c2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4c921c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4bfa3b
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 + 0x516f50]
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 0x4bfa7b
cmp byte [ebx], 0xa
jne 0x4bfa7b
or byte [edi + eax + 0x28], 4
jmp 0x4bfa80
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 0x4bfb7f
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4bfb62
inc eax
cmp dl, 0xd
je 0x4bfaac
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4bfad2
cmp eax, ecx
jae 0x4bfae0
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 0x4bfa94
jmp 0x4bfb7f
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 0x4bfb5d
cmp dword [ebp - 0x10], 0
je 0x4bfb5d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x516f50]
test byte [eax + edi + 0x28], 0x48
je 0x4bfb37
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4bfb22
mov byte [esi], dl
jmp 0x4bfb33
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x516f50]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4bfb7f
cmp byte [ebp - 1], 0xa
jne 0x4bfb46
cmp esi, ebx
jne 0x4bfb46
mov byte [esi], 0xa
jmp 0x4bfb7e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004bf88d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4bfb7f
mov byte [esi], 0xd
jmp 0x4bfb7e
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x516f50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4bfb7c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4bfb7f
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4bfb88
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 + 0x516f50]
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 0x4bfbce
cmp word [ebx], dx
jne 0x4bfbce
or byte [eax + edi + 0x28], 4
jmp 0x4bfbd3
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 0x4bfd36
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 0x4bfd16
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4bfc14
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4bfc4a
cmp eax, edx
jae 0x4bfc58
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 0x4bfbef
jmp 0x4bfd36
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 0x4bfd11
cmp dword [ebp - 0x18], 0
je 0x4bfd11
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x516f50]
test byte [eax + edi + 0x28], 0x48
je 0x4bfce7
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 0x4bfcab
mov word [esi], cx
jmp 0x4bfce2
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x516f50]
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 + 0x516f50]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x516f50]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4bfd36
pop eax
cmp word [ebp - 4], ax
jne 0x4bfcf7
cmp esi, ebx
jne 0x4bfcf7
mov word [esi], ax
jmp 0x4bfd33
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004bf88d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4bfd36
push 0xd
pop eax
jmp 0x4bfcf2
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x516f50]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4bfd30
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4bfd36
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 0x4c4720
Capabilities:
Parse pe header

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

Function at 0x48e110
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.ASX1
lea edi, [esi - 0x67000]
push edi
jmp 0x48e12a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48e131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e120
mov eax, 1
add ebx, ebx
jne 0x48e143
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48e154
jne 0x48e173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e173
dec eax
add ebx, ebx
jne 0x48e160
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48e138
add ebx, ebx
jne 0x48e16f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48e1c5
xor ecx, ecx
sub eax, 3
jb 0x48e18b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48e1fa
sar eax, 1
mov ebp, eax
jmp 0x48e196
add ebx, ebx
jne 0x48e196
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e164
inc ecx
add ebx, ebx
jne 0x48e1a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e164
add ebx, ebx
jne 0x48e1b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48e1a6
jne 0x48e1c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48e1a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48e1e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48e1d6
jmp 0x48e126
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48e1e4
add edi, ecx
jmp 0x48e126
pop esi
mov edi, esi
mov ecx, 0x1038
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48e202
cmp byte [edi], 0xa
jne 0x48e202
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48e207
lea edi, [esi + 0x8c000]
mov eax, dword [edi]
or eax, eax
je 0x48e276
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9446c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x94548]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48e234
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9454c]
or eax, eax
je 0x48e270
mov dword [ebx], eax
add ebx, 4
jmp 0x48e251
call dword [esi + 0x9455c]
mov ebp, dword [esi + 0x94550]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x48e2aa
sub esp, 0xffffff80
jmp 0x4010df
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x5eea4048
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7d7a0366
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439004]
jne 0x401010
repz ret
jmp fcn.00401788

Function at 0x405655
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004030b9
and dword [ebp - 4], 0
cmp dword [0x43adb0], 0
mov ebx, eax
jne 0x405706
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057b7
push eax
call fcn.00403047
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43adb0], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43adb4], eax
call esi
push eax
call fcn.00403047
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43adb8], eax
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x43adc0], eax
test eax, eax
je 0x405706
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403047
pop ecx
mov dword [0x43adbc], eax
mov eax, dword [0x43adbc]
cmp eax, ebx
je 0x40575e
cmp dword [0x43adc0], ebx
je 0x40575e
push eax
call fcn.004030c2
push dword [0x43adc0]
mov esi, eax
call fcn.004030c2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40575e
test edi, edi
je 0x40575e
call esi
test eax, eax
je 0x405755
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405755
test byte [ebp - 0xc], 1
jne 0x40575e
or dword [ebp + 0x10], 0x200000
jmp 0x405797
mov eax, dword [0x43adb4]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405797
mov eax, dword [0x43adb8]
cmp eax, ebx
je 0x405797
push eax
call fcn.004030c2
pop ecx
test eax, eax
je 0x405797
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43adb0]
call fcn.004030c2
pop ecx
test eax, eax
je 0x4057b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4369f6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x448d24]
push dword [0x448a40]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x436a85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp ebx, 0x19f
jne 0x436a9a
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x436ad6
push esi
and dword [ebp - 8], 0
lea esi, [ebp - 8]
mov dword [ebp - 4], 5
call fcn.00436a7a
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0xa
sub dword [ebp - 4], 0x3c
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x436aa2
pop esi
pop edi
cmp ebx, 0x2d
jne 0x436aed
or dword [0x448d34], 0xffffffff
mov dword [0x448d30], 0xa62e7790
leave
ret
Function at 0x40a880
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x72908dab
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
sub eax, 0x941104f0
je 0x40a95c
jmp 0x40a8ac
mov eax, dword [ebp - 0x18]
sub eax, 0xad1857bf
je 0x40a9ce
jmp 0x40a8bf
mov eax, dword [ebp - 0x18]
sub eax, 0xce6cf20d
je 0x40a9da
jmp 0x40a8d2
mov eax, dword [ebp - 0x18]
sub eax, 0xcfa049b5
je 0x40a977
jmp 0x40a8e5
mov eax, dword [ebp - 0x18]
sub eax, 0xe11c300c
je 0x40a989
jmp 0x40a8f8
mov eax, dword [ebp - 0x18]
sub eax, 0xfd2b3e59
je 0x40a9a7
jmp 0x40a90b
mov eax, dword [ebp - 0x18]
sub eax, 0x1ee0676f
je 0x40a9c2
jmp 0x40a91e
mov eax, dword [ebp - 0x18]
sub eax, 0x72908dab
je 0x40a936
jmp 0x40a931
jmp 0x40a9df
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
setne al
and al, 1
mov byte [ebp - 9], al
mov dword [ebp - 0x14], 0x941104f0
jmp 0x40a9df
mov dl, byte [ebp - 9]
mov eax, 0xce6cf20d
mov ecx, 0xcfa049b5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40a9df
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0xe11c300c
jmp 0x40a9df
mov eax, dword [ebp - 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xfd2b3e59
jmp 0x40a9df
mov edx, dword [ebp - 4]
mov eax, 0x1ee0676f
mov ecx, 0xad1857bf
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x40a9df
mov dword [ebp - 0x14], 0xce6cf20d
jmp 0x40a9df
mov dword [ebp - 0x14], 0xce6cf20d
jmp 0x40a9df
add esp, 0x1c
pop ebp
ret
jmp 0x40a896
Function at 0x420c7b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420cba
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420cba
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420cba
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420cba
cmp dword [ecx + 0x74], 0xe
jbe 0x420cba
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42841b
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 0x4284b8
push ebx
push esi
call fcn.004283e4
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.00428378
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x428465
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4284b7
push edi
push eax
call fcn.00426eb0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x428485
call fcn.00426efe
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4284b6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00428378
add esp, 0x20
test eax, eax
jne 0x4284a4
push edi
call fcn.00426efe
jmp 0x4284ac
push ebx
call fcn.00426efe
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 0x4296c7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4318a0
push 0x431898
push str.FlsAlloc
push 0x1f
call fcn.00429586
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4296fb
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f144]
call esi
jmp 0x429701
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x429745
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4318b0
push 0x4318a8
push str.FlsGetValue
push 0x21
call fcn.00429586
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42977c
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x429784
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4318b8
push 0x4318b0
push str.FlsSetValue
push 0x22
call fcn.00429586
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4297be
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42f144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42ea90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42eabd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42eabd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219