joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002eb5
push dword [ebp - 0x10]
call fcn.01004091
test eax, eax
mov dword [ebp - 8], eax
je 0x1002eac
push ebx
push esi
mov esi, dword [sym.imp.ntdll.dll_wcslen]
push edi
mov ebx, 0x1001818
push ebx
call esi
mov edi, 0x10011f4
push edi
mov dword [ebp - 4], eax
call esi
push dword [ebp - 8]
add dword [ebp - 4], eax
call esi
mov ecx, dword [ebp - 4]
add ecx, eax
add esp, 0xc
lea eax, [ecx + ecx + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x1002ea1
push ebx
push esi
call dword [sym.imp.ntdll.dll_wcscpy]
push edi
mov edi, dword [sym.imp.ntdll.dll_wcscat]
push esi
call edi
push dword [ebp - 8]
push esi
call edi
add esp, 0x18
lea eax, [ebp - 0xc]
push eax
push 2
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002e9a
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x100160c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 8]
call fcn.01003bce
pop edi
pop esi
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 4
Function at 0x1002fda
Capabilities:
Get common file path
Set environment variable

Disassembly:
sub esp, 0x28
cmp dword [esp + 0x30], 0
jne 0x1002fec
xor eax, eax
inc eax
jmp 0x1003162
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
mov ebp, dword [esp + 0x34]
test ebp, ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x10030c4
cmp word [ebp], 0
je 0x10030c4
push ebp
call edi
push 0x10018f0
mov esi, eax
call edi
push 0x10018e8
add esi, eax
call edi
add esi, eax
lea eax, [esi + esi + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1003044
xor eax, eax
jmp 0x100315e
push 0x10018e8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call ebp
push 0x10018f0
push esi
call ebp
lea eax, [esp + 0x14]
push eax
xor ebp, ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x10030a9
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.01002118
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x48]
push esi
call fcn.01002eb9
push dword [esp + 0x3c]
mov ebp, eax
push 0x10011fc
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [esp + 0x3c]
call ebx
push esi
call ebx
test ebp, ebp
je 0x10030c4
cmp dword [esp + 0x44], 0
je 0x10030bc
call fcn.01002190
xor eax, eax
inc eax
jmp 0x100315e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
shl esi, 1
je 0x100303d
mov ebp, 0x10018bc
push ebp
call edi
lea edi, [esi + eax*2]
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100303d
and dword [esp + 0x10], 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1003145
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.01002118
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x48]
push esi
call fcn.01002eb9
push dword [esp + 0x3c]
mov edi, eax
push 0x10011fc
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [esp + 0x3c]
call ebx
jmp 0x1003149
mov edi, dword [esp + 0x10]
push esi
call ebx
test edi, edi
je 0x100315c
cmp dword [esp + 0x44], 0
je 0x100315c
call fcn.01002190
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
Function at 0x10032c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push str.SystemCurrentControlSetControlSession_ManagerMemory_Management
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100332c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.TempPageFile
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100331e
cmp dword [ebp - 0x10], 4
jne 0x100331e
cmp dword [ebp - 0xc], 4
je 0x1003321
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100332f
mov dword [ebp - 4], edi
cmp dword [ebp - 4], 1
jne 0x1003365
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x641
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push edi
push 1
lea eax, [ebp - 0x218]
push eax
push 0x10019f0
call fcn.0100250a
push dword [ebp + 8]
call fcn.010027be
call fcn.01002b7a
pop edi
leave
ret 4
Function at 0x1003bee
Capabilities:
Access the windows event log
Get common file path
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa70
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x458]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1003c23
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x250]
push eax
push dword [ebp + 8]
call edi
push 0x30c
lea eax, [ebp - 0xa70]
push eax
push dword [ebp + 0xc]
call edi
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push ebx
call fcn.01002118
lea eax, [ebp - 0x250]
push eax
call fcn.0100204c
xor eax, eax
push 0xf
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x38], eax
mov ax, word [ebp - 0xa70]
neg ax
lea ecx, [ebp - 0xa70]
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800640
mov dword [ebp - 0x30], ebx
sbb eax, eax
and eax, ecx
cmp dword [ebp + 0x18], esi
mov dword [ebp - 0x34], eax
je 0x1003ca5
mov dword [ebp - 0x2c], esi
jmp 0x1003cb3
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
and eax, 6
inc eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
call dword [ebp + 0x24]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, eax
je 0x1003ce6
push dword [ebp - 4]
push 0x10011fc
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x1003d0d
xor ebx, ebx
cmp dword [ebp + 0x14], esi
je 0x1003d02
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.01002190
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003d54
cmp dword [ebp + 0x28], esi
je 0x1003d54
mov eax, dword [ebp - 0x38]
push esi
push 1
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
push esi
push 0x1100
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 2
push esi
push 0x3e8
push esi
push 1
push dword [ebp + 0x28]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
cmp dword [ebp - 8], esi
je 0x1003d54
push dword [ebp - 8]
call edi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x24
Function at 0x1004543
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x1001fe0
push 0x80000000
call dword [entry0]
test eax, eax
jne 0x100459b
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x100201c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100458e
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100459d
xor eax, eax
pop esi
leave
ret 4
Function at 0x401000
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x401023
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40102a
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x401041
mov edx, dword [ebp - 4]
push edx
call fcn.00403cf0
add esp, 4
or eax, 0xffffffff
jmp 0x401043
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40be10
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4252d4]
jne 0x40be1a
repz ret
jmp fcn.00411450
Function at 0x41b040
Capabilities:
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb5c
cmp dword [0x4b49c4], 0x37
jne 0x41b0f1
lea eax, [ebp - 0x52c]
push eax
lea ecx, [ebp - 0x938]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.nifexa_huzodovatatayaxunixumeko_tavijagexexoradejunaraweda_holoyesumikefamikus
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov dword [ebp - 4], 0
mov eax, dword [0x4b50c0]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov ecx, dword [0x4acb08]
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
add edx, dword [ebp + 8]
mov al, byte [edx]
mov byte [ecx], al
mov esp, ebp
pop ebp
ret 4
Function at 0x41b690
Capabilities:
Delete file
Get disk information
Manipulate console buffer
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.0040e430
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [0x4b49c4], 0x516
jne 0x41b718
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x84c], 0
push 0x30
push 0
lea ecx, [ebp - 0x848]
push ecx
call fcn.00407cc0
add esp, 0xc
lea edx, [ebp - 0x84c]
push edx
push 0
push str.fucinuyaloyarulepaxanapuruyamos
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
xor eax, eax
mov word [ebp - 0x850], ax
xor ecx, ecx
mov word [ebp - 0x84e], cx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x850]
push eax
push 0
lea ecx, [ebp - 0x818]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x41b739
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x41b7a5
cmp dword [0x4b49c4], 0x29
jne 0x41b755
push str.dujajuhaculavobucazu
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [0x4b49c4], 0x1c
jne 0x41b790
push 0
lea edx, [ebp - 0x1050]
push edx
push str.bufuzumimoxizihixe_nucecicefuyuz_ferenevuzolihujinuxegawajezajiz
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*4]
push eax
call fcn.0041b3d0
jmp 0x41b730
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411380
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
mov word [ebp - 8], 0
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0xc
mov dword [ebp - 0x28], 0xc
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [ebp - 0xc], ax
mov ecx, dword [ebp - 0xc]
and ecx, 0xffff
test ecx, ecx
je 0x411447
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x411447
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov word [ebp - 8], 1
mov ax, word [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x413a40
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi + 8], 0x65
jne 0x413a8f
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x413a8f
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test ax, ax
je 0x413a8f
cmp dword [esp + 0xc], edi
jne 0x413a8f
mov ax, 1
pop edi
pop esi
ret
pop edi
xor ax, ax
pop esi
ret

Function at 0x413aa0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi + 8], 0x65
jne 0x413aef
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x413aef
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ax, ax
je 0x413aef
cmp dword [esp + 0xc], edi
jne 0x413aef
mov ax, 1
pop edi
pop esi
ret
pop edi
xor ax, ax
pop esi
ret

Function at 0x413e50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [ebp], al
mov al, byte [ecx]
test al, al
je 0x413e82
push esi
mov esi, ebp
sub esi, ecx
mov dl, byte [ecx + 1]
mov al, byte [esi + ecx]
inc edi
inc ecx
dec dl
xor al, dl
mov byte [esi + ecx], al
mov al, byte [ecx]
test al, al
jne 0x413e6c
pop esi
mov byte [edi + ebp], 0
mov eax, ebp
pop edi
pop ebp
ret
Function at 0x417695
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x4176a5
mov ecx, ecx
jo 0x4176a8
nop
jno 0x4176a8
jmp 0x41769e
jae 0x4176b5
je 0x4176b3
xchg eax, eax
ja 0x4176b3
xchg ebx, ebx
nop
jmp 0x4176b8
jae 0x4176aa
adc byte [ebx - 0xdaf7bb], cl
add byte [eax], al
add byte [ebx - 0x1e7ef3b3], cl
inc dword [eax]
add byte [eax], al
mov eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
xor eax, ecx
mov byte [ebp - 4], al
jne 0x4176d4
mov esi, esi
jmp 0x4176e2
nop
nop
je 0x4176dd
xchg edx, edx
ja 0x4176dd
nop
jne 0x4176d0
xchg edi, edi
or ecx, dword [edx + 0x5e5ffc45]
mov al, byte [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419790
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.00419850
mov eax, dword [0x431528]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x4197b4
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x431524], 1
mov byte [0x431520], bl
jne 0x41980e
mov ecx, dword [0x433d58]
test ecx, ecx
je 0x4197fc
mov esi, dword [0x433d54]
sub esi, 4
cmp esi, ecx
jb 0x4197fc
mov eax, dword [esi]
test eax, eax
je 0x4197f5
call eax
mov ecx, dword [0x433d58]
sub esi, 4
cmp esi, ecx
jae 0x4197e7
push 0x42b01c
push 0x42b014
call fcn.00419870
add esp, 8
push 0x42b024
push 0x42b020
call fcn.00419870
add esp, 8
test ebx, ebx
je 0x41982d
call fcn.00419860
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x431528], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41acd0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429208
push 0x41b480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x4314f8], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x4314f4], ecx
shl ecx, 8
add ecx, edx
mov dword [0x4314f0], ecx
shr eax, 0x10
mov dword [0x4314ec], eax
call fcn.0041b560
test eax, eax
jne 0x41ad3a
push 0x1c
call fcn.0041aeb0
add esp, 4
call fcn.0041d860
test eax, eax
jne 0x41ad4d
push 0x10
call fcn.0041aeb0
add esp, 4
mov dword [ebp - 4], 0
call fcn.0041f1b0
call fcn.0041ecb0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x433d50], eax
call fcn.0041fd90
mov dword [0x43154c], eax
test eax, eax
je 0x41ad80
mov eax, dword [0x433d50]
test eax, eax
jne 0x41ad8a
push 0xffffffffffffffff
call fcn.00419750
add esp, 4
call fcn.0041fae0
call fcn.0041f9f0
call fcn.00419720
mov esi, dword [0x433d50]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x41ae69
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x41add1
test al, al
je 0x41add1
and eax, 0xff
push eax
call fcn.0041f990
add esp, 4
test eax, eax
je 0x41adab
inc esi
mov dword [ebp - 0x64], esi
jmp 0x41adab
cmp byte [esi], 0x22
jne 0x41adda
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x41adea
cmp al, 0x20
ja 0x41adea
inc esi
mov dword [ebp - 0x64], esi
jmp 0x41adda
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x41ae0b
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x41ae10
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.00419750
jmp 0x41ae4e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x41adda
inc esi
mov dword [ebp - 0x64], esi
jmp 0x41ae69

Function at 0x41aeb0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x431554], 1
jne 0x41aebe
call fcn.0041fef0
mov eax, dword [esp + 4]
push eax
call fcn.0041ff30
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41cf20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x41cf4c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x430]
mov eax, ecx
sar eax, 5
lea edi, [eax*4 + 0x432c20]
mov eax, ecx
and eax, 0x1f
mov dword [esp + 0x24], edi
mov edx, dword [edi]
lea esi, [eax + eax*8]
shl esi, 2
mov dword [esp + 0x14], esi
test byte [esi + edx + 4], 0x20
je 0x41cf87
push 2
push ebp
push ecx
call fcn.0041d470
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x41d0e9
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x41d031
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x41cfe2
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x41cfcf
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x41cfb2
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d0da
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x41d02d
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x41cfae
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41d0c9
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d085
cmp eax, 5
jne 0x41d06e
call fcn.0041d3d0
mov dword [eax], 9
call fcn.0041d3e0
mov dword [eax], 5
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.0041d350
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x41d0a5
cmp byte [ebp], 0x1a
jne 0x41d0a5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
call fcn.0041d3d0
mov dword [eax], 0x1c
call fcn.0041d3e0
mov dword [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x41d02d
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d11a
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x41d031
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x41d031
Function at 0x41d860
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.0041b5a0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x42f938], eax
je 0x41d8b8
push 0x74
push 1
call fcn.00421470
mov esi, eax
add esp, 8
test esi, esi
je 0x41d8b8
mov eax, dword [0x42f938]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x41d8b8
push esi
call fcn.0041d8c0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x41d8e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x42f938]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x41d94e
push 0x74
push 1
call fcn.00421470
mov esi, eax
add esp, 8
test esi, esi
je 0x41d944
mov ecx, dword [0x42f938]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x41d944
push esi
call fcn.0041d8c0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret
push 0x10
call fcn.0041ae80
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
ret