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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x679dc8]
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.005e1410
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.005e1410
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 0x5edd9c
cmp word [ecx], dx
je 0x5edd9c
mov eax, dword [0x66907c]
push edi
dec eax
push eax
push 0x668f68
call fcn.005edcc4
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x5ede0f
cmp word [eax], dx
je 0x5ede0f
mov eax, dword [edi]
test eax, eax
je 0x5eddc0
cmp word [eax], dx
je 0x5eddc0
lea eax, [ebp - 0x10]
push eax
call fcn.005ed6a7
jmp 0x5eddc9
lea eax, [ebp - 0x10]
push eax
call fcn.005ed742
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x5ede39
mov eax, dword [0x668f64]
push dword [ebp - 0x14]
dec eax
push eax
push 0x668c58
call fcn.005edcc4
add esp, 0xc
test al, al
je 0x5ede39
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x5ede04
cmp word [eax], di
je 0x5ede04
lea eax, [ebp - 0x10]
push eax
call fcn.005ed6a7
pop ecx
jmp 0x5ede3b
lea eax, [ebp - 0x10]
push eax
call fcn.005ed742
jmp 0x5ede01
mov eax, dword [edi]
test eax, eax
je 0x5ede26
cmp word [eax], dx
je 0x5ede26
lea eax, [ebp - 0x10]
push eax
call fcn.005ed65c
pop ecx
jmp 0x5ede39
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 0x5edf04
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.005edb49
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x5edf04
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x5edf04
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x5edf04
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5ede91
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.005e2126
test ebx, ebx
je 0x5edeff
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.005e2126
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x5edf04
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 0x5edf04
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.005f2439
add esp, 0x10
xor eax, eax
inc eax
jmp 0x5edf06
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c7d0a
leave
ret
Function at 0x5f1154
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x679dc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x5f1197
call fcn.005cd09d
mov dword [eax], 0xf
call fcn.005cd0b0
mov dword [eax], 0xd
call fcn.005d227e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7d0a
leave
ret
test eax, eax
jne 0x5f119e
inc eax
jmp 0x5f118b
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x5f1189
xor eax, eax
cmp ecx, 1
setne al
jmp 0x5f118b
Function at 0x5f2b5a
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.005f2ad6
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5f2cc9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5f2cc9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5f2c7e
jg 0x5f2bb6
test eax, eax
je 0x5f2c74
push 1
push 0x1000
call fcn.005e1a58
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5f2bd9
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5f2c6b
push 0x8000
push ebx
call fcn.005dcfb6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x5f2c02
jg 0x5f2bfd
cmp ecx, 0x1000
jb 0x5f2c02
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.005e415a
add esp, 0x10
cmp eax, 0xffffffff
je 0x5f2c47
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x5f2bfd
jl 0x5f2c2e
test ecx, ecx
jne 0x5f2bef
push dword [ebp - 0xc]
push ebx
call fcn.005dcfb6
push esi
call fcn.005e1ab5
add esp, 0xc
xor ebx, ebx
jmp 0x5f2cd7
cmp byte [edi + 0x24], 0
je 0x5f2c5e
cmp dword [edi + 0x20], 5
jne 0x5f2c5e
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5f2c69
mov ebx, dword [edi + 0x18]
jmp 0x5f2c6b
xor ebx, ebx
push esi
call fcn.005e1ab5
pop ecx
jmp 0x5f2cd7
test ecx, ecx
jg 0x5f2c40
jl 0x5f2c7e
test eax, eax
jae 0x5f2c40
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005e6d6f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5f2c9e
cmp byte [edi + 0x1c], 0
je 0x5f2c40
jmp 0x5f2ccf
push ebx
call fcn.005e9724
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x5f2c40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5f2cd7
cmp byte [edi + 0x1c], 0
je 0x5f2cd4
mov ebx, dword [edi + 0x18]
jmp 0x5f2cd7
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.005e6d6f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5f3160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5f318d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5f318d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x403a51
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x403a40
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x40c5dd
Capabilities:
Parse pe header

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

Function at 0x4158ba
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4238a0
push 0x423898
push str.FlsAlloc
push 0x1f
call fcn.00415744
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4158ee
push dword [ebp + 8]
mov ecx, esi
call dword [0x4201b8]
call esi
jmp 0x4158f4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x415938
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4238b0
push 0x4238a8
push str.FlsGetValue
push 0x21
call fcn.00415744
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41596f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4201b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x415977
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4238b8
push 0x4238b0
push str.FlsSetValue
push 0x22
call fcn.00415744
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4159b1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4201b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x417bc5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x417c10
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00417d60
test al, al
jne 0x417c0a
sub edx, 2
cmp edx, edi
jne 0x417bf0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x417c32
lea eax, [edi + 2]
cmp edx, eax
je 0x417c32
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00417b11
add esp, 0x10
jmp 0x417d2c
push esi
lea ecx, [ebp - 0x255]
call fcn.00417d60
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x417c75
push dword [ebp - 0x25c]
jmp 0x417c22
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x417cb2
cmp word [ebp - 0x226], 0
je 0x417cd3
cmp word [ebp - 0x226], ax
jne 0x417cb2
cmp word [ebp - 0x224], 0
je 0x417cd3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00417b11
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x417d1f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x417c8c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x417d07
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x417d2c
push 0x417941
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041c210
add esp, 0x10
jmp 0x417cfc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b8f6
leave
ret

Function at 0x4186aa
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4186bb
pop esi
ret
push ebx
push edi
push esi
call fcn.00418673
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00415c10
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4186e3
push ebx
push esi
push edi
call fcn.0040d280
add esp, 0xc
push 0
call fcn.00414d84
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x418ab3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004186f8
Function at 0x41b1be
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00414a99
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 0x41b22d
cmp esi, dword [ebp - 4]
je 0x41b228
cmp dword [ebp + 0xc], 0
je 0x41b228
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41b205
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041ad10
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41b22f
xor eax, eax
inc eax
jmp 0x41b22f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41b294
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42b040]
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.00414a99
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.00414a99
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 0x41b30b
cmp word [ecx], dx
je 0x41b30b
mov eax, dword [0x423efc]
push edi
dec eax
push eax
push 0x423de8
call fcn.0041b233
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41b37e
cmp word [eax], dx
je 0x41b37e
mov eax, dword [edi]
test eax, eax
je 0x41b32f
cmp word [eax], dx
je 0x41b32f
lea eax, [ebp - 0x10]
push eax
call fcn.0041ac16
jmp 0x41b338
lea eax, [ebp - 0x10]
push eax
call fcn.0041acb1
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41b3a8
mov eax, dword [0x423de4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x423ad8
call fcn.0041b233
add esp, 0xc
test al, al
je 0x41b3a8
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41b373
cmp word [eax], di
je 0x41b373
lea eax, [ebp - 0x10]
push eax
call fcn.0041ac16
pop ecx
jmp 0x41b3aa
lea eax, [ebp - 0x10]
push eax
call fcn.0041acb1
jmp 0x41b370
mov eax, dword [edi]
test eax, eax
je 0x41b395
cmp word [eax], dx
je 0x41b395
lea eax, [ebp - 0x10]
push eax
call fcn.0041abcb
pop ecx
jmp 0x41b3a8
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 0x41b473
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041b0b8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41b473
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41b473
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41b473
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41b400
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00415ab7
test ebx, ebx
je 0x41b46e
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00415ab7
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41b473
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 0x41b473
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041d598
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41b475
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b8f6
leave
ret
Function at 0x41f210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f23d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f23d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x51de644a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x669c249d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40314f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45659e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x479084]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
and dword [esp + 0x20], 0
and dword [esp + 0x38], 0
fld qword [0x473920]
fstp qword [esp + 0x24]
fld qword [0x473918]
fstp qword [esp + 0x14]
fld qword [0x473910]
fstp qword [esp + 0xc]
fld qword [0x473908]
fstp qword [esp + 0xc]
fld qword [0x473900]
fstp qword [esp + 0xc]
fld qword [esp + 0x14]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x4031d0
fld qword [esp + 0xc]
fadd qword [esp + 0x24]
fstp qword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.004039a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4031f0
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea ebx, [eax - 0x1c]
call fcn.0042fac3
mov dword [esp + 0x14], 0x4f
mov dword [esp + 0x14], 0x47
mov dword [esp + 0xc], 0x15
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x403237
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x403237
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
imul eax, eax, 0x29
lea eax, [eax + ecx - 0x12]
add eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4032ad
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45659e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x479084]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
and dword [esp + 0x20], 0
and dword [esp + 0x38], 0
fld qword [0x473920]
fstp qword [esp + 0x24]
fld qword [0x473918]
fstp qword [esp + 0x14]
fld qword [0x473910]
fstp qword [esp + 0xc]
fld qword [0x473908]
fstp qword [esp + 0xc]
fld qword [0x473900]
fstp qword [esp + 0xc]
fld qword [esp + 0x14]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x40332e
fld qword [esp + 0xc]
fadd qword [esp + 0x24]
fstp qword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.00403a3a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40334e
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea ebx, [eax - 0x1c]
call fcn.0042fac3
mov dword [esp + 0x14], 0x4f
mov dword [esp + 0x14], 0x47
mov dword [esp + 0xc], 0x15
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x403395
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x403395
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
imul eax, eax, 0x29
lea eax, [eax + ecx - 0x12]
add eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4033aa
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45659e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x479084]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
and dword [esp + 0x20], 0
and dword [esp + 0x38], 0
fld qword [0x473920]
fstp qword [esp + 0x24]
fld qword [0x473918]
fstp qword [esp + 0x14]
fld qword [0x473910]
fstp qword [esp + 0xc]
fld qword [0x473908]
fstp qword [esp + 0xc]
fld qword [0x473900]
fstp qword [esp + 0xc]
fld qword [esp + 0x14]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x40342b
fld qword [esp + 0xc]
fadd qword [esp + 0x24]
fstp qword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.00403ad4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40344b
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea ebx, [eax - 0x1c]
call fcn.0042fac3
mov dword [esp + 0x14], 0x4f
mov dword [esp + 0x14], 0x47
mov dword [esp + 0xc], 0x15
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x403492
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x403492
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
imul eax, eax, 0x29
lea eax, [eax + ecx - 0x12]
add eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4034ba
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45659e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x479084]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
and dword [esp + 0x20], 0
and dword [esp + 0x38], 0
fld qword [0x473920]
fstp qword [esp + 0x24]
fld qword [0x473918]
fstp qword [esp + 0x14]
fld qword [0x473910]
fstp qword [esp + 0xc]
fld qword [0x473908]
fstp qword [esp + 0xc]
fld qword [0x473900]
fstp qword [esp + 0xc]
fld qword [esp + 0x14]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x40353b
fld qword [esp + 0xc]
fadd qword [esp + 0x24]
fstp qword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
call fcn.00403b6e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40355b
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea ebx, [eax - 0x1c]
call fcn.0042fac3
mov dword [esp + 0x14], 0x4f
mov dword [esp + 0x14], 0x47
mov dword [esp + 0xc], 0x15
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4035a2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4035a2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
imul eax, eax, 0x29
lea eax, [eax + ecx - 0x12]
add eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret