joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e7a8f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
js 0x1e7a8f3e
sbb byte [edx + eax - 0x6a], dh
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.1e7a6d63
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.1e7a6d63
push 0xffffffffffffffdd
adc dword [esi], 0x8b348b49
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x1e7a8f50
invalid

Function at 0x1e7a8f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esi]
mov ch, 0xcf
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi

Function at 0x1e7a9c90
Capabilities:
Set thread local storage value

Disassembly:
cmp dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], 0
push ebx
mov ebx, dword [sym.imp.python27.dll_Py_FatalError]
push esi
push edi
mov edi, dword [sym.imp.python27.dll_PyThreadState_Swap]
jne 0x1e7a9ccd
push 0
call edi
mov esi, eax
add esp, 4
test esi, esi
jne 0x1e7a9cbf
push str.pywintypes:_can_not_setup_interpreter_state__as_current_state_is_invalid
call ebx
add esp, 4
mov eax, dword [esi + 4]
push esi
mov dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], eax
call edi
add esp, 4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1e7a9ce7
push 0x1e7b10fc
call ebx
add esp, 4
mov ecx, dword [0x1e7ba8b8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
call edi
push eax
mov dword [esi], eax
call edi
add esp, 8
pop edi
mov dword [esi + 4], 0
pop esi
pop ebx
ret

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

Disassembly:
mov eax, dword [0x1e7ba8b8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1e7a9d7f
push esi
push edi
mov edi, dword [sym.imp.python27.dll_Py_FatalError]
cmp dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], eax
jne 0x1e7a9d3a
push str.Can_not_setup_thread_state__as_have_no_interpreter_state
call edi
add esp, 4
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1e7a9d54
push str.Out_of_memory_allocating_thread_state.
call edi
add esp, 4
mov ecx, dword [0x1e7ba8b8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState]
push edx
call dword [sym.imp.python27.dll_PyThreadState_New]
add esp, 4
mov dword [esi], eax
mov eax, 1
pop edi
mov dword [esi + 4], eax
pop esi
ret
xor eax, eax
ret

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

Disassembly:
mov eax, dword [0x1e7ba8b8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1e7a9e0b
cmp dword [esi + 4], 0
je 0x1e7a9e0b
mov ecx, dword [esi]
push ecx
call dword [sym.imp.python27.dll_PyThreadState_Delete]
mov edx, dword [0x1e7ba8b8]
add esp, 4
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
ret
Function at 0x401491
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x42e9b0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x401526
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x4014e3
cmp dword [ebp + 0x10], ebx
jne 0x40151a
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call fcn.00401491
test eax, eax
jne 0x4014f5
push edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014ca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405775
cmp eax, ebx
je 0x40152d
push ebx
push dword [0x42e9b0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x401526
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42e9b0], ebx
jne 0x401523
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401523
jmp 0x401526
Function at 0x405360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x42ad38
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x42ad38], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40539b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4054e2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4054ff
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405502
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
inc ecx
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405531
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405575
test edi, edi
jne 0x40553c
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x40556f

Function at 0x405579
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4055ea
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x400
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4055d9
cmp dword [ebp + 0x14], 1
je 0x4055db
cmp dword [ebp + 0x14], 2
je 0x4055db
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405833
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42ad80
push esi
call fcn.00405692
push esi
call fcn.0040546b
mov edi, eax
test edi, edi
jne 0x405854
xor eax, eax
jmp 0x4058ac
push edi
call fcn.004056b4
test byte [0x42e928], 0x80
je 0x40586d
mov al, byte [edi]
test al, al
je 0x405850
cmp al, 0x5c
je 0x405850
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x40588d
push esi
call fcn.0040574e
test eax, eax
je 0x405887
test byte [eax], 0x10
je 0x4058b1
push esi
call fcn.0040580c
push esi
call ebx
cmp eax, edi
jg 0x405878
push esi
call fcn.004057df
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x4058ab
Function at 0x405b65
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405775
mov esi, dword [esp + 0x18]
test eax, eax
je 0x405b89
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405cc2
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x42b180], 0x4c554e
mov edi, 0x400
mov ebp, 0x42b180
test esi, esi
je 0x405bcd
push 1
push 0
push esi
call fcn.00405502
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405cc8
cmp eax, edi
jg 0x405cc8
push edi
mov esi, 0x42bac0
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405cc8
cmp eax, edi
jg 0x405cc8
push esi
push ebp
push str._s_s_r_n
push 0x42b580
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x42e8cc]
push dword [eax + 0x128]
push esi
call fcn.0040590b
push 4
push 0xc0000000
push esi
call fcn.00405502
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, 0xffffffff
je 0x405cc2
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405cbb
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405cbb
cmp edi, dword [esp + 0x18]
jne 0x405cbb
push str._Rename__r_n
push esi
call fcn.004058b5
test eax, eax
jne 0x405ccf
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call fcn.00405692
add edi, 0xa
mov eax, edi
push ebx
push 0x42b580
add eax, esi
push eax
call fcn.004054be
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x42e990]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x407614
add eax, 0xa
push eax
call fcn.004058b5
test eax, eax
je 0x405c86
inc eax
lea ecx, [esi + edi]
mov ebp, eax
cmp eax, ecx
jae 0x405cf6
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405ceb
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x405c88
Function at 0x405cfe
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00405833
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
test cl, 8
je 0x405d33
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42e988], eax
jmp 0x405ec5
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x405d4e
test eax, eax
je 0x405e70
test cl, 2
je 0x405e70
push edi
push ebx
mov esi, 0x42bec0
push esi
call fcn.00405692
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x405d71
push str..
push esi
call edi
jmp 0x405d77
push ebx
call fcn.0040580c
cmp byte [ebx], 0
jne 0x405d85
cmp byte [0x42bec0], 0x5c
jne 0x405d8d
push 0x407290
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [ebp - 0x148]
push eax
push esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x405e65
lea esi, [ebp - 0x11c]
push 0x3f
mov eax, esi
push eax
call fcn.00405427
cmp byte [eax], 0
je 0x405dd0
cmp byte [ebp - 0x18], 0
je 0x405dd0
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405de6
mov al, byte [esi + 1]
test al, al
je 0x405e44
cmp al, 0x2e
jne 0x405de6
cmp byte [esi + 2], 0
je 0x405e44
push esi
push edi
call fcn.00405692
test byte [ebp - 0x148], 0x10
je 0x405e0b
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405e44
push dword [ebp + 0xc]
push ebx
call fcn.00405cfe
jmp 0x405e44
push ebx
call fcn.004054e2
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405e3c
test byte [ebp + 0xc], 4
je 0x405e34
push ebx
push 0xfffffffffffffff1
call fcn.00404741
push 0
push ebx
call fcn.00405b65
jmp 0x405e44
inc dword [0x42e988]
jmp 0x405e44
push ebx
push 0xfffffffffffffff2
call fcn.00404741
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405db2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405e6f
mov byte [edi - 1], 0
pop edi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405ec4
cmp dword [ebp - 8], esi
je 0x405eb4
push ebx
call fcn.0040574e
test eax, eax
je 0x405ec4
push ebx
call fcn.004057df
push ebx
call fcn.004054e2
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405ebc
test byte [ebp + 0xc], 4
je 0x405eb4
push ebx
push 0xfffffffffffffff1
call fcn.00404741
push esi
push ebx
call fcn.00405b65
jmp 0x405ec4
inc dword [0x42e988]
jmp 0x405ec4
push ebx
push 0xffffffffffffffe5
call fcn.00404741
pop esi
pop ebx
leave
ret 8
Function at 0x405eca
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42c2c4], 0
jne 0x405f08
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405ede
mov dword [ecx*4 + 0x42c2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x405ed9
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x405f35
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42c2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x405f16
not eax
pop ebp
ret 0xc
Function at 0x10017dd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x10017df2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10017df9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10017de8
mov eax, 1
add ebx, ebx
jne 0x10017e0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10017e00
jne 0x10017e1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017e00
xor ecx, ecx
sub eax, 3
jb 0x10017e30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10017ea2
mov ebp, eax
add ebx, ebx
jne 0x10017e3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10017e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10017e6c
inc ecx
add ebx, ebx
jne 0x10017e58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10017e4d
jne 0x10017e69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10017e4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10017e8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10017e7d
jmp 0x10017dee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10017e8c
add edi, ecx
jmp 0x10017dee
pop esi
mov edi, esi
mov ecx, 0xa8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10017eaa
cmp byte [edi], 5
jne 0x10017eaa
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 0x10017eaf
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x10017f1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x171dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x172a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10017edc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x172b0]
or eax, eax
je 0x10017f18
mov dword [ebx], eax
add ebx, 4
jmp 0x10017ef9
call dword [esi + 0x172ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10017f4f
cmp al, 0xef
ja 0x10017f42
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10017f24
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10017f31
mov ebp, dword [esi + 0x172b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x10017f83
sub esp, 0xffffff80
jmp 0x10004bf0
Function at 0x5556fc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x5558fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x376], 1
cmp dword [ebp - 4], 0
jne 0x55577a
xor edx, edx
mov eax, dword [ebx + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor edx, edx
mov eax, dword [ebx + 0x33c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x308]
call fcn.004835fc
mov esi, eax
dec esi
test esi, esi
jl 0x5558e0
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x308]
call fcn.004835c0
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
inc edi
dec esi
jne 0x55575d
jmp 0x5558e0
mov dl, 1
mov eax, dword [ebx + 0x310]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x33c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x308]
call fcn.004835fc
mov esi, eax
dec esi
test esi, esi
jl 0x5557c1
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x308]
call fcn.004835c0
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
inc edi
dec esi
jne 0x5557a9
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc]
mov edx, dword [esi + 0x14]
mov eax, dword [ebx + 0x31c]
call fcn.0047ffe4
lea edx, [ebp - 8]
mov ax, word [esi + 4]
call fcn.00490198
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x320]
call fcn.0047ffe4
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x168]
xor edx, edx
call fcn.0042c71c
mov edx, dword [esi + 0x18]
mov eax, dword [ebx + 0x348]
call fcn.0047ffe4
mov dl, byte [esi + 6]
mov eax, dword [ebx + 0x350]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 0xa]
mov eax, dword [ebx + 0x354]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 9]
mov eax, dword [ebx + 0x360]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 8]
mov eax, dword [ebx + 0x358]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 0xc]
mov eax, dword [ebx + 0x35c]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov dl, byte [esi + 0xb]
mov eax, dword [ebx + 0x364]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
xor edx, edx
mov dl, byte [esi + 7]
mov eax, dword [ebx + 0x370]
call fcn.0054ab8c
mov eax, dword [esi + 0x1c]
call fcn.0040553c
test eax, eax
jne 0x5558a4
mov edx, 0x555914
mov eax, dword [ebx + 0x368]
call fcn.0047ffe4
jmp 0x5558b4
mov edx, 0x555924
mov eax, dword [ebx + 0x368]
call fcn.0047ffe4
cmp dword [esi + 0x10], 0
je 0x5558e0
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x340]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x340]
call fcn.0043b568
mov ecx, dword [esi + 0x10]
pop edx
call fcn.0042a12c
mov byte [ebx + 0x376], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x555904
lea eax, [ebp - 8]
call fcn.00404434
ret
Function at 0x568940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x568b66
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebx + 0x34c]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x568b43
mov eax, dword [0x5ae694]
mov eax, dword [eax]
call fcn.0059d078
test al, al
je 0x568b43
mov eax, dword [0x5aebd8]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0049f32c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x568a3a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov edx, dword [0x5aeb50]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, 0x568b80
call fcn.00404740
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x41aa50]
call fcn.0041fa64
mov dword [ebp - 0xc], eax
push 0xffff
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x34c]
call fcn.00437fa4
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41aa50]
call fcn.0041fa64
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0041f5d0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041f7e8
mov eax, dword [ebp - 0xc]
call fcn.00403600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x568a76
mov eax, dword [ebp - 8]
call fcn.0041f54c
mov dword [ebp - 0x10], eax
mov edx, dword [0x5aeb50]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004f83e4
test al, al
jne 0x568ab2
mov eax, dword [ebp - 8]
call fcn.00403600
mov eax, dword [0x5aebd8]
mov eax, dword [eax]
xor edx, edx
call fcn.0049f32c
jmp 0x568b43
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 8]
call fcn.00403600
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x34c]
call fcn.00437fa4
mov eax, dword [ebp - 0x1c]
mov edx, 0x568b98
call fcn.004fd200
mov eax, dword [0x5aebd8]
mov eax, dword [eax]
xor edx, edx
call fcn.0049f32c
mov byte [ebp - 1], 1
push 0x44
mov ecx, 0x568ba8
mov edx, 0x568bb8
mov eax, dword [0x5ae974]
mov eax, dword [eax]
call fcn.004a15f4
cmp eax, 6
jne 0x568b43
push 5
push 0
push 0
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x34c]
call fcn.00437fa4
mov eax, dword [ebp - 0x20]
call fcn.004048f4
push eax
push 0x568bdc
mov eax, ebx
call fcn.004869e8
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568b6d
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404458
lea eax, [ebp - 0x14]
call fcn.00404434
ret