joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2039
Capabilities:
Parse pe header

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

Function at 0x4b7791
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4e6cb0
push 0x4e6ca8
push 0x4dbc88
push 0x1f
call fcn.004b75bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b77c5
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d3458]
call esi
jmp 0x4b77cb
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4b780f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4e6cc0
push 0x4e6cb8
push str.FlsGetValue
push 0x21
call fcn.004b75bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b7846
push dword [ebp + 8]
mov ecx, esi
call dword [0x4d3458]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4b784e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4e6cc8
push 0x4e6cc0
push str.FlsSetValue
push 0x22
call fcn.004b75bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b7888
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4d3458]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4b82f1
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 + 0x50a0d8]
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 0x4b8331
cmp byte [ebx], 0xa
jne 0x4b8331
or byte [edi + eax + 0x28], 4
jmp 0x4b8336
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 0x4b8435
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4b8418
inc eax
cmp dl, 0xd
je 0x4b8362
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4b8388
cmp eax, ecx
jae 0x4b8396
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 0x4b834a
jmp 0x4b8435
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 0x4b8413
cmp dword [ebp - 0x10], 0
je 0x4b8413
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x50a0d8]
test byte [eax + edi + 0x28], 0x48
je 0x4b83ed
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b83d8
mov byte [esi], dl
jmp 0x4b83e9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x50a0d8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b8435
cmp byte [ebp - 1], 0xa
jne 0x4b83fc
cmp esi, ebx
jne 0x4b83fc
mov byte [esi], 0xa
jmp 0x4b8434
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004b08c1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b8435
mov byte [esi], 0xd
jmp 0x4b8434
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x50a0d8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b8432
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b8435
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4b843e
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 + 0x50a0d8]
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 0x4b8484
cmp word [ebx], dx
jne 0x4b8484
or byte [eax + edi + 0x28], 4
jmp 0x4b8489
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 0x4b85ec
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 0x4b85cc
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4b84ca
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4b8500
cmp eax, edx
jae 0x4b850e
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 0x4b84a5
jmp 0x4b85ec
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 0x4b85c7
cmp dword [ebp - 0x18], 0
je 0x4b85c7
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x50a0d8]
test byte [eax + edi + 0x28], 0x48
je 0x4b859d
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 0x4b8561
mov word [esi], cx
jmp 0x4b8598
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x50a0d8]
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 + 0x50a0d8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x50a0d8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4b85ec
pop eax
cmp word [ebp - 4], ax
jne 0x4b85ad
cmp esi, ebx
jne 0x4b85ad
mov word [esi], ax
jmp 0x4b85e9
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004b08c1
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4b85ec
push 0xd
pop eax
jmp 0x4b85a8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x50a0d8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4b85e6
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4b85ec
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 0x4bd1e2
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.004bd15e
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4bd351
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4bd351
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4bd306
jg 0x4bd23e
test eax, eax
je 0x4bd2fc
push 1
push 0x1000
call fcn.004b5c87
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4bd261
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4bd2f3
push 0x8000
push ebx
call fcn.004b2dbe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4bd28a
jg 0x4bd285
cmp ecx, 0x1000
jb 0x4bd28a
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004b1209
add esp, 0x10
cmp eax, 0xffffffff
je 0x4bd2cf
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 0x4bd285
jl 0x4bd2b6
test ecx, ecx
jne 0x4bd277
push dword [ebp - 0xc]
push ebx
call fcn.004b2dbe
push esi
call fcn.004b5ce4
add esp, 0xc
xor ebx, ebx
jmp 0x4bd35f
cmp byte [edi + 0x24], 0
je 0x4bd2e6
cmp dword [edi + 0x20], 5
jne 0x4bd2e6
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4bd2f1
mov ebx, dword [edi + 0x18]
jmp 0x4bd2f3
xor ebx, ebx
push esi
call fcn.004b5ce4
pop ecx
jmp 0x4bd35f
test ecx, ecx
jg 0x4bd2c8
jl 0x4bd306
test eax, eax
jae 0x4bd2c8
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004b08c1
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4bd326
cmp byte [edi + 0x1c], 0
je 0x4bd2c8
jmp 0x4bd357
push ebx
call fcn.004bd0f4
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4bd2c8
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 0x4bd35f
cmp byte [edi + 0x1c], 0
je 0x4bd35c
mov ebx, dword [edi + 0x18]
jmp 0x4bd35f
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004b08c1
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bda2f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5036e8]
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 0x4bda7a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004bdbca
test al, al
jne 0x4bda74
sub edx, 2
cmp edx, edi
jne 0x4bda5a
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4bda9c
lea eax, [edi + 2]
cmp edx, eax
je 0x4bda9c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004bd97b
add esp, 0x10
jmp 0x4bdb96
push esi
lea ecx, [ebp - 0x255]
call fcn.004bdbca
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 0x4bdadf
push dword [ebp - 0x25c]
jmp 0x4bda8c
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 0x4bdb1c
cmp word [ebp - 0x226], 0
je 0x4bdb3d
cmp word [ebp - 0x226], ax
jne 0x4bdb1c
cmp word [ebp - 0x224], 0
je 0x4bdb3d
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004bd97b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4bdb89
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4bdaf6
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4bdb71
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4bdb96
push 0x4bd7ab
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004c37e0
add esp, 0x10
jmp 0x4bdb66
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.004779e3
leave
ret

Function at 0x4be4ac
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4be4bd
pop esi
ret
push ebx
push edi
push esi
call fcn.004be475
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004b5d1e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4be4e5
push ebx
push esi
push edi
call fcn.00498620
add esp, 0xc
push 0
call fcn.004b5ce4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4be8b5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004be4fa
Function at 0x4c09a8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004b599c
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 0x4c0a17
cmp esi, dword [ebp - 4]
je 0x4c0a12
cmp dword [ebp + 0xc], 0
je 0x4c0a12
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c09ef
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004c04fa
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4c0a19
xor eax, eax
inc eax
jmp 0x4c0a19
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4c0a7e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5036e8]
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.004b599c
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.004b599c
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 0x4c0af5
cmp word [ecx], dx
je 0x4c0af5
mov eax, dword [0x4eab94]
push edi
dec eax
push eax
push 0x4eaa80
call fcn.004c0a1d
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4c0b68
cmp word [eax], dx
je 0x4c0b68
mov eax, dword [edi]
test eax, eax
je 0x4c0b19
cmp word [eax], dx
je 0x4c0b19
lea eax, [ebp - 0x10]
push eax
call fcn.004c0400
jmp 0x4c0b22
lea eax, [ebp - 0x10]
push eax
call fcn.004c049b
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4c0b92
mov eax, dword [0x4eaa7c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4ea770
call fcn.004c0a1d
add esp, 0xc
test al, al
je 0x4c0b92
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4c0b5d
cmp word [eax], di
je 0x4c0b5d
lea eax, [ebp - 0x10]
push eax
call fcn.004c0400
pop ecx
jmp 0x4c0b94
lea eax, [ebp - 0x10]
push eax
call fcn.004c049b
jmp 0x4c0b5a
mov eax, dword [edi]
test eax, eax
je 0x4c0b7f
cmp word [eax], dx
je 0x4c0b7f
lea eax, [ebp - 0x10]
push eax
call fcn.004c03b5
pop ecx
jmp 0x4c0b92
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 0x4c0c5d
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004c08a2
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4c0c5d
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4c0c5d
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4c0c5d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4c0bea
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004b79cd
test ebx, ebx
je 0x4c0c58
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004b79cd
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c0c5d
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 0x4c0c5d
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004c3f7a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4c0c5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004779e3
leave
ret
Function at 0x406ffa
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edx, dword [ebp - 0x4d0]
add edx, 1
mov dword [ebp - 0x4d0], edx
push ecx
call fcn.00406fa6
add byte [edi + 0x45], al
inc edi
cmp byte [eax + 0x3d], al
inc esi
inc esi
add esp, 4
or ecx, 0x156e9
sub ecx, 0xc6c9
pop ecx
push esi
push eax
add esp, 4
or esi, 0x1626d
and esi, 0xe477
pop esi
mov eax, dword [ebp - 0x4d0]
sub eax, dword [ebp - 0x3c0]
cmp eax, 0xffffffff
jb 0x407010
push eax
xor eax, 0x8410
and eax, 0x4311
or eax, 0xf311
pop eax
push edx
call 0x406ffa
add byte [esi], dh
dec eax
inc edi
inc eax
inc edx
cmp al, byte [ebx - 0x357efb3c]
pop ss
mov dword [ebp - 0xc10], 7
mov ecx, dword [ebp - 0x4d0]
mov dword [ebp - 0xa60], ecx
push ebx
push esi
add esp, 4
call 0x40703a
add byte [esp + ecx*2 + 0x46], cl
dec edi
xor al, 0x49
xor al, 0x3e
inc ecx
add esp, 4
or ebx, 0xcb5
jmp 0x407049
pop ebx
push ecx
sub ecx, 0x12090
and ecx, 0x1530a
pop ecx
mov edx, dword [ebp - 0x14c8]
mov dword [ebp - 0x9f0], edx
mov dword [ebp - 0xc14], 0
mov eax, dword [ebp - 0x4d0]
cmp eax, dword [ebp - 0x14c8]
jne 0x4070bf
push edx
xor edx, 0xdc6b
xor edx, 0x14488
jmp 0x40708e
pop edx
push ebx
push esi
add esp, 4
jmp 0x40709c
sub ebx, 0x8fd3
jmp 0x4070a7
xor ebx, 0xd0c8
pop ebx
mov ecx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], ecx
jmp 0x4071f0
cmp dword [ebp - 0xc10], 0
jle 0x4071e4
push edx
jmp 0x4070d3
and edx, 0xb9b6
jmp 0x4070df
pop edx
push ebx
push ebx
add esp, 4
call 0x4070f4
add byte [edi], dh
aas
dec ebx
dec edx
push eax
xor al, 0x33
aaa
cmp eax, 0x8104c483
ret
mov edx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], edx
cmp dword [ebp - 0x14d0], 0
jne 0x407239
push ecx
push eax
add esp, 4
or ecx, 0x90e
and ecx, 0x59d0
jmp 0x407210
pop ecx
push edi
push ebx
add esp, 4
sub edi, 0x15e63
and edi, 0x6a93
pop edi
push eax
sub eax, 0xe1bc
pop eax
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0xa5c], eax
jmp 0x40727a
jmp 0x406f87

Function at 0x40719a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
add edx, 0x168c6
pop edx
push esi
or esi, 0xcf5
sub esi, 0x1849f
pop esi
mov edx, dword [ebp - 0xc10]
sub edx, 1
mov dword [ebp - 0xc10], edx
mov eax, dword [ebp - 0xa60]
add eax, 1
mov dword [ebp - 0xa60], eax
mov ecx, dword [ebp - 0x9f0]
add ecx, 1
mov dword [ebp - 0x9f0], ecx
jmp 0x4070bf
Function at 0x439db0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
xor cl, cl
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], eax
push ebp
push esi
push edi
test bl, 3
jne 0x439ee1
test al, 3
jne 0x439ee1
mov edi, edx
mov dword [esp + 0x10], 0
shr edi, 2
xor esi, esi
test edi, edi
je 0x439e9c
cmp edi, 8
jb 0x439e65
mov ebp, dword [esp + 0x24]
mov ecx, edi
mov dword [esp + 0x14], ebx
and ecx, 0xfffffff8
add eax, 0x10
xorps xmm2, xmm2
sub dword [esp + 0x14], ebp
xorps xmm3, xmm3
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm2, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm3, xmm1
cmp esi, ecx
jb 0x439e14
mov eax, dword [esp + 0x24]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd dword [esp + 0x10], xmm2
cmp esi, edi
jae 0x439ea0
mov ebp, ebx
lea ecx, [eax + esi*4]
sub ebp, eax
mov dword [esp + 0x14], ebp
mov ebp, edi
mov ebx, dword [esp + 0x14]
sub ebp, esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or edi, eax
sub ebp, 1
jne 0x439e82
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], edi
jmp 0x439ea4
xor edi, edi
jmp 0x439ea4
mov edi, dword [esp + 0x10]
shl esi, 2
sub edx, esi
jne 0x439eb8
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
add ebx, esi
mov ebp, dword [esp + 0x24]
mov ecx, eax
shr eax, 0x10
add ebp, esi
shr ecx, 0x18
or cl, al
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
shr eax, 8
or cl, al
mov eax, ebp
or cl, byte [esp + 0x10]
xor edi, edi
test edx, edx
je 0x439fa0
cmp edx, 0x20
jb 0x439f7a
mov esi, edx
xorps xmm3, xmm3
and esi, 0xffffffe0
xorps xmm2, xmm2
mov dword [esp + 0x10], esi
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x439f15
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or cl, al
mov ebp, dword [esp + 0x14]
cmp edi, edx
jae 0x439fa0
sub ebx, ebp
lea esi, [edi + ebp]
sub edx, edi
nop dword [eax]
mov al, byte [ebx + esi]
lea esi, [esi + 1]
xor al, byte [esi - 1]
or cl, al
sub edx, 1
jne 0x439f90
pop edi
pop esi
test cl, cl
pop ebp
sete al
pop ebx
add esp, 0xc
ret
Function at 0x44d760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6580
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d7340]
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.00478947
mov edi, eax
add esp, 4
test edi, edi
je 0x44d80b
push 1
mov dword [ebp - 4], 0
call fcn.00462153
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x452190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4d7340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7c
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00478947
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
test edi, edi
je 0x45227d
lea esi, [edi + 4]
mov dword [edi], vtable.kjellkod::Active.0
mov dword [ebp - 0x1c], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00478947
xorps xmm0, xmm0
push 2
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [esi + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push eax
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call fcn.004617e1
lea eax, [esi + 0x44]
push eax
call fcn.0046099f
xorps xmm0, xmm0
add esp, 0x10
movq qword [edi + 0x70], xmm0
mov byte [edi + 0x78], 0
jmp 0x45227f
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [esi], edi
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.00478947
add esp, 4
test eax, eax
je 0x4522ab
mov dword [eax], edi
mov dword [eax + 4], 0x452490
jmp 0x4522ad
xor eax, eax
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x44f6c0
push 0
push 0
call fcn.0048563b
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x45230f
mov edx, dword [esi]
cmp dword [edx + 0x74], 0
jne 0x45231d
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [edx + 0x70], eax
mov dword [edx + 0x74], ecx
cmp dword [ebp - 0x14], 0
jne 0x45231d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.00461772
call fcn.0048437f
int3