joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4168b0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x41f320
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x4168d4
add eax, 8
inc ebp
cmp eax, 0x41f3b0
jb 0x4168c5
cmp ecx, dword [ebp*8 + 0x41f320]
jne 0x416a7b
mov eax, dword [0x423190]
cmp eax, 1
je 0x416a3d
test eax, eax
jne 0x416900
cmp dword [0x41ccf4], 1
je 0x416a3d
cmp ecx, 0xfc
je 0x416a7b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41693b
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x416984
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x41aae8
add ebx, ecx
push ebx
call fcn.00410f60
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41aac8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x41f324]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00417b60
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x427320]
test eax, eax
je 0x416a4e
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x416a58
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x41f324]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x416b60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push esi
push edi
test ebx, ebx
je 0x416bd1
push ebx
call fcn.00416c90
add esp, 4
test eax, eax
jne 0x416b9f
mov dword [0x4230fc], 0xf
mov dword [0x4230f8], 0xd
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x14]
add bl, 0x40
push 0x104
push edx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 0x3a
mov byte [esp + 0x1e], 0x2e
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x416be1
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x416c77
inc eax
cmp eax, 0x104
ja 0x416c77
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
test edx, edx
jne 0x416c30
cmp eax, ecx
jg 0x416c0d
mov eax, ecx
push eax
call fcn.004110f0
mov edx, eax
add esp, 4
test edx, edx
jne 0x416c4a
mov dword [0x4230f8], 0xc
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
cmp eax, ecx
jle 0x416c4a
mov dword [0x4230f8], 0x22
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret

Function at 0x416c90
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x416c9e
mov eax, 1
ret
add al, 0x40
mov byte [esp + 5], 0x3a
mov byte [esp + 4], al
lea eax, [esp + 4]
push eax
mov byte [esp + 0xa], 0x5c
mov byte [esp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x416ccd
cmp eax, 1
je 0x416ccd
mov eax, 1
ret
xor eax, eax
ret
Function at 0x418190
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x41834e
push 0x3d
push edi
call fcn.004193b0
mov esi, eax
add esp, 8
test esi, esi
je 0x41834e
cmp edi, esi
je 0x41834e
mov dl, byte [esi + 1]
mov ecx, dword [0x423124]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x423120]
cmp eax, ecx
jne 0x4181e7
push eax
call fcn.00418420
add esp, 4
mov dword [0x423120], eax
test eax, eax
jne 0x418262
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41820e
mov eax, dword [0x423128]
test eax, eax
je 0x41820e
call fcn.00416eb0
test eax, eax
je 0x41825d
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x41821a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.004110f0
add esp, 4
mov dword [0x423120], eax
test eax, eax
je 0x41834e
mov dword [eax], 0
mov eax, dword [0x423128]
test eax, eax
jne 0x41825d
push 4
call fcn.004110f0
add esp, 4
mov dword [0x423128], eax
test eax, eax
je 0x41834e
mov dword [eax], 0
mov eax, dword [0x423120]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.004183a0
mov esi, eax
add esp, 8
test esi, esi
jl 0x41835f
cmp dword [ebx], 0
je 0x41835f
test ebp, ebp
je 0x418357
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.004111a0
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x4182b9
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x4182a8
lea eax, [esi*4]
push eax
push ebx
call fcn.00419210
add esp, 8
test eax, eax
je 0x4182d3
mov dword [0x423120], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x418346
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.004110f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418346
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.004111a0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x4182d7
test ebp, ebp
jne 0x418346
test esi, esi
jge 0x418369
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.00419210
add esp, 8
test eax, eax
je 0x41834e
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x423120], eax
jmp 0x4182d7
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f9f70], dl
nop
nop
pushal
nop
nop
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x41b34b75
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432fdf
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x53ef1374
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1d00c769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1d010190
cmp edx, dword [eax]
je 0x1d00c78b
add eax, 8
inc ecx
cmp eax, 0x1d010220
jl 0x1d00c77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1d010190]
jne 0x1d00c8b9
mov eax, dword [0x1d010bb0]
cmp eax, 1
je 0x1d00c893
test eax, eax
jne 0x1d00c7bc
cmp dword [0x1d0100e4], 1
je 0x1d00c893
cmp edx, 0xfc
je 0x1d00c8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1d00c7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1d00d670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1d00d490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1d00c836
lea eax, [ebp - 0x1a4]
push eax
call fcn.1d00d490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1d00f45c
push edi
call fcn.1d00df00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1d00d670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1d00d680
lea eax, [ebp - 0xa0]
push 0x1d00f43c
push eax
call fcn.1d00d680
push dword [esi + 0x1d010194]
lea eax, [ebp - 0xa0]
push eax
call fcn.1d00d680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1d00de75
add esp, 0x2c
pop edi
jmp 0x1d00c8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x1d010194]
push 0
push eax
push dword [esi]
call fcn.1d00d490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x406466
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x40648f
call fcn.0040b400
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4064b2
push eax
push dword [esi + 4]
call fcn.004063f1
push esi
push eax
mov ecx, 0x59809c
call fcn.004060c4
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x408089
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4080cf
call fcn.0040b400
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4080cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x408112
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4080fb
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4080fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40810f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4095fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x40961a
cmp dword [edi + 0x54], 0
jne 0x40961a
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040b400
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004095c1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x411b66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x411ba9
call fcn.0040b400
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x411ba9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x411bc4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00411720
test ebx, ebx
mov esi, eax
je 0x411bc2
test edi, edi
je 0x411bc2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41324c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41327a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x413298
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004131b6
jmp 0x413298
mov eax, dword [esi + 0x14]
test eax, eax
je 0x413298
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004131b6
test edi, edi
mov eax, edi
jne 0x413282
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x599d40]
test ecx, ecx
je 0x41335b
jmp 0x41324b
ret 8

Function at 0x41350c
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x413515
xor eax, eax
jmp 0x41357e
cmp dword [esp + 8], 0
jne 0x413521
call fcn.0040587f
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00427209
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41355c
push dword [esi + 0x10]
call fcn.00426f4e
test eax, eax
pop ecx
jne 0x41355c
mov esi, dword [esi + 0xc]
call fcn.00425e8e
push esi
push dword [eax]
push 1
call fcn.0041e920
push dword [esi + 0x10]
call fcn.00426f7d
test eax, eax
pop ecx
je 0x41357b
push dword [esi + 0x10]
call fcn.00426ea2
push eax
call fcn.00402c80
pop ecx
pop ecx
jmp 0x41354a
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x413587
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x413591
call fcn.0040587f
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00423579
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x4135be
mov esi, dword [esi + 0xc]
call fcn.00425e8e
push esi
push dword [eax]
push 1
call fcn.0041e920
pop esi
ret 8

Function at 0x4216f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e700]
jne 0x4216fa
repz ret
jmp fcn.0042926f
Function at 0x434025
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00428c56
xor ebx, ebx
cmp dword [0x59ab54], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4340fa
push 0x44f56c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x434065
xor eax, eax
jmp 0x4341be
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44f560
push edi
call esi
cmp eax, ebx
je 0x43405e
push eax
call fcn.00428bf3
mov dword [esp], 0x44f550
push edi
mov dword [0x59ab54], eax
call esi
push eax
call fcn.00428bf3
mov dword [esp], 0x44f53c
push edi
mov dword [0x59ab58], eax
call esi
push eax
call fcn.00428bf3
mov dword [0x59ab5c], eax
lea eax, [ebp - 8]
push eax
call fcn.0042379e
test eax, eax
pop ecx
pop ecx
je 0x4340c8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00424533
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4340fa
push 0x44f520
push edi
call esi
push eax
call fcn.00428bf3
cmp eax, ebx
pop ecx
mov dword [0x59ab64], eax
je 0x4340fa
push 0x44f508
push edi
call esi
push eax
call fcn.00428bf3
pop ecx
mov dword [0x59ab60], eax
mov eax, dword [0x59ab60]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x434173
cmp dword [0x59ab64], esi
je 0x434173
push eax
call fcn.00428c5f
pop ecx
call eax
cmp eax, ebx
je 0x434140
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x59ab64]
call fcn.00428c5f
pop ecx
call eax
test eax, eax
je 0x434140
test byte [ebp - 0x18], 1
jne 0x434173
lea eax, [ebp - 0xc]
push eax
call fcn.004237d5
test eax, eax
pop ecx
je 0x43415b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00424533
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43416a
or dword [ebp + 0x10], 0x200000
jmp 0x4341a4
or dword [ebp + 0x10], 0x40000
jmp 0x4341a4
mov eax, dword [0x59ab58]
cmp eax, esi
je 0x4341a4
push eax
call fcn.00428c5f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4341a4
mov eax, dword [0x59ab5c]
cmp eax, esi
je 0x4341a4
push dword [ebp - 4]
push eax
call fcn.00428c5f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x59ab54]
call fcn.00428c5f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a45a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45e700]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043a3ef
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00423a30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43a4a9
cmp dword [ebp - 0x1c], 5
jb 0x43a4c1
jmp 0x43a4bd
cmp dword [ebp - 0x10], 1
jne 0x43a4c1
cmp dword [ebp - 0x1c], 4
ja 0x43a4bd
jne 0x43a4c1
cmp dword [ebp - 0x18], 0
jbe 0x43a4c1
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x450e90
call fcn.0043a2c3
test eax, eax
jge 0x43a4e2
mov byte [0x59ad08], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004216f0
add ebp, 0x78
leave
ret

Function at 0x43b070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4494e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x45e700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x10]
call fcn.004025c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0043f1f0
add esp, 4
mov byte [ebp - 4], 1
push 0x451020
lea ecx, [ebp - 0x14]
call fcn.00402de0
push 0x10
call fcn.0043ee90
add esp, 4
add eax, 5
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0043f300
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00404fd0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402580
mov edx, dword [0x45fd7c]
push edx
push 0x48cd80
lea ecx, [ebp - 0x10]
call fcn.004024a0
push eax
call fcn.0043f180
add esp, 0xc
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004024a0
push eax
push 0x451024
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43c200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a48e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x45e700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x54]
call fcn.004090a7
push 0
mov ecx, dword [ebp - 0x54]
call fcn.004053e0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x43c2a0
lea ecx, [ebp - 0x50]
call fcn.004025c0
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x50]
call fcn.00402a10
lea ecx, [ebp - 0x50]
call fcn.004050a0
movzx eax, al
test eax, eax
jne 0x43c291
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x20]
call fcn.004053b0
lea ecx, [ebp - 0x50]
call fcn.004024a0
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x20]
call fcn.004053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00402580
push 1
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x74]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00405380
push 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00405380
lea ecx, [ebp - 0x1c]
call fcn.00401a60
mov dword [ebp - 0x4c], 0
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
push 0
push 0x80
push 0x40000
mov ecx, dword [ebp - 0x54]
call fcn.0040b694
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00405340
push 1
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00405320
add eax, 0x780
push eax
push 0
mov ecx, dword [ebp - 0x54]
call fcn.0040b942
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x43bfb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret