joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dde00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
fild dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
fstp dword [ebp + 8]
fld dword [ebp + 8]
fdiv qword [0x10146310]
push str.Control_PanelMouse
push 0x80000001
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], 0x28
fstp dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ddfd1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SmoothMouseXCurve
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100ddfc8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100dd550
add esp, 8
test eax, eax
je 0x100ddfc8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SmoothMouseYCurve
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100ddfc8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100dd550
add esp, 8
test eax, eax
je 0x100ddfc8
movss xmm1, dword [ebp - 0x24]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100ddeed
fld dword [ebp - 0x10]
fld dword [ebp - 0x38]
fdiv dword [ebp - 0x24]
fmul st(1)
fstp dword [ebp + 8]
jmp 0x100ddef7
fld dword [ebp - 0x10]
mov dword [ebp + 8], 0
fld dword [ebp + 8]
fld qword [0x10146308]
fdiv st(1), st(0)
fxch st(1)
movss dword [ebp - 0x60], xmm1
movss xmm1, dword [ebp - 0x20]
comiss xmm1, xmm0
fstp dword [ebp - 0x5c]
jbe 0x100ddf23
fld dword [ebp - 0x34]
fdiv dword [ebp - 0x20]
fmul st(2)
fstp dword [ebp + 8]
jmp 0x100ddf2a
mov dword [ebp + 8], 0
fld dword [ebp + 8]
fdiv st(1)
movss dword [ebp - 0x58], xmm1
movss xmm1, dword [ebp - 0x1c]
comiss xmm1, xmm0
fstp dword [ebp - 0x54]
jbe 0x100ddf4e
fld dword [ebp - 0x30]
fdiv dword [ebp - 0x1c]
fmul st(2)
fstp dword [ebp + 8]
jmp 0x100ddf55
mov dword [ebp + 8], 0
fld dword [ebp + 8]
fdiv st(1)
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [ebp - 0x18]
comiss xmm1, xmm0
fstp dword [ebp - 0x4c]
jbe 0x100ddf79
fld dword [ebp - 0x2c]
fdiv dword [ebp - 0x18]
fmul st(2)
fstp dword [ebp + 8]
jmp 0x100ddf80
mov dword [ebp + 8], 0
fld dword [ebp + 8]
fdiv st(1)
movss dword [ebp - 0x48], xmm1
movss xmm1, dword [ebp - 0x14]
comiss xmm1, xmm0
fstp dword [ebp - 0x44]
jbe 0x100ddfa6
fld dword [ebp - 0x28]
fdiv dword [ebp - 0x14]
fmulp st(2)
fxch st(1)
fstp dword [ebp + 8]
jmp 0x100ddfaf
fstp st(1)
mov dword [ebp + 8], 0
fdivr dword [ebp + 8]
lea eax, [ebp - 0x60]
push eax
push 0xa
movss dword [ebp - 0x40], xmm1
fstp dword [ebp - 0x3c]
call fcn.10093510
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x100e0950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push 0x80000001
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100e09c5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.AppsUseLightTheme
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100e09bc
cmp dword [ebp - 4], 0
mov eax, 2
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100f4560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x20], 0x95
call fcn.100f424d
push eax
push edi
push dword [ebp + 8]
call fcn.100f4202
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], 0xfb
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x71
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x42
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 4
call fcn.100f424d
push eax
push edi
push dword [ebp + 8]
call fcn.100f4202
add esp, 0x20
mov dword [ebp - 0xc], eax
call fcn.100f423d
xlatb
invalid
Function at 0x1010ea5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1010e8d3
Function at 0x6d5b2e1d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d5b2e6b
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d5b2e7c
push 0xd
pop eax
jmp 0x6d5b2ea6
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d5b2e7f
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d5b343c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d5c3fd0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d5bb5a7
mov ebx, eax
cmp ebx, esi
je 0x6d5b34af
lea ecx, [ebp - 0x74]
call fcn.6d5b2d4b
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d5bb202
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d5b34c7
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d5b343c
cmp eax, esi
jne 0x6d5b34f9
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d5b34b7
lea ecx, [ebp - 0x74]
call fcn.6d5b2d4b
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d5b2cdc
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d5b2d4b
mov eax, esi
jmp 0x6d5b3495
Function at 0x6d5bb202
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d5c3fd0]
jne 0x6d5bb20c
repz ret
jmp fcn.6d5bb8f0

Function at 0x6d5bb5a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x6d5bb5b6
pop dword [ebp - 0x18]
mov eax, 0x77db913f
sub eax, 0xa7fdb89
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xc5516b33
sub dword [ebp - 0x28], 0x76ff25e8
mov dword [ebp - 0x24], 0x969ded94
add dword [ebp - 0x24], 0x9b955eb1
mov dword [ebp - 0x20], 0x10daea32
sub dword [ebp - 0x20], 0xc48ea604
mov dword [ebp - 0x1c], 0xc3aabb2e
sub dword [ebp - 0x1c], 0xc3aabb2e
lea eax, [ebp - 0x28]
push eax
mov eax, 0x9fea8efd
add eax, 0xcd71413b
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xbd487de
add dword [ebp - 0x28], 0x689de178
mov dword [ebp - 0x24], 0xc894051a
sub dword [ebp - 0x24], 0x8727a3a5
mov dword [ebp - 0x20], 0x67e6ae43
sub dword [ebp - 0x20], 0x47741d7
mov dword [ebp - 0x1c], 0x2ec4d8c2
add dword [ebp - 0x1c], 0xd13b273e
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xe91fc2e0
sub eax, 0x7bc3f2ac
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3610b
push 0
call eax
mov ecx, 0x211ae678
sub ecx, 0x211aa449
mov ebx, eax
mov edi, 0x6d5c7e00
add edi, dword [ebp - 0x18]
mov edx, 0xd6e51adb
sub edx, 0xca16f52b
xor dword [ebp - 0xc], ebx
mov esi, dword [edi]
add dword [ebp - 0x10], edx
xor esi, edx
xor dword [ebp - 0x10], 0x6101ff78
mov dword [ebx], esi
sub dword [ebp - 0x14], edi
add ebx, 4
add edi, 0xef7862cd
add edi, 0x10879d37
loop 0x6d5bb6d2
add eax, 0xfc0b974f
sub eax, 0xfc0a9bc0
mov ebx, eax
add eax, 5
mov ecx, 0x16cecdd9
add ecx, 0x568c3227
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x4064d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x434398]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4340e0]
cmp eax, dword [ecx + 4]
jg 0x406697
cmp dword [0x433498], 0
jne 0x40667a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.004072b0
test al, al
jne 0x406589
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00401250
mov esi, eax
add esp, 0xc
cmp esi, 0x433488
je 0x406671
mov ecx, dword [0x43349c]
cmp ecx, 0x10
jb 0x40662e
mov edx, dword [0x433488]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406624
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4066cd
jmp 0x406624
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0040fd40
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4065f7
cmp dword [ebp - 0x240], esi
je 0x4065eb
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4065d0
jmp 0x4065f7
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00401250
add esp, 0x10
mov esi, eax
cmp esi, 0x433488
pop edi
jmp 0x406546
push ecx
push edx
call fcn.0040e1f3
add esp, 8
mov dword [0x433498], 0
mov dword [0x43349c], 0xf
mov byte [0x433488], 0
movups xmm0, xmmword [esi]
movups xmmword [0x433488], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x433498], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.004014b0
pop esi
push 0x433488
mov ecx, ebx
call fcn.00402850
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040e3e6
mov esp, ebp
pop ebp
ret
push 0x4340e0
call fcn.0040e310
add esp, 4
cmp dword [0x4340e0], 0xffffffff
jne 0x40650d
push 0x4274d0
call fcn.0040e653
push 0x4340e0
call fcn.0040e2c6
add esp, 8
jmp 0x40650d
call fcn.0041172f
int3
Function at 0x4066e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426736
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x24c], esi
call fcn.0040fd40
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.0040fa40
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406760
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x406859
call fcn.00401ec0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040b8e0
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00406cf0
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0x10
jb 0x40680a
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406800
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40689e
push ecx
push edx
call fcn.0040e1f3
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x406881
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406877
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40689e
jmp 0x406877
call fcn.00401ec0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0040b8e0
add esp, 8
jmp 0x406825
push ecx
push edx
call fcn.0040e1f3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e3e6
mov esp, ebp
pop ebp
ret
call fcn.0041172f
int3
Function at 0x40eba1
Capabilities:
Parse pe header

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

Function at 0x419e9b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419e1d

Function at 0x41c6e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x434a98]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c721
cmp byte [ebx], 0xa
jne 0x41c721
or byte [eax + edi + 0x28], 4
jmp 0x41c726
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c824
mov al, byte [edx]
cmp al, 0x1a
je 0x41c806
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c755
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c77a
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c784
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c737
jmp 0x41c824
push 0
lea eax, [ebp - 0xc]
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 0x41c801
cmp dword [ebp - 0xc], 0
je 0x41c801
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x434a98]
test byte [eax + edi + 0x28], 0x48
je 0x41c7db
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c7c6
mov byte [esi], dl
jmp 0x41c7d7
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x434a98]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c824
cmp byte [ebp - 1], 0xa
jne 0x41c7ea
cmp esi, ebx
jne 0x41c7ea
mov byte [esi], 0xa
jmp 0x41c823
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d12f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c824
mov byte [esi], 0xd
jmp 0x41c823
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x434a98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c820
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c824
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c82d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x434a98]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c870
cmp word [esi], dx
jne 0x41c870
or byte [edi + eax + 0x28], 4
jmp 0x41c875
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41c9c8
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41c9a8
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c8b7
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c8ed
cmp eax, edx
jae 0x41c8f9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c88f
jmp 0x41c9c8
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c9a4
cmp dword [ebp - 0x14], 0
je 0x41c9a4
mov eax, dword [ebx*4 + 0x434a98]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c97c
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c945
mov word [esi], cx
jmp 0x41c978
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x434a98]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x434a98]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x434a98]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c9c8
pop ebx
cmp word [ebp - 4], bx
jne 0x41c98d
cmp esi, dword [ebp + 0xc]
jne 0x41c98d
mov word [esi], bx
jmp 0x41c9c5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d12f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c9c8
push 0xd
jmp 0x41c9c1
mov ecx, dword [ebx*4 + 0x434a98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c9bf
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c9c8
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e4e0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c2d8
push 0x42c2d0
push str.FlsAlloc
push 0x1e
call fcn.0041e37e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e514
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281dc]
call esi
jmp 0x41e51a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41e55e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c2e8
push 0x42c2e0
push str.FlsGetValue
push 0x20
call fcn.0041e37e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e595
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41f894
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 0x41f931
push ebx
push esi
call fcn.0041f85d
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.0041e17a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f8de
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f930
push edi
push eax
call fcn.0041a74d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f8fe
call fcn.0041a713
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f92f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041e17a
add esp, 0x20
test eax, eax
jne 0x41f91d
push edi
call fcn.0041a713
jmp 0x41f925
push ebx
call fcn.0041a713
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x424735
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]
push dword [ebp + 0xc]
push ebx
call fcn.004246b1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4248ad
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4248ad
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42485c
jg 0x42478e
test eax, eax
je 0x424852
push 1
push 0x1000
call fcn.0041e897
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4247b4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x424849
push 0x8000
push ebx
call fcn.00417e18
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4247e0
jg 0x4247db
cmp ecx, 0x1000
jb 0x4247e0
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041da7a
add esp, 0x10
cmp eax, 0xffffffff
je 0x424825
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 0x4247db
jl 0x42480c
test ecx, ecx
jne 0x4247cd
push dword [ebp - 0xc]
push ebx
call fcn.00417e18
push esi
call fcn.0041a713
add esp, 0xc
xor edi, edi
jmp 0x4248be
cmp byte [edi + 0x24], 0
je 0x42483c
cmp dword [edi + 0x20], 5
jne 0x42483c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x424847
mov edi, dword [edi + 0x18]
jmp 0x424849
xor edi, edi
push esi
call fcn.0041a713
pop ecx
jmp 0x4248be
test ecx, ecx
jg 0x42481e
jl 0x42485c
test eax, eax
jae 0x42481e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d12f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42487f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42481e
jmp 0x4248b6
push ebx
call fcn.0041fcfe
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42481e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4248be
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4248bb
mov edi, dword [edi + 0x18]
jmp 0x4248be
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041d12f
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425c80
Capabilities:
Parse pe header

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