joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004c1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004c209
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004c207
push 0x207c
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x1004c254
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1004c237
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 4
jge 0x1004c254
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.10018f28
mov dword [eax], 0xd7d41305
jmp 0x1004c22c
mov esp, ebp
pop ebp
ret

Function at 0x1004d5ff
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004d61f
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x1004d66a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004d64d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1004d66a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10018f28
mov dword [eax], 0x99ff6065
jmp 0x1004d642
mov esp, ebp
pop ebp
ret

Function at 0x1004d9e6
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004da02
push 0x1463
push 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
jmp 0x1004da20
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004da20
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esp, ebp
pop ebp
ret
Function at 0x10088377
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10092330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007730c
mov dword [ebp - 0x14], eax
cmp dword [0x1067fc88], esi
jne 0x1008846a
push 0x800
push esi
push 0x10009358
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100883f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1008854a
push esi
push esi
push 0x10009358
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1008854a
push 0x10009370
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008854a
push eax
call ebx
push 0x1000937c
push edi
mov dword [0x1067fc88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000938c
push edi
mov dword [0x1067fc8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100093a0
push edi
mov dword [0x1067fc90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067fc98], eax
test eax, eax
je 0x10088467
push 0x100093bc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067fc94], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008848f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10088482
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100884a4
push 4
pop eax
jmp 0x1008854c
cmp dword [ebp - 0x14], esi
je 0x100884a4
push dword [0x1067fc88]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10088489
mov eax, dword [0x1067fc94]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10088502
cmp dword [0x1067fc98], edi
je 0x10088502
push eax
call ebx
push dword [0x1067fc98]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10088502
test eax, eax
je 0x10088502
call ecx
test eax, eax
je 0x100884f7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100884f7
test byte [ebp - 8], 1
jne 0x10088502
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10088532
mov eax, dword [0x1067fc8c]
cmp eax, edi
je 0x1008852f
push eax
call ebx
test eax, eax
je 0x1008852f
call eax
mov esi, eax
test esi, esi
je 0x1008852f
mov eax, dword [0x1067fc90]
cmp eax, edi
je 0x1008852f
push eax
call ebx
test eax, eax
je 0x1008852f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067fc88]
call ebx
test eax, eax
je 0x1008854a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008854c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x4529f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40e8000]
push edi
jmp 0x4529f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4529f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4529f80
mov eax, 1
add ebx, ebx
jne 0x4529fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4529fb4
jne 0x4529fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4529fd3
dec eax
add ebx, ebx
jne 0x4529fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4529f98
add ebx, ebx
jne 0x4529fcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x452a025
xor ecx, ecx
sub eax, 3
jb 0x4529feb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x452a05a
sar eax, 1
mov ebp, eax
jmp 0x4529ff6
add ebx, ebx
jne 0x4529ff6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4529fc4
inc ecx
add ebx, ebx
jne 0x452a004
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4529fc4
add ebx, ebx
jne 0x452a011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x452a006
jne 0x452a022
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x452a006
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x452a044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x452a036
jmp 0x4529f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x452a044
add edi, ecx
jmp 0x4529f86
pop esi
mov edi, esi
mov ecx, 0x2754
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x452a062
cmp byte [edi], 0x16
jne 0x452a062
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 0x452a067
lea edi, [esi + 0x4125000]
mov eax, dword [edi]
or eax, eax
je 0x452a0df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81ce7a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x81ce8a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x452a094
mov ecx, edi
jns 0x452a0c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x81ce8ac]
or eax, eax
je 0x452a0d9
mov dword [ebx], eax
add ebx, 4
jmp 0x452a0b1
call dword [esi + 0x81ce8a8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x452a110
cmp al, 0xef
ja 0x452a103
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x452a0e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x452a0f2
mov ebp, dword [esi + 0x81ce8b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x452a144
sub esp, 0xffffff80
jmp 0x4302f3
Function at 0x41b8b4
Capabilities:
Accept command line arguments

Disassembly:
push 0xf0
push 0x4392a0
call fcn.004201b0
push dword [0x43b3b0]
call fcn.00420174
pop ecx
mov dword [0x43b3b0], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41b8a9
mov ecx, dword [ebp - 0xa4]
and ecx, 0x7fff
mov edi, dword [ebp - 0xa0]
cmp edi, 2
je 0x41b750
or ecx, 0x8000
mov edx, dword [ebp - 0xac]
mov eax, edx
shl eax, 8
mov esi, dword [ebp - 0xa8]
add eax, esi
mov dword [0x43dcbc], edi
mov dword [0x43dcc4], eax
mov dword [0x43dcc8], edx
mov dword [0x43dccc], esi
mov dword [0x43dcc0], ecx
call fcn.0041b695
mov dword [ebp - 0xb8], eax
xor ebx, ebx
inc ebx
push ebx
call fcn.004200b3
pop ecx
test eax, eax
jne 0x41b7a1
push 0x1c
call fcn.0041b66c
pop ecx
call fcn.0041fedc
test eax, eax
jne 0x41b7b2
push 0x10
call fcn.0041b66c
pop ecx
mov dword [ebp - 4], ebx
call fcn.0041f89a
test eax, eax
jge 0x41b7c6
push 0x1b
call fcn.0041ecd4
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x43f524], eax
call fcn.0041f763
mov dword [0x43d950], eax
call fcn.0041f674
test eax, eax
jge 0x41b7ec
push 8
call fcn.0041ecd4
pop ecx
call fcn.0041f33a
test eax, eax
jge 0x41b7fd
push 9
call fcn.0041ecd4
pop ecx
push ebx
call fcn.0041edda
pop ecx
test eax, eax
je 0x41b80f
push eax
call fcn.0041ecd4
pop ecx
call fcn.0041f2db
test byte [ebp - 0xd4], bl
je 0x41b825
movzx ecx, word [ebp - 0xd0]
jmp 0x41b828
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x400000
call main
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb8], 0
jne 0x41b84b
push eax
call fcn.0041ef30
call fcn.0041ef5c
jmp 0x41b88c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xb4]
jmp 0x41b8ae
mov eax, 0xff
call fcn.004201f8
ret
call fcn.00420207
jmp 0x41b6dc
Function at 0x41efbc
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x43b948]
je 0x41efe2
inc esi
mov dword [ebp - 4], esi
cmp esi, 0x17
jb 0x41efd0
cmp esi, 0x17
jae 0x41f13c
push 3
call fcn.0042436d
pop ecx
cmp eax, 1
je 0x41f106
push 3
call fcn.0042436d
pop ecx
test eax, eax
jne 0x41f015
cmp dword [0x43b3b0], 1
je 0x41f106
cmp edi, 0xfc
je 0x41f13c
push str.Runtime_Error__n_nProgram:
mov edi, 0x314
push edi
mov esi, 0x43dd00
push esi
call fcn.00422e0b
add esp, 0xc
test eax, eax
je 0x41f04b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d4db
add esp, 0x14
mov byte [0x43de1d], bl
push 0x104
mov ebx, 0x43dd19
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41f08e
push str._program_name_unknown_
push 0x2fb
push ebx
call fcn.00422e0b
add esp, 0xc
test eax, eax
je 0x41f08e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041d4db
add esp, 0x14
push ebx
push edi
push esi
call fcn.004242f9
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x41f0ac
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d4db
add esp, 0x14
push 0x436888
push edi
push esi
call fcn.004242f9
add esp, 0xc
test eax, eax
je 0x41f0cc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d4db
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x43b94c]
push edi
push esi
call fcn.004242f9
add esp, 0xc
test eax, eax
je 0x41f0f1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d4db
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push esi
call fcn.00424157
add esp, 0xc
jmp 0x41f13c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x41f13c
cmp edi, 0xffffffff
je 0x41f13c
mov edx, dword [esi*8 + 0x43b94c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f125
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fedc
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x41ff2e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FlsAlloc
push edi
call esi
push str.FlsGetValue
push edi
mov dword [0x43e124], eax
call esi
push str.FlsSetValue
push edi
mov dword [0x43e128], eax
call esi
push str.FlsFree
push edi
mov dword [0x43e12c], eax
call esi
mov dword [0x43e130], eax
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [0x43e124], ebx
je 0x41ff54
cmp dword [0x43e128], ebx
je 0x41ff54
cmp dword [0x43e12c], ebx
je 0x41ff54
cmp dword [0x43e130], ebx
jne 0x41ff78
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x43e128], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x43e124], 0x41fbc3
mov dword [0x43e12c], esi
mov dword [0x43e130], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x43baac], eax
cmp eax, 0xffffffff
je 0x41ffeb
push dword [0x43e128]
push eax
call esi
test eax, eax
je 0x41ffeb
call fcn.0041ef7a
push dword [0x43e124]
call fcn.0041fad4
push dword [0x43e128]
mov dword [0x43e124], eax
call fcn.0041fad4
push dword [0x43e12c]
mov dword [0x43e128], eax
call fcn.0041fad4
push dword [0x43e130]
mov dword [0x43e12c], eax
call fcn.0041fad4
add esp, 0x10
mov dword [0x43e130], eax
call fcn.00421266
test eax, eax
jne 0x41fff1
call fcn.0041fbf6
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x41fd91
push dword [0x43e124]
call fcn.0041fb50
pop ecx
call eax
mov dword [0x43bab0], eax
cmp eax, 0xffffffff
je 0x41ffe6
push 0x214
push 1
call fcn.00424423
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x41ffe6
push esi
push dword [0x43bab0]
push dword [0x43e12c]
call fcn.0041fb50
pop ecx
call eax
test eax, eax
jne 0x420044
push esi
call fcn.00420fa6
pop ecx
jmp 0x41ffe6
push ebx
push esi
call fcn.0041fc33
or dword [esi + 4], 0xffffffff
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x41ffed
Function at 0x424157
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041fb47
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [0x43e398], ebx
jne 0x424230
push ebx
push ebx
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x42419b
xor eax, eax
jmp 0x4242f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4385cc
push edi
call esi
cmp eax, ebx
je 0x424194
push eax
call fcn.0041fad4
mov dword [esp], 0x4385bc
push edi
mov dword [0x43e398], eax
call esi
push eax
call fcn.0041fad4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43e39c], eax
call esi
push eax
call fcn.0041fad4
mov dword [0x43e3a0], eax
lea eax, [ebp - 8]
push eax
call fcn.0041ed5d
pop ecx
pop ecx
test eax, eax
je 0x4241fe
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d4db
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x424230
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041fad4
pop ecx
mov dword [0x43e3a8], eax
cmp eax, ebx
je 0x424230
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041fad4
pop ecx
mov dword [0x43e3a4], eax
mov eax, dword [0x43e3a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4242a9
cmp dword [0x43e3a8], esi
je 0x4242a9
push eax
call fcn.0041fb50
pop ecx
call eax
cmp eax, ebx
je 0x424276
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x43e3a8]
call fcn.0041fb50
pop ecx
call eax
test eax, eax
je 0x424276
test byte [ebp - 0x18], 1
jne 0x4242a9
lea eax, [ebp - 0xc]
push eax
call fcn.0041ed99
pop ecx
test eax, eax
je 0x424291
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d4db
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4242a0
or dword [ebp + 0x10], 0x200000
jmp 0x4242da
or dword [ebp + 0x10], 0x40000
jmp 0x4242da
mov eax, dword [0x43e39c]
cmp eax, esi
je 0x4242da
push eax
call fcn.0041fb50
pop ecx
call eax
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4242da
mov eax, dword [0x43e3a0]
cmp eax, esi
je 0x4242da
push dword [ebp - 4]
push eax
call fcn.0041fb50
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 [0x43e398]
call fcn.0041fb50
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x429ca6
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x43b3a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
xor esi, esi
push eax
mov dword [ebp - 0xc], esi
call fcn.0041ed5d
pop ecx
test eax, eax
je 0x429cdb
push esi
push esi
push esi
push esi
push esi
call fcn.0041d4db
add esp, 0x14
push 4
pop eax
call fcn.0041b450
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x429df7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec edi
neg edi
sbb edi, edi
and edi, 0x103
inc edi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], esi
jne 0x429d70
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernelbase.dll
call esi
test eax, eax
jne 0x429d47
push str.kernel32.dll
call esi
test eax, eax
je 0x429d70
push str.SetThreadStackGuarantee
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x429d70
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
call eax
cmp eax, 1
jne 0x429d70
mov eax, dword [ebp - 0x10]
test eax, eax
jbe 0x429d70
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea esi, [ebx - 1]
push esi
push dword [ebp - 8]
call fcn.0041f46b
add esp, 0xc
test eax, eax
jl 0x429df7
not esi
and dword [ebp - 8], esi
je 0x429da2
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.0041f46b
add esp, 0xc
test eax, eax
jl 0x429df7
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x429dad
mov dword [ebp - 8], eax
lea esi, [ebx - 1]
not esi
and esi, dword [ebp - 0x14]
sub esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x429dc1
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp esi, ebx
jb 0x429df7
push 4
push 0x1000
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x429df7
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x429df7
xor eax, eax
inc eax
jmp 0x429df9
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b434
leave
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xe6e1833
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x429508f9
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4148c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041473c

Function at 0x418e62
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004189b5

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40de38
nop
mov ecx, 0x2f67407c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x4304d8
nop
mov ecx, 0x593c4005
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219