joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a150
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x40a188
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x40a17e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x40a18a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40a170
xor eax, eax
pop ebx
pop esi
ret

Function at 0x40a880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
call fcn.00409d60
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00401ac0
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll__fileno
mov dword [esp], eax
call sub.msvcrt.dll__isatty
mov dword [0x420024], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], eax
call fcn.004028a0
mov dword [esp + 4], 0x4100c7
mov dword [esp], str._dev_null
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], eax
call fcn.00403090
test ebx, ebx
je 0x40a9c9
movzx eax, byte [ebx]
movzx edx, al
test byte [edx + edx + 0x41ea20], 0x40
jne 0x40a983
cmp al, 0x2e
je 0x40a91a
jmp 0x40a990
add ebx, 2
movzx eax, byte [ebx]
cmp al, 0x2e
jne 0x40a990
cmp byte [ebx + 1], 0x2f
je 0x40a910
mov dword [esp + 4], 0xa
mov esi, ebx
mov dword [esp], ebx
mov dword [0x420684], ebx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x40a9b0
cmp eax, esi
lea ebx, [eax + 1]
jbe 0x40a9c0
movzx edx, byte [eax - 1]
test byte [edx + edx + 0x41ea20], 0x40
je 0x40a9c0
sub eax, 1
cmp eax, esi
je 0x40a8f3
movzx edx, byte [eax - 1]
test byte [edx + edx + 0x41ea20], 0x40
jne 0x40a951
cmp byte [esi], 0x23
je 0x40a8f3
mov byte [eax], 0
call fcn.00401d50
movzx eax, byte [ebx]
movzx edx, al
test byte [edx + edx + 0x41ea20], 0x40
je 0x40a907
add ebx, 1
jmp 0x40a8f3
test al, al
jne 0x40a920
mov eax, dword [0x420680]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
mov dword [esp], 0
call sub.msvcrt.dll_exit
lea esi, [esi]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add eax, ebx
cmp eax, esi
mov ebx, eax
ja 0x40a943
cmp eax, esi
jne 0x40a966
jmp 0x40a8f3
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x20
mov dword [esp + 4], 1
mov dword [esp], str.No_file_names_listed_for_fixing_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 1
call sub.msvcrt.dll_exit
nop
nop
nop
Function at 0x7f04c5
Capabilities:
Encode data using xor

Disassembly:
lea eax, [ebx + 0x8be6e84]
pop ds
adc eax, 0x53406abf
inc eax
push ebx
inc eax
push ebx
push edx
jne 0x7f04d8
sbb byte [ebp + 0xf], 0xff
adc eax, 0x353447b7
inc edx
prefetchwt1 byte [ecx - 0x7d]
push 0x2fff5150
push es
xor edx, dword [esi + eax*2 + 0x1a]
sbb esp, esi
rcl byte [ebp - 0x74722017], 0xa5
push ecx
push esi
call 0x87334d9b
mov byte [0x2141e183], al
pop edi
pop esi
mov edx, 0xc648b104
jbe 0x7f04bb
and ecx, dword [ebp + 0x11de2c83]
stosd dword es:[edi], eax
test esi, esi
js 0x7f053f
popal
mov cl, 1
invalid
push 2
pop edx
mov ecx, dword [esi + 0x50]
in al, dx
mov esi, 0x4e8b6b40
push esp
out dx, eax
mov dword [esi + 0x60], eax
push ds
aas
test byte [ebp - 0x68], cl
push cs
mov dword [esi + 0x64], eax
mov dword [ebx + edi], ecx
fadd st(1)
pop edi
add al, 0xe3
jne 0x7f0570
imul ebp, eax, 0x1ea87f99
clc
push es
xchg esp, eax
push 1
push 0x5c9220a0
aam 0x29
sub al, 0xce
xchg esp, eax
psllw mm0, qword [edx]
mov edi, ecx
rcl byte [eax], 0x30
xchg ecx, eax
test al, 0xab
add dl, byte [esi + 0x2c48e229]
sub esp, 0xe828f0ad
sub al, ch
xor dword [eax + 0x1e], ebx
push edi
call 0xeebe24e4
out dx, al
in al, dx
fsubr st(0)
inc ebx
push es
push esi
mov edi, dword [eax + 0x2dcfe8e2]
mov esi, dword [edx + 9]
cld
dec ebx
mov esi, eax
neg ecx
pushfd
push pe_nt_image_headers32
rol dl, 8
cdq
cmp byte [ebx], al
rol byte [esi + edx*2], 0xab
pushal
adc ecx, dword [0x8a5837c]
call 0xd503adcb
jl 0x7f058f
add byte [eax - 0x3d832b7c], ch
jg 0x7f0635
xor byte [0x5473ff50], ch
call 0xfcd3c5c
test dword [ebp + 0x4db07164], esi
push esp
push pe_nt_image_headers32
sbb cl, byte [ebx - 0x7f5701bd]
pop ss
insb byte es:[edi], dx
dec ecx
inc edx
jmp 0x7f05c7
ret
jne 0x7f0620
invalid
Function at 0x921730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x66d00d
lea edi, [esi - 0x26c00d]
push edi
or ebp, 0xffffffff
jmp 0x921752
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x921759
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x921748
mov eax, 1
add ebx, ebx
jne 0x92176b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x921760
jne 0x92177c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x921760
xor ecx, ecx
sub eax, 3
jb 0x921790
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x921802
mov ebp, eax
add ebx, ebx
jne 0x92179b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9217a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9217cc
inc ecx
add ebx, ebx
jne 0x9217b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9217ad
jne 0x9217c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9217ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9217ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9217dd
jmp 0x92174e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9217ec
add edi, ecx
jmp 0x92174e
pop esi
mov edi, esi
mov ecx, 0x1844
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x92180a
cmp byte [edi], 0x11
jne 0x92180a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x92180f
lea edi, [esi + 0x51d000]
mov eax, dword [edi]
or eax, eax
je 0x92187e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5290d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x52912c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x92183c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x529134]
or eax, eax
je 0x921878
mov dword [ebx], eax
add ebx, 4
jmp 0x921859
call dword [esi + 0x529130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9218af
cmp al, 0xef
ja 0x9218a2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x921884
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x921891
mov ebp, dword [esi + 0x529138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9218e3
sub esp, 0xffffff80
jmp 0x40f11c
Function at 0x4157c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x4157fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x415812
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4157f4
mov dword [esi], ebx
call fcn.00434a90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x415829
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00434a90
push dword [esi]
call fcn.00434aa0
add esp, 4
mov dword [esi], 0
jmp 0x4157e5
int3

Function at 0x416760
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004168e0
mov eax, dword [edi]
mov dword [0x4aecc4], eax
mov bl, 1
test al, 1
jne 0x41679c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447963
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x4b1a00]
test eax, eax
je 0x4167c6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b1a00], 0
cmp dword [0x4b1a04], 0
jne 0x4167c6
and byte [0x4aecc4], 0xfe
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4167e3
movsx ecx, byte [edi + 0xf]
test ecx, ecx
jns 0x4167d8
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x41684e
mov dword [0x4b1a00], eax
jmp 0x416788
movsx eax, byte [edi + 0xf]
test eax, eax
jns 0x4167ee
mov eax, dword [edi + 8]
test eax, eax
je 0x41688f
lea esi, [edi + 4]
mov ecx, dword [0x4b1a04]
test ecx, ecx
jne 0x416822
push 0xc
call fcn.00446e87
add esp, 4
mov ecx, eax
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [0x4b1a04], eax
push esi
call fcn.0042b520
cmp dword [edi + 0x14], 0
jne 0x416842
mov eax, dword [0x4b1a04]
cmp byte [eax + 0xb], 0
jns 0x41683b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004850d0
mov ebx, eax
jmp 0x416788
lea eax, [ebp - 0x24]
push 0x231
push str....._baselogging.cc
push str.BaseInitLoggingImpl_built_with_NDEBUG
push eax
call fcn.00434a60
add esp, 0x10
lea esi, [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
push 0x7f
push str.settings.log_file_path.empty__
push esi
call fcn.00488350
add esp, 0x10
mov ecx, esi
call fcn.00488510
mov eax, dword [edi + 0x18]
jmp 0x4167dc
lea ebx, [ebp - 0x24]
push 0x237
push str....._baselogging.cc
push str.BaseInitLoggingImpl_built_with_NDEBUG
push ebx
call fcn.00434a60
add esp, 0x10
lea esi, [ebp - 0x28]
push ebx
push 0x7f
push str._settings.log_file_path.empty__
push esi
call fcn.00488350
add esp, 0x10
mov ecx, esi
push str.LOG_TO_FILE_set_but_no_log_file_path_
call fcn.004850a0
mov ecx, esi
call fcn.00488510
jmp 0x4167f6
Function at 0x4170d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4b1a3c]
test ebx, ebx
jne 0x417154
push 0x28
call fcn.00446e87
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.00446e87
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x41715e
mov dword [eax + 8], edi
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x4b1a3c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x41715e
mov edi, eax
push eax
call fcn.0045cc68
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00417160
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
Function at 0x418c20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4b1a64]
mov ecx, dword [0x4b00d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x418c6d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447963
mov eax, 0x4b1a60
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4b1a64
call fcn.00446ef1
add esp, 4
cmp dword [0x4b1a64], 0xffffffff
jne 0x418c53
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.0044ac40
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x58
call fcn.00446e87
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x4b1a94]
mov ecx, dword [0x4b00d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x418d39
push 0x4b1a94
call fcn.00446ef1
add esp, 4
cmp dword [0x4b1a94], 0xffffffff
jne 0x418d39
xorps xmm0, xmm0
movups xmmword [0x4b1a80], xmm0
movups xmmword [0x4b1a70], xmm0
mov dword [0x4b1a90], 0
push 0x4b1a70
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4b1a94
call fcn.00446f6b
add esp, 4
mov ecx, esi
push ebx
push 0x4b1a70
push edi
call fcn.00418e00
mov dword [0x4b1a60], esi
push 0x4b1a64
call fcn.00446f6b
add esp, 4
jmp 0x418c53

Function at 0x418d60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b1a94]
mov ecx, dword [0x4b00d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x418dc9
push 0x4b1a94
call fcn.00446ef1
add esp, 4
cmp dword [0x4b1a94], 0xffffffff
jne 0x418dc9
xorps xmm0, xmm0
movups xmmword [0x4b1a80], xmm0
movups xmmword [0x4b1a70], xmm0
mov dword [0x4b1a90], 0
push 0x4b1a70
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4b1a94
call fcn.00446f6b
add esp, 4
movzx eax, word [0x4b1a70]
cmp eax, 9
jne 0x418dda
xor eax, eax
inc eax
pop ebp
ret
test eax, eax
je 0x418dd8
cmp eax, 6
jne 0x418dea
mov eax, 2
jmp 0x418dd8
cmp eax, 0xc
jne 0x418df6
mov eax, 3
jmp 0x418dd8
mov eax, 4
jmp 0x418dd8
Function at 0x419d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x20d
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00434a60
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.00435bc0
cmp byte [edi + 0xb], 0
jns 0x419ddc
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.00435c30
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00447963
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41aca0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043f3e0

Function at 0x41c7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c843
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x41c82d
cmp dword [ebp - 0x18], 4
jne 0x41c82d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447963
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x41c82d

Function at 0x41c850
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.00448290
mov esi, ecx
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.0044ac40
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c8df
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x41c8e3
mov ecx, esi
push ebx
call fcn.00415320
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447963
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x41c8c6
mov edi, 0x3f4
cmp eax, 2
jne 0x41c8c6
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.0044ac40
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x41c8c6
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x41c8bf
Function at 0x41d920
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x10010
call fcn.00448290
mov esi, dword [ebp + 8]
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea ebx, [ebp - 0x1001c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push edx
push ecx
push ebx
call fcn.00436650
add esp, 0xc
test esi, esi
jne 0x41d9b2
cmp byte [ebp - 0x10011], 0
js 0x41d96e
lea eax, [ebp - 0x1001c]
jmp 0x41d974
mov eax, dword [ebp - 0x1001c]
xor ecx, ecx
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
cmp byte [ebp - 0x10011], 0
jns 0x41d99b
push dword [ebp - 0x1001c]
call fcn.00446eb7
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447963
mov eax, ebx
add esp, 0x10010
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [ebp - 0x1000e]
push 0xfffe
push 0xff
push edi
call fcn.0044ac40
add esp, 0xc
cmp byte [ebp - 0x10011], 0
jns 0x41d9da
mov ebx, dword [ebp - 0x1001c]
push 0x7fff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x41d984
cmp eax, 0x7fff
jae 0x41da02
push esi
push eax
push edi
call fcn.0041ac70
add esp, 0xc
jmp 0x41d984
int3
Function at 0x420fd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x420fe7
test eax, eax
je 0x420fe7
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
sete al
mov ecx, dword [0x4bdf7c]
test ecx, ecx
setne dl
and dl, al
cmp dl, 1
je 0x42103a
cmp dword [0x4bdf74], 0
je 0x420fe1
mov esi, dword [0x4bdf78]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x421044
test esi, esi
je 0x420fe1
mov ecx, dword [0x4bdf74]
call dword [0x4a8f98]
push esi
call ecx
add esp, 4
jmp 0x420fe1
call dword [0x4a8f98]
call ecx
jmp 0x420ffe
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x421022

Function at 0x422cb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4ad040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x422ce0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447963
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x422df0
push 0
push eax
push 0x422c90
push 0x4bf8bc
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x422de8
cmp dword [0x4bf8c0], 0
jne 0x422ccc
push dword [0x4bf8c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x422ccc
mov esi, eax
mov eax, 0x4bf8c8
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x4bf8cc]
mov ebx, dword [0x4bf8d0]
mov eax, dword [0x4bf8d4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4bf8d8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4bf8dc]
mov dword [ebp - 0x24], eax
mov eax, 0x4bf8c8
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
jne 0x422dce
test ebx, ebx
jne 0x422da8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
jne 0x422d86
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x422d97
test ebx, ebx
jne 0x422dbb
push esi
call fcn.00433ff0
add esp, 4
jmp 0x422ccc
mov edi, dword [esi + 8]
call dword [0x4a8f98]
push edi
call ecx
add esp, 4
jmp 0x422d6d
mov edi, dword [esi + 0xc]
call dword [0x4a8f98]
push edi
call ecx
add esp, 4
jmp 0x422d74
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [0x4a8f98]
push edi
call ebx
add esp, 4
jmp 0x422d63
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [0x4a8f98]
push edi
call ebx
add esp, 4
jmp 0x422d78
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [0x4a8f98]
push dword [ebp - 0x18]
call edi
add esp, 4
jmp 0x422d5f
call fcn.004575d1
int3
Function at 0x424bd0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, edx
cmp edx, 4
jb 0x424c08
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x424be2
cmp edx, 2
je 0x424c3a
cmp edx, 1
je 0x424c43
cmp edx, 3
je 0x424c31
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 8
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x424c17
Function at 0x430790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x4307c5
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4307cc
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4307be
mov dword [esi], ebx
call fcn.00434a90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00434a90
push dword [esi]
call fcn.00434aa0
add esp, 4
mov dword [esi], 0
jmp 0x4307af
Function at 0x434630
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4b1a64]
mov ecx, dword [0x4b00d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x434680
mov esi, dword [0x4b1a60]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447963
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4b1a64
call fcn.00446ef1
add esp, 4
cmp dword [0x4b1a64], 0xffffffff
jne 0x434663
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.0044ac40
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x58
call fcn.00446e87
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x4b1a94]
mov ecx, dword [0x4b00d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x43474c
push 0x4b1a94
call fcn.00446ef1
add esp, 4
cmp dword [0x4b1a94], 0xffffffff
jne 0x43474c
xorps xmm0, xmm0
movups xmmword [0x4b1a80], xmm0
movups xmmword [0x4b1a70], xmm0
mov dword [0x4b1a90], 0
push 0x4b1a70
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4b1a94
call fcn.00446f6b
add esp, 4
mov ecx, esi
push ebx
push 0x4b1a70
push edi
call fcn.00418e00
mov dword [0x4b1a60], esi
push 0x4b1a64
call fcn.00446f6b
add esp, 4
jmp 0x434663