joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102635b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x102635d3
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.102631a0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.102631f0
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.10263290
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.10241600
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x10234b54
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1026367e
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.10263480
test ax, ax
je 0x1026367e
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x1026367e
cmp byte [esp + eax + 0xa], 0x3a
jne 0x1026367e
lea edx, [esp + eax + 0xb]
push esi
push edx
call fcn.10241670
test al, al
je 0x10263679
mov ax, word [esi]
cmp ax, 1
jl 0x10263679
cmp ax, 7
jle 0x1026367e
mov word [esi], 0
xor eax, eax
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x40
ret 8

Function at 0x10263690
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.102631a0
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.102631f0
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.10263350
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.10263310
lea ecx, [esp + 4]
lea edx, [esp + 0x34]
push ecx
push 0x10
push edx
lea eax, [esp + 0x20]
push 0x10234b54
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x10263700
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.102414b0
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x50
ret 8

Function at 0x10263710
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.102631a0
lea ecx, [esp + 0x20]
push 0x10
push ecx
call fcn.102631f0
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.102632d0
lea eax, [esp]
lea ecx, [esp + 0x10]
push eax
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edx, edx
mov ecx, dword [esp + 0x34]
test eax, eax
setne dl
mov word [ecx], ax
mov al, dl
add esp, 0x30
ret 4
Function at 0x10263770
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.10241620
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.102631a0
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.102631f0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.10263240
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.102633a0
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.10263430
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.102633f0
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x10234b54
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1026385e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.102414b0
test al, al
je 0x1026381f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push esp
and al, 4
Function at 0x10001311
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret

Function at 0x10001380
Capabilities:
Create directory

Disassembly:
push esi
push dword [esp + 8]
call sub.MSVCR71.dll_strlen
mov esi, eax
test esi, esi
pop ecx
jg 0x10001395
xor eax, eax
pop esi
ret
push ebp
lea eax, [esi + 1]
push edi
push eax
call dword [sym.imp.MSVCR71.dll_malloc]
push dword [esp + 0x14]
mov edi, eax
push edi
call sub.MSVCR71.dll_strcpy
lea eax, [edi + esi - 1]
add esp, 0xc
cmp byte [eax], 0x2f
jne 0x100013bc
mov byte [eax], 0
mov ebp, dword [sym.imp.MSVCR71.dll__mkdir]
push edi
call ebp
test eax, eax
pop ecx
jne 0x100013cf
xor esi, esi
inc esi
jmp 0x1000140e
lea esi, [edi + 1]
push ebx
jmp 0x100013e0
mov al, byte [esi]
cmp al, 0x5c
je 0x100013e5
cmp al, 0x2f
je 0x100013e5
inc esi
cmp byte [esi], 0
jne 0x100013d5
mov bl, byte [esi]
push edi
mov byte [esi], 0
call ebp
cmp eax, 0xffffffff
pop ecx
jne 0x100013fe
call dword [sym.imp.MSVCR71.dll__errno]
cmp dword [eax], 2
je 0x10001406
test bl, bl
je 0x1000140a
mov byte [esi], bl
jmp 0x100013df
xor esi, esi
jmp 0x1000140d
xor esi, esi
inc esi
pop ebx
push edi
call dword [sym.imp.MSVCR71.dll_free]
pop ecx
pop edi
pop ebp
mov eax, esi
pop esi
ret
Function at 0x10002dbd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10006020]
xor eax, ebp
cmp dword [ebp + 0xc], 0xc
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
mov edi, edx
jge 0x10002de9
xor eax, eax
jmp 0x10002f34
inc dword [0x10006030]
cmp dword [0x10006030], 1
jne 0x10002e0e
push 0
call dword [sym.imp.MSVCR71.dll_time]
xor eax, 0xbb40e64e
push eax
call dword [sym.imp.MSVCR71.dll_srand]
pop ecx
pop ecx
push edi
mov ecx, ebx
mov eax, esi
call fcn.10002d85
add esp, 4
and dword [ebp - 0x14], 0
call dword [sym.imp.MSVCR71.dll_rand]
mov esi, dword [ebx + 8]
sar eax, 7
and eax, 0xff
and esi, 0xfffd
push eax
mov ecx, ebx
mov dword [ebp - 0x20], eax
or esi, 2
call fcn.10001a4b
mov ecx, dword [ebp - 0x14]
mov eax, esi
xor eax, 1
imul eax, esi
shr eax, 8
xor al, byte [ebp - 0x20]
add esp, 4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xa
mov byte [ebp + ecx - 0x10], al
jl 0x10002e1f
mov eax, dword [ebp - 0x18]
push edi
mov ecx, ebx
call fcn.10002d85
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
add esp, 4
xor esi, esi
sub eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
and eax, 0xfffd
or eax, 2
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp + esi - 0x10]
push eax
mov ecx, ebx
call fcn.10001a4b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
xor eax, 1
imul eax, dword [ebp - 0x14]
shr eax, 8
xor al, byte [ebp + esi - 0x10]
add ecx, esi
add esp, 4
inc esi
cmp esi, 0xa
mov byte [ebp + ecx - 0x10], al
jl 0x10002e80
mov eax, dword [ebx + 8]
and eax, 0xfffd
or eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x18], eax
and eax, 0xff
push eax
mov ecx, ebx
call fcn.10001a4b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
xor eax, 1
imul eax, dword [ebp - 0x14]
shr eax, 8
xor al, byte [ebp - 0x18]
mov byte [ecx + esi], al
mov eax, dword [ebx + 8]
and eax, 0xfffd
or eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x18
push eax
mov ecx, ebx
inc esi
mov dword [ebp - 0x18], eax
call fcn.10001a4b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
xor eax, 1
imul eax, dword [ebp - 0x14]
shr eax, 8
add esp, 8
xor al, byte [ebp - 0x18]
mov byte [ecx + esi], al
lea eax, [esi + 1]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10003fcd
leave
ret
Function at 0x100034de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
cmp dword [esi + 0x4090], eax
mov dword [ebp - 0xc], eax
je 0x1000354d
cmp dword [esi + 0x6c], eax
jbe 0x1000354d
push ebx
mov dword [ebp - 4], 0xffffff78
sub dword [ebp - 4], esi
push edi
lea ecx, [esi + 0x4094]
lea ebx, [esi + 0x88]
mov eax, dword [esi + 0x409c]
mov edi, dword [esi + 0x40a0]
and eax, 0xfffd
or eax, 2
mov dword [ebp - 8], eax
movzx eax, byte [ebx]
push eax
call fcn.10001a4b
mov eax, dword [ebp - 8]
xor eax, 1
imul eax, dword [ebp - 8]
shr eax, 8
xor byte [ebx], al
mov eax, dword [ebp - 4]
add esp, 4
inc ebx
add eax, ebx
cmp eax, dword [esi + 0x6c]
jb 0x1000350e
pop edi
pop ebx
push dword [esi + 0x6c]
lea eax, [esi + 0x88]
push eax
push dword [esi + 0x20]
push dword [esi + 0x1c]
call dword [esi + 8]
add esp, 0x10
cmp eax, dword [esi + 0x6c]
je 0x1000356c
or dword [ebp - 0xc], 0xffffffff
and dword [esi + 0x6c], 0
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x10003657
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
xor edi, edi
cmp ebx, edi
je 0x10003668
cmp dword [ebx + 0x2c], edi
jne 0x10003670
push 0xffffffffffffff9a
pop eax
jmp 0x10003821
cmp dword [ebx + 0x80], 8
push ebp
push esi
mov dword [ebx + 0x34], edi
jne 0x100036c8
cmp dword [ebx + 0x84], edi
jne 0x100036c8
lea ebp, [ebx + 0x30]
cmp dword [ebx + 0x40], 0
jne 0x100036a6
mov esi, ebx
call fcn.100034de
lea eax, [ebx + 0x88]
mov dword [ebx + 0x40], 0x4000
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 0x44]
push 4
push ebp
call sub.zlib1.dll_deflate
mov edi, eax
mov eax, dword [ebx + 0x44]
sub eax, esi
add dword [ebx + 0x6c], eax
test edi, edi
pop ecx
pop ecx
je 0x10003689
cmp edi, 1
jne 0x100036c8
xor edi, edi
cmp dword [ebx + 0x6c], 0
jbe 0x100036e0
test edi, edi
jne 0x100036e0
mov esi, ebx
call fcn.100034de
cmp eax, 0xffffffff
jne 0x100036e0
or edi, eax
cmp dword [ebx + 0x80], 8
jne 0x10003702
cmp dword [ebx + 0x84], 0
jne 0x1000371c
lea eax, [ebx + 0x30]
push eax
call sub.zlib1.dll_deflateEnd
and dword [ebx + 0x68], 0
pop ecx
mov edi, eax
cmp dword [ebx + 0x84], 0
jne 0x1000371c
mov eax, dword [ebx + 0x408c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x74]
mov ebp, dword [ebx + 0x40a4]
mov edx, dword [esp + 0x1c]
add ebp, dword [ebx + 0x44]
push 4
pop esi
add eax, 0x10
mov ecx, esi
call fcn.10003040
mov eax, dword [ebx + 0x74]
add eax, 0x14
mov ecx, esi
mov edx, ebp
call fcn.10003040
cmp dword [ebx + 0x5c], 1
jne 0x1000375f
mov eax, dword [ebx + 0x74]
xor edx, edx
push 2
add eax, 0x24
pop ecx
inc edx
call fcn.10003040
mov eax, dword [ebx + 0x74]
mov edx, dword [esp + 0x18]
add eax, 0x18
mov ecx, esi
call fcn.10003040
test edi, edi
jne 0x10003786
push dword [ebx + 0x78]
lea edi, [ebx + 0x24]
push dword [ebx + 0x74]
call fcn.10002f61
pop ecx
pop ecx
mov edi, eax
push dword [ebx + 0x74]
call dword [sym.imp.MSVCR71.dll_free]
test edi, edi
pop ecx
jne 0x10003813
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x70]
push edi
add eax, 0xe
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x18
test eax, eax
je 0x100037be
or edi, 0xffffffff
jmp 0x100037fa
push dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, ebx
call fcn.10002fef
mov edi, eax
test edi, edi
pop ecx
jne 0x100037fa
push dword [ebx + 0x20]
mov ecx, ebp
push 4
pop esi
mov edx, ebx
call fcn.10002fef
mov edi, eax
test edi, edi
pop ecx
jne 0x100037fa
push dword [ebx + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, ebx
call fcn.10002fef
pop ecx
mov edi, eax
push 0
push dword [esp + 0x18]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x10
test eax, eax
je 0x10003813
or edi, 0xffffffff
inc dword [ebx + 0x40b0]
and dword [ebx + 0x2c], 0
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
ret
Function at 0x10003835
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
xor esi, esi
cmp edi, ebp
mov dword [esp + 0xc], ebp
jne 0x10003852
push 0xffffffffffffff9a
pop eax
jmp 0x10003a14
cmp dword [edi + 0x2c], 1
jne 0x10003861
push edi
call sym.minizip.dll_zipCloseFileInZip
pop ecx
mov esi, eax
cmp dword [esp + 0x1c], ebp
jne 0x1000387b
mov eax, dword [edi + 0x40b4]
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x1000387b
mov dword [esp + 0x18], ebp
jmp 0x10003889
push dword [esp + 0x1c]
call sub.MSVCR71.dll_strlen
pop ecx
mov dword [esp + 0x18], eax
push ebx
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0xc]
cmp esi, ebp
pop ecx
pop ecx
mov dword [esp + 0x14], eax
jne 0x100038d5
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x100038d5
test esi, esi
jne 0x100038c8
mov eax, dword [ebx + 8]
test eax, eax
jbe 0x100038c8
push eax
lea eax, [ebx + 0x10]
push eax
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
cmp eax, dword [ebx + 8]
je 0x100038c8
or esi, 0xffffffff
add ebp, dword [ebx + 8]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x100038a4
mov dword [esp + 0x10], ebp
mov eax, dword [edi + 0x24]
test eax, eax
mov ebp, dword [sym.imp.MSVCR71.dll_free]
je 0x100038ee
mov ebx, dword [eax]
push eax
call ebp
test ebx, ebx
pop ecx
mov eax, ebx
jne 0x100038e2
test esi, esi
jne 0x100039e9
push dword [edi + 0x20]
mov ecx, 0x6054b50
push 4
pop esi
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
push dword [edi + 0x20]
xor ecx, ecx
push 2
pop ebx
mov esi, ebx
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
push dword [edi + 0x20]
mov esi, ebx
xor ecx, ecx
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
push dword [edi + 0x20]
mov ecx, dword [edi + 0x40b0]
mov esi, ebx
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
push dword [edi + 0x20]
mov ecx, dword [edi + 0x40b0]
mov esi, ebx
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
push dword [edi + 0x20]
mov ecx, dword [esp + 0x14]
push 4
pop esi
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
push dword [edi + 0x20]
mov ecx, dword [esp + 0x18]
sub ecx, dword [edi + 0x40ac]
push 4
pop esi
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
push dword [edi + 0x20]
mov esi, ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
mov edx, edi
call fcn.10002fef
mov esi, eax
test esi, esi
pop ecx
jne 0x100039e9
test ebx, ebx
jbe 0x100039e9
push ebx
push dword [esp + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
cmp eax, ebx
je 0x100039e9
or esi, 0xffffffff
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0x14]
test eax, eax
pop ecx
pop ecx
pop ebx
je 0x10003a00
test esi, esi
jne 0x10003a00
or esi, 0xffffffff
mov eax, dword [edi + 0x40b4]
test eax, eax
je 0x10003a0e
push eax
call ebp
pop ecx
push edi
call ebp
pop ecx
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d9030]
jne 0x401073
repz ret
jmp fcn.00401e41

Function at 0x408aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d3a
and dword [ebp - 4], 0
cmp dword [0x4dbb68], 0
mov ebx, eax
jne 0x408b9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408c4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408c4d
push eax
call fcn.00404cc8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4dbb68], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4dbb6c], eax
call esi
push eax
call fcn.00404cc8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4dbb70], eax
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4dbb78], eax
test eax, eax
je 0x408b9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cc8
pop ecx
mov dword [0x4dbb74], eax
mov eax, dword [0x4dbb74]
cmp eax, ebx
je 0x408bf4
cmp dword [0x4dbb78], ebx
je 0x408bf4
push eax
call fcn.00404d43
push dword [0x4dbb78]
mov esi, eax
call fcn.00404d43
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408bf4
test edi, edi
je 0x408bf4
call esi
test eax, eax
je 0x408beb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408beb
test byte [ebp - 0xc], 1
jne 0x408bf4
or dword [ebp + 0x10], 0x200000
jmp 0x408c2d
mov eax, dword [0x4dbb6c]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408c2d
mov eax, dword [0x4dbb70]
cmp eax, ebx
je 0x408c2d
push eax
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4dbb68]
call fcn.00404d43
pop ecx
test eax, eax
je 0x408c4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408c4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40af50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x820
mov eax, dword [0x4d9030]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [0x8d8c3c]
push ebx
mov ebx, dword [0x8d8960]
push esi
mov esi, dword [0x4d9f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40af91
push str.Kapoza_yodiralozor
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x8d8c3c]
mov dword [0x4dbd0c], esi
cmp eax, 0x114e
jne 0x40afbb
lea eax, [esp + 0xc]
push eax
push str.Gijetuhe_batawuwafadis_fomikayemes_zeruru
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x8d8c3c]
cmp eax, 0x2f
jne 0x40afdb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
call fcn.0040ae50
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401069
add esp, 0x820
ret
Function at 0x562180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10b000]
push edi
jmp 0x56219a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5621a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x562190
mov eax, 1
add ebx, ebx
jne 0x5621b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5621c4
jne 0x5621e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5621e3
dec eax
add ebx, ebx
jne 0x5621d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5621a8
add ebx, ebx
jne 0x5621df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x562235
xor ecx, ecx
sub eax, 3
jb 0x5621fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56226a
sar eax, 1
mov ebp, eax
jmp 0x562206
add ebx, ebx
jne 0x562206
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5621d4
inc ecx
add ebx, ebx
jne 0x562214
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5621d4
add ebx, ebx
jne 0x562221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x562216
jne 0x562232
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x562216
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x562254
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x562246
jmp 0x562196
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x562254
add edi, ecx
jmp 0x562196
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x562272
cmp byte [edi], 0x11
jne 0x562272
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 0x562277
lea edi, [esi + 0x15b000]
mov eax, dword [edi]
or eax, eax
je 0x5622ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1eb9a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ebb1c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5622a4
mov ecx, edi
jns 0x5622d3
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 + 0x1ebb20]
or eax, eax
je 0x5622e9
mov dword [ebx], eax
add ebx, 4
jmp 0x5622c1
call dword [esi + 0x1ebb30]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x562320
cmp al, 0xef
ja 0x562313
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5622f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x562302
mov ebp, dword [esi + 0x1ebb24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x562354
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret