joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b143
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x578040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
movzx eax, si
push edi
mov edi, 0x10000
test eax, eax
je 0x41b1e1
sub esi, eax
add esi, edi
jmp 0x41b1e1
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x41b181
add esi, 0x8000000
jmp 0x41b1e1
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41b1e5
mov ecx, dword [ebp - 0x14]
mov edi, 0x10000
cmp dword [ebp - 0x10], edi
jne 0x41b1cf
cmp ecx, edi
jb 0x41b1cf
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x41b1e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x41b1e5
jmp 0x41b168
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x41b1e1
mov eax, edi
sub eax, ecx
add esi, eax
cmp esi, ebx
jb 0x41b16c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054b598
leave
ret

Function at 0x41b1f6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x578040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea esi, [edx - 0x10000]
jmp 0x41b27f
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x41b228
sub esi, 0x8000000
jmp 0x41b288
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41b28c
mov edi, 0x10000
cmp dword [ebp - 0x10], edi
jne 0x41b276
cmp dword [ebp - 0x14], edi
jb 0x41b276
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x41b28e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x41b28c
sub esi, edi
jmp 0x41b288
mov esi, dword [ebp - 0x1c]
add esi, 0xffff0000
movzx eax, si
test eax, eax
je 0x41b288
sub esi, eax
cmp esi, ebx
ja 0x41b213
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054b598
leave
ret
Function at 0x41b29d
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
mov esi, ecx
push eax
lea edx, [ebp - 4]
call fcn.0041ae44
mov edx, dword [0x60b2cc]
add esp, 4
mov eax, dword [0x60b2d4]
test edx, edx
jne 0x41b2cf
test eax, eax
je 0x41b2e4
mov edx, eax
mov dword [0x60b2cc], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x41b2e4
cmp ecx, dword [ebp - 4]
jb 0x41b2e4
cmp ecx, dword [ebp - 8]
jbe 0x41b378
mov edx, eax
mov dword [0x60b2cc], edx
test eax, eax
je 0x41b318
mov ecx, eax
test eax, eax
je 0x41b307
mov eax, dword [ecx + 8]
test eax, eax
je 0x41b307
cmp eax, dword [ebp - 4]
jb 0x41b307
cmp eax, dword [ebp - 8]
jbe 0x41b378
mov edx, dword [edx + 4]
mov ecx, edx
mov dword [0x60b2cc], edx
mov eax, edx
test ecx, ecx
jne 0x41b2f2
mov ecx, dword [ebp - 4]
and esi, 0xffff0000
mov edx, esi
call fcn.0041b1f6
mov edx, eax
test edx, edx
jne 0x41b33e
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.0041b143
mov edx, eax
test edx, edx
je 0x41b39f
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x60b2d4]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x60b2cc], edx
mov dword [0x60b2d4], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x41b368
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, dword [ebp - 4]
jb 0x41b39f
cmp esi, dword [ebp - 8]
ja 0x41b39f
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.0054d6d0
add esp, 0xc
mov eax, esi
jmp 0x41b3a1
xor eax, eax
pop esi
leave
ret

Function at 0x41b469
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x578040]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x60b2c8], eax
je 0x41b490
mov eax, 0x10dd
jmp 0x41b51e
push ebx
push esi
push edi
mov edi, dword [0x60b2dc]
xor ebx, ebx
test edi, edi
je 0x41b4dd
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x36]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x41b4cb
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x41b4cb
call fcn.0041b3a4
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push 0x18
push edi
call fcn.0054b6bb
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x41b49f
mov dword [0x60b2dc], ebx
call fcn.0041b0ed
mov edi, dword [0x60b2d8]
test edi, edi
je 0x41b50d
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [edi]
push 8
push edi
call fcn.0054b6bb
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x41b4f2
pop edi
pop esi
mov dword [0x60b2d8], ebx
xor eax, eax
mov dword [0x60b2c8], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054b598
leave
ret
Function at 0x41b7f3
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x60b17c]
push esi
mov esi, ecx
test eax, eax
jne 0x41b85a
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, eax
jne 0x41b80d
xor eax, eax
pop esi
ret
push edi
push 8
call fcn.0054b68b
pop ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x41b847
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 8
push edi
call fcn.0054b6bb
and dword [0x60b2d0], 0
mov eax, esi
pop ecx
pop ecx
mov dword [0x60b17c], esi
jmp 0x41b859
mov eax, dword [0x60b2d8]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [0x60b2d8], edi
pop edi
pop esi
ret
Function at 0x41cc91
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x5c
mov eax, 0x55e68d
call fcn.0055b22a
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ccb6
test al, 0x10
je 0x41ccb6
mov al, 1
jmp 0x41ce0f
mov ecx, esi
call fcn.0041e96c
test al, al
je 0x41ccc8
xor al, al
jmp 0x41ce0f
mov ecx, esi
call fcn.0041eab6
mov dword [ebp - 0x68], eax
lea edi, [ebp - 0x20]
xor eax, eax
lea ecx, [ebp - 0x20]
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041c594
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0041c9ae
xor ebx, ebx
inc ebx
test eax, eax
js 0x41cd16
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx - 1]
cmp eax, edx
jne 0x41cd16
cmp ecx, ebx
je 0x41ce04
mov eax, dword [ebp - 0x20]
mov ecx, edx
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov word [eax + edx*2], cx
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041c61b
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x1c]
mov esi, edi
mov ecx, dword [ebp - 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41ce18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41cda5
lea ecx, [ebp - 0x64]
call fcn.0041d5da
lea ecx, [ebp - 0x3c]
call fcn.0041c570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x20]
push 0
push eax
call fcn.0041d8f3
test al, al
jne 0x41cd87
mov byte [ebp - 4], bl
push dword [ebp - 0x3c]
call fcn.0054b686
pop ecx
jmp 0x41cda5
mov ebx, dword [ebp - 0x44]
xor eax, eax
inc eax
shr ebx, 4
mov byte [ebp - 4], al
and bl, al
push dword [ebp - 0x3c]
call fcn.0054b686
pop ecx
test bl, bl
jne 0x41ce15
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41cdf8
lea ecx, [ebp - 0x20]
call fcn.0041c9ae
mov esi, eax
test esi, esi
js 0x41cdf8
je 0x41cdf8
mov ecx, dword [ebp - 0x20]
cmp esi, ebx
jne 0x41cdd8
movzx eax, word [ecx]
mov edx, eax
cmp eax, 0x5c
je 0x41cdf8
cmp edx, 0x2f
je 0x41cdf8
lea eax, [esi + 1]
cmp dword [ebp - 0x68], eax
jae 0x41cdf8
cmp esi, edi
jae 0x41cd35
mov edi, esi
xor eax, eax
mov dword [ebp - 0x1c], edi
mov word [ecx + esi*2], ax
jmp 0x41cd35
mov edi, dword [ebp - 0x2c]
xor bl, bl
push edi
call fcn.0054b686
pop ecx
push dword [ebp - 0x20]
call fcn.0054b686
pop ecx
mov al, bl
call fcn.0055b1d9
ret
xor ebx, ebx
inc ebx
mov edi, dword [ebp - 0x2c]
jmp 0x41ce4e
lea ecx, [edi + 2]
lea ecx, [ecx + esi*2]
call fcn.0041e6ea
test eax, eax
jns 0x41ce31
mov esi, dword [ebp - 0x28]
jmp 0x41ce34
inc esi
add esi, eax
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.0041c715
mov eax, dword [ebp - 0x20]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41cdfb
cmp esi, dword [ebp - 0x28]
jl 0x41ce1d
jmp 0x41cdfd
Function at 0x41ce55
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ce7f
test al, 0x10
jne 0x41ce7f
test al, 1
je 0x41ce7f
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x41ce7f
xor al, al
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret
Function at 0x41df1b
Capabilities:
Get disk information

Disassembly:
push 0x28
mov eax, 0x55e865
call fcn.0055b22a
mov eax, ecx
mov dword [ebp - 0x2c], eax
call fcn.0040540b
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
jne 0x41df48
xor al, al
jmp 0x41dff6
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.0041689a
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41dfed
cmp eax, edi
ja 0x41dfed
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041c570
mov edi, dword [ebp - 0x24]
mov edx, ebx
mov byte [ebp - 4], 1
mov eax, ebx
mov dword [ebp - 0x30], edx
test edi, edi
je 0x41dfdf
push 2
pop ecx
mov dword [ebp - 0x28], ecx
inc eax
mov dword [ebp - 0x24], eax
cmp word [ecx + esi - 2], bx
jne 0x41dfd2
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c64c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
call fcn.004023c0
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
call fcn.0040237a
mov ecx, dword [ebp - 0x28]
mov edx, ecx
mov eax, dword [ebp - 0x24]
add ecx, 2
mov dword [ebp - 0x28], ecx
cmp eax, edi
jb 0x41df99
mov edx, dword [ebp - 0x30]
push dword [ebp - 0x20]
cmp edx, edi
sete bl
call fcn.0054b686
pop ecx
push esi
call fcn.0054b686
pop ecx
mov al, bl
call fcn.0055b1d9
ret

Function at 0x41e06d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x578040]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41e0a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41e0a6
xor al, al
jmp 0x41e0b7
mov ecx, dword [ebp - 8]
xor eax, eax
add eax, edi
mov dword [esi], eax
mov al, 1
adc ecx, 0
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054b598
leave
ret 4

Function at 0x41f6d7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x578040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push edx
push edi
push edi
call fcn.0055100c
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x41f713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x41f713
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0054b598
leave
ret
Function at 0x42034a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x578040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov esi, ecx
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
xor ebx, ebx
test eax, eax
je 0x42039d
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x42039d
push 0x20
mov edx, ebx
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
add edx, eax
sub edi, 1
jne 0x42038d
jmp 0x4203ac
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x2c]
mov eax, 0x40000000
mov dword [esi], edx
lea ecx, [esp + 0x10]
mov dword [esi + 4], edx
mov byte [esi + 8], bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
call fcn.0041eeab
mov byte [esi + 9], al
test al, al
je 0x420433
mov edi, dword [esp + 0x14]
mov eax, 0x70000000
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
test edi, edi
jne 0x4203fe
cmp ebx, eax
jbe 0x420402
mov ebx, eax
xor edi, edi
push ecx
push ecx
push edi
push ebx
call fcn.004202ef
add esp, 0x10
mov dword [esi + 0x10], eax
shrd ebx, edi, 5
mov dword [esi + 0x14], edx
shr edi, 5
push 0x11
pop ecx
mov eax, edi
mul ecx
push 0x11
mov ecx, eax
mov eax, ebx
pop edx
mul edx
add ecx, edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054b598
mov esp, ebp
pop ebp
ret
Function at 0x42f9a3
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
shr edi, 2
xor ebx, ebx
mov eax, edi
mov dword [ebp - 4], 1
shr eax, 1
mov ecx, ebx
add eax, 3
mov dword [esi], eax
add esi, 0x10
test edi, edi
je 0x42f9db
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x42f9ce
mov edx, dword [esi + edi*4 - 4]
imul eax, edi, 0xc
add eax, 0x70
add eax, esi
mov dword [ebp - 8], eax
test ebx, ebx
jne 0x42fa4c
movzx eax, dl
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + str.cw]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
or edx, ecx
add eax, eax
mov dword [ebp - 4], eax
test eax, 0x100
je 0x42fa48
mov dword [ebp - 4], 0x1b
mov ebx, edi
jmp 0x42fa99
cmp ebx, 4
jne 0x42fa9c
cmp edi, 6
jbe 0x42fa9c
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + str.cw]
or edx, ecx
mov eax, dword [ebp - 8]
xor edx, dword [esi]
dec ebx
mov dword [esi + edi*4], edx
add esi, 4
cmp esi, eax
jne 0x42f9ea
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x430031
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 8], 0
and dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret
Function at 0x433894
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
xor eax, eax
push ebx
push esi
push edi
mov edi, ecx
inc eax
push 0x20
pop ecx
mov dword [ebp - 4], edi
or dword [edi + 0x90], 0xffffffff
or dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x30], eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x78], edx
mov dword [edi + 0x7c], edx
mov dword [edi + 0x34], edx
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], edx
mov dword [edi + 0x70], edx
mov dword [edi + 0x88], edx
mov dword [edi + 0x68], edx
mov dword [edi + 0x6c], edx
mov dword [edi + 0x48], edx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x50], edx
mov dword [edi + 0x60], edx
mov dword [edi + 0x64], edx
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], edx
cmp eax, ecx
jbe 0x433901
mov eax, ecx
mov dword [edi + 0x54], eax
mov eax, dword [edi]
mov dword [edi + 0x58], edx
cmp eax, dword [edi + 0x20]
je 0x433951
lea esi, [edi + 0xc8]
mov ebx, ecx
cmp dword [esi + 8], edx
je 0x433924
mov ecx, esi
call fcn.00432713
xor edx, edx
add esi, 0x28
sub ebx, 1
jne 0x433916
cmp dword [edi + 0x5c], ebx
je 0x43394c
mov eax, dword [edi + 0x14]
push dword [edi + 0x5c]
push eax
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5613b4]
call esi
pop ecx
xor edx, edx
pop ecx
mov dword [edi + 0x5c], edx
mov eax, dword [edi]
mov dword [edi + 0x20], eax
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], edx
lea eax, [ecx + 5]
mov dword [edi + 0xa0], edx
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [edi + 0xa4], edx
mov dword [edi + 0xa8], edx
mov dword [edi + 0xac], edx
mov dword [edi + 0x24], edx
add ebx, edi
mov dword [edi + 0x28], edx
mov ecx, ebx
mov dword [edi + 0x58], eax
call fcn.004326f6
mov esi, eax
test esi, esi
jne 0x4339e5
lea ecx, [ebx + 0x20]
call fcn.0041f757
mov esi, eax
test esi, esi
jne 0x4339e5
lea ecx, [ebx + 0x1c]
call fcn.0041f757
mov esi, eax
test esi, esi
jne 0x4339e5
push ebx
call fcn.004335f0
mov esi, eax
test esi, esi
je 0x4339f7
and dword [edi + 0x44], 0
lea ebx, [edi + 0xc8]
push 0x20
pop edi
mov ecx, ebx
call fcn.00432745
add ebx, 0x28
sub edi, 1
jne 0x4339d1
mov edi, dword [ebp - 4]
test esi, esi
jle 0x4339f0
movzx esi, si
or esi, 0x80070000
test esi, esi
je 0x4339f7
mov dword [edi + 0x40], esi
xor eax, eax
cmp dword [edi + 0x38], eax
jne 0x433a0b
cmp dword [edi + 0x40], eax
jne 0x433a0b
cmp dword [edi + 0x3c], eax
jne 0x433a0b
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x44]
neg eax
pop edi
sbb eax, eax
not eax
and eax, esi
pop esi
pop ebx
leave
ret

Function at 0x433a6e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x433a8f
lea ecx, [ebp - 0x10]
call fcn.00433a51
test eax, eax
je 0x433a8f
mov eax, dword [ebp - 8]
leave
ret
xor eax, eax
leave
ret
Function at 0x444548
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x55f2fd
call fcn.0055b22a
mov esi, ecx
push 8
xor ebx, ebx
call fcn.0054b68b
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push ecx
push 0x4445d0
push ebx
push ebx
call fcn.0055100c
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x444599
mov eax, esi
call fcn.0055b1d9
ret 8
push 6
mov dword [edi], ebx
call fcn.0054c6ad
int3
Function at 0x4be5bd
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x55f2fd
call fcn.0055b22a
mov esi, ecx
push 8
xor ebx, ebx
call fcn.0054b68b
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push ecx
push 0x4be620
push ebx
push ebx
call fcn.0055100c
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x4be60e
mov eax, esi
call fcn.0055b1d9
ret 8
push 6
mov dword [edi], ebx
call fcn.0054c6ad
int3
Function at 0x54b4ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
cmp eax, 0x38
sbb edx, edx
xor ebx, ebx
and edx, 0xfffffff8
xor ecx, ecx
add edx, 0x40
mov byte [eax + esi], 0x80
add eax, 1
adc ecx, ebx
cmp ecx, ebx
ja 0x54b523
jae 0x54b51f
mov byte [eax + esi], bl
add eax, 1
adc ecx, ebx
cmp ecx, ebx
jb 0x54b511
ja 0x54b523
cmp eax, edx
jb 0x54b511
cmp dword [esi + 0x40], 0x38
jb 0x54b53c
mov ecx, esi
call fcn.0054b384
push 0x38
push ebx
push esi
call fcn.0054d6d0
add esp, 0xc
mov edx, dword [esi + 0x40]
shl edx, 3
add edx, dword [esi + 0x48]
push 0
pop ebx
adc ebx, dword [esi + 0x4c]
mov al, dl
mov byte [esi + 0x3f], al
mov ecx, edx
mov eax, ebx
mov dword [esi + 0x48], edx
shrd ecx, eax, 8
mov eax, ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3e], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [esi + 0x3b], bl
shrd edx, eax, 0x18
mov eax, ebx
mov byte [esi + 0x3d], cl
shr eax, 8
mov ecx, esi
mov byte [esi + 0x3a], al
mov eax, ebx
shr eax, 0x10
shr ebx, 0x18
mov byte [esi + 0x38], bl
mov byte [esi + 0x3c], dl
mov byte [esi + 0x39], al
pop esi
pop ebx
jmp fcn.0054b384

Function at 0x54c2ae
Capabilities:
Parse pe header

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

Function at 0x55473e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x565454
push 0x56544c
push str.FlsAlloc
push 0x1f
call fcn.0055461a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x554772
push dword [ebp + 8]
mov ecx, esi
call dword [0x5613b4]
call esi
jmp 0x554778
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5547bc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x565464
push 0x56545c
push str.FlsGetValue
push 0x21
call fcn.0055461a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5547f3
push dword [ebp + 8]
mov ecx, esi
call dword [0x5613b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5547fb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x56546c
push 0x565464
push str.FlsSetValue
push 0x22
call fcn.0055461a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x554835
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5613b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x557190
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 0x55722d
push ebx
push esi
call fcn.00557159
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.0055529e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5571da
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x55722c
push edi
push eax
call fcn.00554bc6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5571fa
call fcn.005544c7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x55722b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0055529e
add esp, 0x20
test eax, eax
jne 0x557219
push edi
call fcn.005544c7
jmp 0x557221
push ebx
call fcn.005544c7
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