joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x838
cmp byte [0x4a3318], 0
push esi
push edi
jne 0x409ba5
cmp dword [0x4a14e4], 0
jne 0x409a1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a14e4], eax
mov edi, 1
add dword [0x4a331c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4a331c]
mov esi, dword [0x49d33c]
mov ecx, eax
sub ecx, dword [0x4a14e4]
mov dword [0x4a14e8], eax
cmp edx, dword [0x49d338]
jbe 0x409ad5
cmp ecx, esi
jae 0x409ad5
push ecx
push edx
mov dword [esp + 0x44], edi
push 0x491668
mov esi, 0x800
lea edi, [esp + 0x4c]
call fcn.00463ff0
add esp, 0xc
call fcn.00408cb0
fldz
push 0
sub esp, 8
fstp qword [esp]
push 0
mov eax, edi
push 4
push eax
mov byte [0x4a3318], 1
mov dword [0x49d328], 0
call fcn.00468330
add esp, 0x18
cmp eax, 7
jne 0x409ab9
push 0
push 0
push 1
mov ecx, 0x4a2c18
call fcn.00414960
mov eax, dword [0x4a14e8]
mov edx, dword [esp + 0x3c]
mov dword [0x49d328], 1
mov byte [0x4a3318], 0
jmp 0x409adb
xor edx, edx
cmp ecx, esi
jbe 0x409af2
mov dword [0x4a331c], 0
mov dword [0x4a14e4], eax
test edx, edx
jne 0x409ba5
mov esi, dword [ebp + 8]
mov cl, byte [esi + 0x11]
mov byte [0x4a30c9], cl
cmp byte [esi + 0x1a], 0
je 0x409b69
cmp byte [esi + 0x1b], 0
je 0x409b69
mov byte [esp + 0x3b], 1
call fcn.0040b370
mov ecx, dword [0x49d3c8]
inc byte [ebx + 0x1f]
mov eax, dword [ebx]
mov esi, dword [ecx + 0x9c]
push 0
push 0
mov dword [ecx + 0x9c], eax
mov ecx, dword [eax + 4]
push 1
call fcn.004217a0
mov edx, dword [0x49d3c8]
mov dword [edx + 0x9c], esi
dec byte [ebx + 0x1f]
cmp byte [esp + 0x3b], 0
mov edi, eax
je 0x409b59
mov esi, dword [ebp + 8]
call fcn.0040b2a0
test edi, edi
jne 0x409b70
mov byte [ebx + 0x23], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x3b], 0
jmp 0x409b14
cmp byte [ebx + 0x23], 0
je 0x409ba5
mov byte [ebx + 0x23], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 4]
cmp eax, 0x3e8
ja 0x409ba5
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
mov edx, dword [0x4a0a38]
push 0
push ecx
push 0x312
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40f6d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [ebp]
push edi
cmp esi, 0x80000000
je 0x40f87c
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
cmp eax, 0x80000000
je 0x40f87c
mov edx, dword [0x4a2500]
cmp edx, 2
jne 0x40f74d
movzx ebx, byte [esp + 0x2c]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
mov edi, eax
call fcn.0040fa50
add esp, 4
call fcn.0040fec0
cmp byte [esp + 0x2c], 0
je 0x40f87c
mov eax, dword [esp + 0x24]
mov dword [ebp], reloc.USER32.dll_AdjustWindowRectEx
mov dword [eax], reloc.USER32.dll_AdjustWindowRectEx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
or dword [ecx], reloc.USER32.dll_AdjustWindowRectEx
cmp byte [esp + 0x2c], 0
je 0x40f7a3
cmp edx, 1
jne 0x40f789
cmp dword [0x49f960], 0x80000000
jne 0x40f776
push 0x49f960
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x49f960]
add dword [ebp], ecx
mov edx, dword [0x49f964]
add dword [edi], edx
jmp 0x40f7b8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add dword [ebp], ecx
add dword [edi], edx
jmp 0x40f7b8
mov eax, dword [0x49d3c8]
test byte [eax + 0xc8], 2
jne 0x40f7b8
mov ebx, ebp
call fcn.004652b0
cmp dword [0x4a2500], 1
jne 0x40f7d2
mov ecx, dword [ebp]
mov dword [0x49f960], ecx
mov edx, dword [edi]
mov dword [0x49f964], edx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
mov esi, eax
mov eax, dword [ebp]
shl eax, 0x10
cdq
idiv ebx
inc eax
mov dword [ebp], eax
mov eax, dword [edi]
shl eax, 0x10
cdq
idiv esi
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov dword [edi], ecx
test eax, eax
js 0x40f865
cmp eax, 0x64
jle 0x40f815
mov dword [esp + 0x28], 0x64
jmp 0x40f819
test eax, eax
je 0x40f865
cmp dword [0x4a2500], 1
je 0x40f865
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi]
mov eax, dword [ebp]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
shl eax, 0x10
cdq
idiv esi
mov esi, eax
mov eax, dword [esp + 0x1c]
shl eax, 0x10
cdq
idiv ebx
lea ecx, [eax + 1]
lea eax, [esi + 1]
call fcn.0044a4d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [ebp]
push 0x8001
xor eax, eax
call fcn.0040f890
add esp, 4
call fcn.0040fec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x410850
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4a0b68], 0
je 0x410866
cmp byte [esp + 4], 0
jne 0x410866
mov al, byte [0x4a0a35]
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
xor bl, bl
call esi
mov ecx, 0x8000
test cx, ax
je 0x410883
mov bl, 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x410897
or bl, 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x4108ab
or bl, 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x4108bf
or bl, 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x4108d3
or bl, 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x4108e7
or bl, 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x4108f8
or bl, 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x410909
or bl, 0x80
cmp dword [0x4a0b68], 0
je 0x410946
mov al, bl
not al
and al, byte [0x4a0a35]
je 0x410946
mov cl, byte [0x4a0a37]
not al
and byte [0x4a0a35], al
and byte [0x4a0a36], al
and cl, al
mov al, cl
mov byte [0x4a0a37], cl
mov ecx, 0x4a0a58
call fcn.00410950
pop esi
mov al, bl
pop ebx
ret

Function at 0x410d10
Capabilities:
Get keyboard layout

Disassembly:
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x410d25
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x410d27
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
xor eax, eax
call fcn.00410d50
xor ecx, ecx
add esp, 4
cmp eax, 3
sete al
ret

Function at 0x410ff0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp al, 0xa
jne 0x410ff7
mov al, 0xd
ret
push ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x411013
cmp al, 0xff
jne 0x411013
xor al, al
ret
test esi, esi
je 0x411059
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x411026
or byte [esi], 8
jmp 0x411048
test dl, 2
je 0x411037
mov cl, byte [esi]
test cl, 3
jne 0x411037
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x411048
mov cl, byte [esi]
test cl, 0xc
jne 0x411048
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x411059
mov cl, byte [esi]
test cl, 0x30
jne 0x411059
or cl, 0x10
mov byte [esi], cl
ret
Function at 0x411260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
mov byte [esi], 0
test bl, bl
jne 0x41128a
test di, di
je 0x411335
mov ecx, edi
call fcn.004115c0
mov byte [esp + 0x10], al
jmp 0x4112a1
test di, di
jne 0x4112aa
mov eax, dword [esp + 0x10]
push eax
xor bl, bl
call fcn.00411340
add esp, 4
movzx edi, ax
mov bl, byte [esp + 0x10]
test di, di
je 0x4112c7
cmp bl, 0x9c
jb 0x4112b4
cmp bl, 0x9f
jbe 0x4112c7
push ebp
movzx ecx, di
push esi
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jne 0x411335
xor eax, eax
lea esp, [esp]
cmp byte [eax*8 + 0x49e10c], bl
je 0x4112fb
inc eax
cmp eax, 0x6d
jl 0x4112d0
movzx eax, bl
push eax
call 0x4786b1
add esp, 4
test eax, eax
je 0x41131f
pop edi
pop ebp
mov byte [esi], bl
mov byte [esi + 1], 0
mov eax, esi
pop ebx
ret
cmp eax, 0x6d
jge 0x4112df
mov edx, dword [eax*8 + reloc.USER32.dll_AdjustWindowRectEx]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.0047a8e0
add esp, 0xc
mov byte [edi + esi], 0
pop edi
pop ebp
mov eax, esi
pop ebx
ret
lea edi, [ebp - 1]
push edi
push 0x491b84
push esi
call fcn.0047a8e0
mov byte [edi + esi], 0
add esp, 0xc
pop edi
pop ebp
mov eax, esi
pop ebx
ret

Function at 0x4115c0
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x411618
je 0x411615
sub eax, 0x1d
cmp eax, 0x36
ja case.0x411629.286
movzx eax, byte [eax + 0x411694]
jmp dword [eax*4 + 0x41164c]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x28
ja case.0x411629.286
movzx edx, byte [eax + 0x4116e4]
jmp dword [edx*4 + 0x4116cc]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
movzx eax, cl
push 1
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
ret

Function at 0x411710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49f988], eax
mov edx, 1
mov eax, 0x49f988
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a0344
jl 0x411724
mov dword [0x49d318], 1
mov dword [0x4a2504], 1
pop edi
ret
Function at 0x411760
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a2504], 0
push esi
mov esi, 0x49f988
jne 0x41177e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00411710
add esp, 4
mov dword [0x49d318], 0x270
mov dword [0x49f984], esi
mov ecx, 0xe3
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + reloc.USER32.dll_AdjustWindowRectEx]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x411793
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - reloc.USER32.dll_AdjustWindowRectEx]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x4117c8
mov ecx, dword [esi]
mov eax, dword [0x49f988]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - reloc.USER32.dll_AdjustWindowRectEx]
mov dword [esi], ecx
pop esi
ret

Function at 0x411880
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49d318]
jne 0x41188d
call fcn.00411760
mov eax, dword [0x49f984]
mov ecx, dword [eax]
add eax, 4
mov dword [0x49f984], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x412180
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x412189
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x4121aa
cmp dword [0x4a2c08], 0
je 0x4121aa
mov dword [esp + 4], 1
mov ecx, 0x4a2bfc
jmp fcn.00403c50
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x4121be
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x434590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push esi
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push 0x494cb8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43461f
mov eax, dword [esp + 0xc]
push edi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push 0x494cac
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
pop edi
jne 0x43461f
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x43461f
dec eax
cmp byte [esp + eax + 0x10], bl
jne 0x434611
cmp eax, ebx
je 0x434625
lea ecx, [esp + 0x10]
cmp byte [ecx + eax - 1], bl
jne 0x434625
dec eax
jne 0x434606
jmp 0x434625
inc eax
cmp eax, 0x104
jae 0x43461f
mov byte [esp + eax + 0x10], bl
jmp 0x434625
mov byte [esp + 0x10], bl
xor eax, eax
cmp esi, ebx
je 0x43463b
lea ecx, [esp + 0x10]
mov edx, ecx
sub esi, edx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x434631
pop esi
pop ebx
add esp, 0x10c
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
test esi, esi
je 0x43930a
cmp byte [esi], 0
je 0x43930a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, reloc.USER32.dll_AdjustWindowRectEx
je 0x43923e
mov ecx, dword [0x49d3c8]
shr eax, 4
not eax
test al, 1
mov dword [ecx + 0x30], 0xb7
mov eax, 0x4916f4
jne 0x439223
mov eax, 0x4900b0
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5c
push esi
call fcn.00478bf7
mov ebx, eax
add esp, 8
cmp ebx, esi
jbe 0x4392c2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439254
sub eax, edx
cmp eax, 0x104
jb 0x439276
mov edx, dword [0x49d3c8]
mov dword [edx + 0x30], 0x6f
jmp 0x439316
mov edi, ebx
sub edi, esi
push edi
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0047a8e0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + edi + 0x14], 0
call fcn.004391d0
cmp byte [ebx + 1], 0
je 0x4392b4
mov ecx, dword [0x4a13a4]
push 1
call fcn.00401230
cmp byte [eax], 0x31
jne 0x4392c2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc esi
mov edx, dword [0x49d3c8]
mov dword [edx + 0x30], eax
mov eax, 0x4916f4
jne 0x439223
mov ecx, dword [0x4a13a4]
push 1
push 0
mov eax, 0x4900b0
push 0xffffffffffffffff
push eax
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x49d3c8]
mov dword [eax + 0x30], 0x57
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x445e10
Capabilities:
Log keystrokes via polling

Disassembly:
test bl, bl
jne 0x445e17
xor al, al
ret
mov eax, dword [esp + 4]
dec eax
je 0x445e3f
dec eax
je 0x445e31
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
ret
lea edx, [ebx - 1]
cmp dl, 5
ja 0x445e4c
cmp bl, 3
jne 0x445e53
lea eax, [ebx + 0x66]
cmp al, 5
ja 0x445e79
cmp dword [0x4a0b6c], 0
je 0x445e69
movzx ecx, bl
mov al, byte [ecx + 0x4a0a58]
shr al, 7
ret
movzx edx, bl
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret
cmp dword [0x4a0b68], 0
je 0x445ea8
xor ecx, ecx
xor edx, edx
mov al, bl
call fcn.00410a20
test al, al
je 0x445e9b
push 1
call fcn.00410850
add esp, 4
movzx eax, bl
mov al, byte [eax + 0x4a0a58]
shr al, 7
ret
movzx ecx, bl
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
ret

Function at 0x44a1d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, reloc.USER32.dll_AdjustWindowRectEx
jne 0x44a253
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x44a23e
dec eax
jne 0x44a260
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a1f7
sub eax, edx
cmp eax, 0x104
ja 0x44a260
inc eax
call fcn.004854f0
mov esi, esp
mov edx, esi
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44a215
push 0x5c
push esi
call fcn.00478bf7
add esp, 8
test eax, eax
je 0x44a260
push esi
mov byte [eax], 0
call fcn.0044a1d0
add esp, 4
test al, al
je 0x44a260
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
test al, 0x10
je 0x44a260
mov al, 1
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
xor al, al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret

Function at 0x44a470
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x44a4c1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x44a4c1
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44a4c1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x44f590
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, eax
movzx ecx, byte [edi + 1]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp ecx, eax
jle 0x44f78b
mov dword [esp + 0x1c], eax
mov edx, dword [edi + 8]
add eax, edx
mov dl, byte [eax]
cmp dl, 2
jne 0x44f5e2
push 1
push ebx
push edi
call fcn.0041d440
mov ecx, dword [esp + 0x24]
mov dword [ecx + ebx*4], eax
test eax, eax
jne 0x44f773
or eax, reloc.USER32.dll_AdjustWindowRectEx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
cmp byte [eax + 1], 0
mov ebp, dword [esp + 0x24]
mov dword [ebp + ebx*4], 0
je 0x44f615
movzx eax, word [eax + 2]
mov edx, 0xff
cmp ax, dx
jae 0x44f604
mov eax, edx
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x18], edx
jmp 0x44f773
cmp dl, 1
jne 0x44f62b
push 0
push ebx
push edi
call fcn.0041d440
mov esi, eax
test esi, esi
je 0x44f5d5
jmp 0x44f676
cmp ebx, ecx
jge 0x44f773
mov cl, byte [eax]
test cl, cl
jne 0x44f64e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x44f773
cmp dword [ecx], 0
jne 0x44f65c
jmp 0x44f773
cmp cl, 1
sete cl
test cl, cl
je 0x44f773
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xc], 0
jne 0x44f6ad
mov dx, word [ecx + 0xa]
cmp dx, word [eax + 2]
jne 0x44f6ad
mov esi, dword [ecx + 4]
test esi, esi
je 0x44f6ad
push ebp
push ebx
push esi
mov dword [ebp + ebx*4], esi
call fcn.0044f7b0
test eax, eax
je 0x44f5d5
cmp eax, 4
je 0x44f773
push 0
mov ecx, esi
call fcn.00466bf0
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x18], edx
jmp 0x44f773
movzx eax, word [eax + 2]
mov edx, dword [esp + 0x18]
lea eax, [edx + eax + 1]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x44f773
mov ebp, ecx
cmp dword [ebp], 0
je 0x44f773
mov esi, dword [ebp + 4]
movzx ecx, word [ebp + 0xa]
movzx eax, byte [esi + 0x17]
sub dword [esp + 0x18], ecx
cmp eax, 3
ja case.default.0x44f6e5
jmp dword [eax*4 + 0x44f79c]
mov eax, esi
call fcn.00401150
cmp dword [0x4a0b8c], 0
jne 0x44f72e
cmp dword [esi + 0xc], 0
jne 0x44f72e
mov eax, dword [esi + 0x18]
push 0
lea edx, [esp + 0x1b]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x44f724
mov dword [0x4a3b6c], 0
dec eax
jmp 0x44f762
mov dword [0x4a3b6c], esi
xor eax, eax
jmp 0x44f762
mov eax, dword [esi + 0xc]
jmp 0x44f762
mov ecx, dword [esi + 0xc]
push 0
call fcn.00466bf0
jmp 0x44f762
push 0
mov ecx, 0x4a2bfc
call fcn.004039a0
cmp eax, reloc.USER32.dll_AdjustWindowRectEx
jne 0x44f762
xor eax, eax
jmp 0x44f762
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
push ecx
push 0
call edx
add esp, 8
add dword [esp + 0x18], eax
add ebp, 0xc
cmp dword [ebp], 0
jne 0x44f6d1
mov eax, dword [esp + 0x1c]
movzx ecx, byte [edi + 1]
inc ebx
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp ebx, ecx
jl 0x44f5b1
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x44f8c0
Capabilities:
Query environment variable

Disassembly:
sub esp, 8
push ebx
push ebp
shl eax, 4
add eax, dword [edx + 8]
push esi
push edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x44f8e9
push edi
call fcn.00466bf0
lea eax, [eax + edi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], ebx
test eax, eax
je 0x44fa86
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
test eax, eax
je 0x44fa86
jmp 0x44f910
cmp ebx, eax
jae 0x44f922
mov cl, byte [ebx]
mov byte [edi], cl
inc ebx
inc edi
cmp ebx, eax
jb 0x44f914
mov dword [esp + 0x10], ebx
mov esi, dword [esi + 4]
movzx eax, byte [esi + 0x17]
mov ebp, edi
cmp eax, 3
ja case.default.0x44f934
jmp dword [eax*4 + 0x44faac]
mov eax, esi
call fcn.00401150
cmp dword [0x4a0b8c], 0
jne 0x44f9b8
cmp dword [esi + 0xc], 0
jne 0x44f9b8
cmp dword [0x4a3b6c], esi
jne 0x44f95d
test edi, edi
jne 0x44f997
mov eax, dword [esi + 0x18]
push 0
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x44f993
mov dword [0x4a3b6c], 0
test edi, edi
je 0x44f98d
mov ecx, dword [esi + 0x18]
call fcn.00465330
jmp 0x44fa65
dec eax
jmp 0x44fa65
test edi, edi
je 0x44f9ab
mov byte [edi], 0
mov dword [0x4a3b6c], 0
xor eax, eax
jmp 0x44fa65
mov dword [0x4a3b6c], esi
xor eax, eax
jmp 0x44fa65
mov ebx, dword [esi + 0xc]
test edi, edi
jne 0x44f9ca
mov eax, ebx
mov ebx, dword [esp + 0x10]
jmp 0x44fa65
test ebx, ebx
jne 0x44f9db
mov byte [edi], bl
mov ebx, dword [esp + 0x10]
xor eax, eax
jmp 0x44fa65
mov ecx, dword [esi + 8]
cmp edi, ecx
jne 0x44f9ea
mov eax, ebx
mov ebx, dword [esp + 0x10]
jmp 0x44fa65
cmp ebx, 0x186a0
jae 0x44fa0f
mov al, byte [ecx]
test al, al
je 0x44fa03
inc ecx
mov byte [ebp], al
mov al, byte [ecx]
inc ebp
test al, al
jne 0x44f9f8
mov eax, ebx
mov ebx, dword [esp + 0x10]
mov byte [ebp], 0
jmp 0x44fa65
push ebx
push ecx
push edi
call fcn.0047b470
mov byte [ebx + edi], 0
mov eax, ebx
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x44fa65
mov ecx, dword [esi + 0xc]
push edi
call fcn.00466bf0
jmp 0x44fa65
push edi
mov ecx, 0x4a2bfc
call fcn.004039a0
cmp eax, reloc.USER32.dll_AdjustWindowRectEx
jne 0x44fa43
xor eax, eax
test edi, edi
je 0x44fa65
mov byte [eax + edi], 0
jmp 0x44fa65
test edi, edi
je 0x44fa54
mov byte [edi], 0
xor eax, eax
jmp 0x44fa65
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
push ecx
push edi
call edx
add esp, 8
mov esi, dword [esp + 0x14]
add edi, eax
movzx eax, word [esi + 0xa]
add esi, 0xc
add ebx, eax
mov eax, dword [esi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
test eax, eax
jne 0x44f910
mov al, byte [ebx]
test al, al
je 0x44fa9b
sub ebx, edi
mov edi, edi
mov byte [edi], al
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x44fa90
mov byte [edi], 0
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4