joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fe830
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508925
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5582e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
lea esi, [ecx + 0x1c]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
xor eax, edx
imul edi, eax, 0x1000193
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0044fbd0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4fe95e
cmp dword [esi + 8], 0xfffffff
je 0x4fe978
lea eax, [esi + 4]
mov dword [ebp - 0x1c], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00500dd9
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov eax, dword [esi + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50c350]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50c350]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
jbe 0x4fe951
mov ecx, esi
call fcn.00500690
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044fbd0
mov ecx, dword [eax]
jmp 0x4fe954
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
mov ecx, esi
call fcn.00430d60
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3

Function at 0x4fe990
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5089a1
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5582e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], 0
movzx ecx, word [edi + 0x18]
mov ebx, dword [edi]
mov eax, ecx
mov dword [ebp - 0x38], eax
lea eax, [ecx + 1]
mov dl, byte [ecx + ebx]
movzx eax, ax
movzx ecx, dl
mov dword [ebp - 0x2c], eax
movzx esi, ax
mov word [edi + 0x18], ax
mov dword [ebp - 0x34], ecx
jmp dword [ecx*4 + 0x500038]
Function at 0x500520
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x50067b
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00430630
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x50064e
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x5005d4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x500641
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x50060e
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x500606
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x500641
cmp ebx, edx
je 0x50061e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x500657
cmp ebx, edx
jne 0x500612
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x500582
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x500641
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3

Function at 0x501f2e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x501f6d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x501f6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x501f6d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x501f6d
cmp dword [ecx + 0x74], 0xe
jbe 0x501f6d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xcd3db0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x9c2015
lea edi, [esi - 0x5c1015]
push edi
or ebp, 0xffffffff
jmp 0xcd3dd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xcd3dd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcd3dc8
mov eax, 1
add ebx, ebx
jne 0xcd3deb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xcd3dfc
jne 0xcd3e1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcd3e1b
dec eax
add ebx, ebx
jne 0xcd3e08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xcd3de0
add ebx, ebx
jne 0xcd3e17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xcd3e6d
xor ecx, ecx
sub eax, 3
jb 0xcd3e33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xcd3ea2
sar eax, 1
mov ebp, eax
jmp 0xcd3e3e
add ebx, ebx
jne 0xcd3e3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcd3e0c
inc ecx
add ebx, ebx
jne 0xcd3e4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcd3e0c
add ebx, ebx
jne 0xcd3e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xcd3e4e
jne 0xcd3e6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcd3e4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xcd3e8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xcd3e7e
jmp 0xcd3dce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xcd3e8c
add edi, ecx
jmp 0xcd3dce
pop esi
mov edi, esi
mov ecx, 0x161c7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xcd3eaa
cmp byte [edi], 0x2c
jne 0xcd3eaa
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 0xcd3eaf
lea edi, [esi + 0x8d1000]
mov eax, dword [edi]
or eax, eax
je 0xcd3f1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d3000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8d3028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xcd3edc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8d3030]
or eax, eax
je 0xcd3f18
mov dword [ebx], eax
add ebx, 4
jmp 0xcd3ef9
call dword [esi + 0x8d302c]
mov ebp, dword [esi + 0x8d3034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0xcd3f52
sub esp, 0xffffff80
jmp 0x44f2d0
Function at 0x4941b0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SOFTWAREBorlandDelphiRTL
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49422e
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [esp + 4]
mov esi, eax
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.FPUMaskValue
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
je 0x494223
mov edx, dword [0x653d94]
push 0x653ac8
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [esp + 0xc]
xor ax, ax
and cl, 0x3f
pop esi
mov al, cl
or eax, 0xffffffc0
add esp, 0x10
ret
Function at 0x4062d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42dafb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404404
call fcn.00406fec
push 4
mov dword [esp + 0x18], 0
call fcn.00408261
mov edi, eax
add esp, 4
test edi, edi
je 0x406344
push ebx
call fcn.00406de7
mov dword [edi], eax
call fcn.00406ba6
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406fad
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406338
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406fd5
pop ebx
jmp 0x406346
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4088db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4315e8]
jne 0x4088e5
repz ret
jmp fcn.0040dd8c
Function at 0x411e73
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4315e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c229
and dword [ebp - 0x14], 0
cmp dword [0x4337d8], 0
mov dword [ebp - 0x18], eax
jne 0x411f26
push 0x403874
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411fce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403868
push ebx
call edi
test eax, eax
je 0x411fce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403858
push ebx
mov dword [0x4337d8], eax
call edi
push eax
call esi
push 0x403844
push ebx
mov dword [0x4337dc], eax
call edi
push eax
call esi
push 0x403828
push ebx
mov dword [0x4337e0], eax
call edi
push eax
call esi
mov dword [0x4337e8], eax
test eax, eax
je 0x411f26
push 0x403810
push ebx
call edi
push eax
call esi
mov dword [0x4337e4], eax
mov eax, dword [0x4337e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411f7f
cmp dword [0x4337e8], ecx
je 0x411f7f
push eax
call esi
push dword [0x4337e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411f7f
test ebx, ebx
je 0x411f7f
call edi
test eax, eax
je 0x411f76
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411f76
test byte [ebp - 8], 1
jne 0x411f7f
or dword [ebp + 0x10], 0x200000
jmp 0x411fb2
mov eax, dword [0x4337dc]
cmp eax, dword [ebp - 0x18]
je 0x411fb2
push eax
call esi
test eax, eax
je 0x411fb2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411fb2
mov eax, dword [0x4337e0]
cmp eax, dword [ebp - 0x18]
je 0x411fb2
push eax
call esi
test eax, eax
je 0x411fb2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4337d8]
call esi
test eax, eax
je 0x411fce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411fd0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004088db
leave
ret

Function at 0x42b9f0
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc08
cmp dword [0x7b757c], 0x37
jne 0x42ba6d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea edx, [esp + 0x40c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov eax, dword [0x7b8570]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x7b74e4]
mov byte [eax + esi], dl
add esp, 0xc08
ret
Function at 0x42bd00
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b757c]
sub esp, 0xa8c
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
mov edi, dword [0x7b74e4]
cmp eax, esi
jbe 0x42bf0a
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
jmp 0x42bd46
mov edi, dword [esp + 0x28]
xor esi, esi
cmp dword [0x7b757c], 0x1c
jne 0x42bd5d
lea eax, [esp + 0x40]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [0x432704]
mov edi, dword [0x432700]
mov ebx, dword [0x432708]
mov ebp, dword [0x43270c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0xc6ef3720
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], 0x20
jmp 0x42bd9e
mov eax, dword [esp + 0x1c]
xor esi, esi
mov ecx, eax
shr ecx, 5
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
shl edx, 4
add edx, ebx
add ecx, eax
xor edx, ecx
mov dword [esp + 0x10], edx
mov dword [0x7b74e8], esi
mov eax, dword [esp + 0x24]
add dword [0x7b74e8], eax
mov edx, dword [0x7b74e8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x3c]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
sub dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, edi
add esi, ecx
cmp dword [0x7b757c], 0x1be
mov dword [esp + 0x10], eax
jne 0x42be38
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shr ecx, 5
add ecx, dword [esp + 0x38]
cmp dword [0x7b757c], 0x979
mov dword [0x7b74f0], 0xff6b3619
mov dword [0x7b74f4], 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x42be79
push 0
lea ecx, [esp + 0x29c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov eax, dword [esp + 0x10]
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
add dword [esp + 0x20], eax
sub dword [esp + 0x14], eax
dec dword [esp + 0x2c]
jne 0x42bd98
cmp dword [0x7b757c], 0x8d4
jne 0x42bebf
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x7b757c], 0x17
jne 0x42bef9
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x48]
push ecx
push 0x404170
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x30]
mov dword [esp + 0x28], esi
jne 0x42bd40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8c
ret
Function at 0x402bd7
Capabilities:
Delete directory
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00409350
cmp dword [0x2a9b018], 0x594
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x402c14
push 0x402500
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x402554
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x426c78]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x426c7c]
push esi
xor esi, esi
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00402bd0
mov eax, dword [0x426c80]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x426c84]
add ebx, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x10]
shl eax, 4
cmp dword [0x2a9b018], 0xc
mov dword [ebp - 4], eax
jne 0x402c9f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x2a9b018]
cmp eax, 0xfa9
jne 0x402cbb
mov dword [0x2a9a5b4], 0xedeb2e40
cmp eax, 0x3eb
jne 0x402cc8
mov dword [0x2a99f68], esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ebx + edx]
shr edx, cl
mov dword [ebp - 0x14], eax
mov dword [0x2a9a5b0], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2a9b018], 0x213
mov dword [ebp - 0x14], edx
jne 0x402d0f
push esi
push 0x402560
push esi
push 0x402610
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2a9b018], 0xc
jne 0x402d4c
push esi
lea eax, [ebp - 0x82c]
push eax
push 0x4026e8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
lea eax, [ebp - 0x102c]
push eax
push 0x402740
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edi, eax
shr edi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add edi, dword [ebp - 0x24]
cmp dword [0x2a9b018], 0x121
jne 0x402d8a
push 0x4026b4
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x402c54
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x402db4
Capabilities:
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00409350
mov eax, dword [0x2a9b018]
mov ecx, dword [0x2a99f6c]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x402ea9
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2a9b018], 0x959
jne 0x402e97
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push 0x402768
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push 0x402818
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x4028a0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x4028f0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push 0x4027f4
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x402958
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00402bd7
add edi, 8
dec ebx
jne 0x402de0
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4030ff
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
push ebx
call dword [sym.imp.USER32.dll_CharUpperW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp esi, 0x2710
jge 0x403132
lea eax, [ebp - 0x42c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
inc esi
cmp esi, 0x5d744c
jl 0x40310f
xor esi, esi
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, edi
jle 0x403155
cmp dword [ebp - 4], 0x785074d5
jne 0x40315e
inc esi
cmp esi, 0x1c1b
jl 0x403142
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x403184
inc esi
cmp esi, 0x4f6a4
jl 0x403160
cmp dword [0x2a9b018], 0x400
jne 0x4031a6
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push ebx
push ebx
call fcn.00403218
push ebx
call fcn.00403292
add esp, 0xc
mov eax, dword [0x42704c]
mov dword [0x2a9b018], eax
mov eax, dword [0x427020]
mov dword [0x2a9b01c], eax
call fcn.00402ec6
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp esi, edi
jle 0x4031d5
cmp dword [ebp - 4], 0x785074d5
jne 0x4031de
inc esi
cmp esi, 0x11915
jl 0x4031c1
mov esi, 0x3078f
cmp dword [0x2a9b018], 0x51f
jne 0x4031f9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
dec esi
jne 0x4031e3
mov eax, dword [0x2a99f6c]
mov dword [0x2a9a5ac], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10