joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x400
xor edx, edx
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esp + edx*4], ecx
inc edx
cmp edx, 0x100
jb 0x4010e8
mov ecx, dword [esp + 0x404]
movzx eax, cl
xor eax, 0xedededed
mov edx, eax
shr eax, 8
and edx, 0xff
xor eax, dword [esp + edx*4]
movzx ecx, ch
xor eax, ecx
movzx ecx, byte [esp + 0x406]
mov edx, eax
shr eax, 8
and edx, 0xff
xor eax, dword [esp + edx*4]
push esi
xor eax, ecx
movzx ecx, byte [esp + 0x40b]
mov edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [esp + edx*4 + 4]
xor eax, ecx
mov edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [esp + edx*4 + 4]
mov edx, dword [esp + 0x40c]
mov cl, byte [edx]
inc edx
mov esi, eax
mov eax, 0xedededed
test cl, cl
je 0x401211
movzx ecx, cl
xor eax, ecx
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [esp + ecx*4 + 4]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4011f6
movzx edx, si
and eax, 0x7fff0000
or eax, edx
pop esi
add esp, 0x400
ret

Function at 0x40d2f1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x405410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
jne 0x40d314
push ebx
call dword [0x41e01c]
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0xc], 0x646f632e
mov dword [ebp - 8], 0x65
movzx edi, word [esi + 0x14]
push dword [esi + 0x88]
add edi, 0x18
push esi
add edi, esi
call fcn.00406824
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x40d3bd
movzx edx, word [esi + 6]
xor ecx, ecx
test edx, edx
jle 0x40d36a
lea eax, [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x40d362
lea eax, [ebp - 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
je 0x40d36a
add edi, 0x28
inc ecx
cmp ecx, edx
jl 0x40d34e
cmp ecx, edx
je 0x40d3bd
mov ecx, dword [esi + 0x34]
add ecx, dword [edi + 0xc]
mov edi, 0x406e30
xor edx, edx
mov eax, dword [ecx + edx*4]
cmp eax, dword [edi + edx*4]
jne 0x40d3bd
inc edx
cmp edx, 4
jne 0x40d37b
xor edx, edx
mov eax, dword [ecx + edx*4 + 0x140]
cmp eax, dword [edi + edx*4]
jne 0x40d3bd
inc edx
cmp edx, 4
jne 0x40d38b
cmp dword [ecx + 0x124], 0
je 0x40d3ad
push 0x40d67c
jmp 0x40d3b2
push 0x40d661
push esi
push ebx
push ecx
call fcn.0040d3ce
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ed46
mov esp, ebp
pop ebp
ret
Function at 0x4e96e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
xor ebp, ebp
push edi
test ebx, ebx
je 0x4e9746
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, ebx
mov dword [esp + 0x14], eax
mov edi, dword [eax + 0x78]
add edi, ebx
cmp dword [edi + 0x18], esi
jbe 0x4e9746
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
lea eax, [eax + esi*4]
mov ecx, dword [eax + ebx]
add ecx, ebx
test ecx, 0xffff0000
je 0x4e9735
test edx, 0xffff0000
je 0x4e9735
push edx
push ecx
call dword [0x100d310c]
mov edx, dword [esp + 0x18]
neg eax
sbb eax, eax
inc eax
jmp 0x4e973c
xor eax, eax
cmp ecx, edx
sete al
test eax, eax
jne 0x4e974d
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4e9707
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ebp, dword [eax + ebx]
add ebp, ebx
cmp ebp, edi
jb 0x4e9746
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x7c]
add eax, edi
cmp ebp, eax
ja 0x4e9746
xor ecx, ecx
mov eax, ebp
cmp byte [ebp], cl
je 0x4e9789
lea esp, [esp]
lea eax, [eax + 1]
inc ecx
cmp byte [eax], 0
jne 0x4e9780
lea esi, [ecx + 1]
xor edi, edi
test esi, esi
je 0x4e979d
push esi
call fcn.004e37c0
add esp, 4
mov edi, eax
push esi
push ebp
push edi
call fcn.0045b930
add esp, 0xc
mov esi, edi
cmp byte [edi], 0
je 0x4e97bb
nop
cmp byte [esi], 0x2e
je 0x4e97cd
inc esi
cmp byte [esi], 0
jne 0x4e97b0
push edi
xor esi, esi
call fcn.004e37b0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
mov byte [esi], 0
call dword [0x100d31d0]
mov ecx, eax
lea eax, [esi + 1]
push eax
push ecx
call fcn.004e96e0
add esp, 8
mov esi, eax
push edi
call fcn.004e37b0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x4b2e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x70000]
push edi
jmp 0x4b2e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b2e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2e70
mov eax, 1
add ebx, ebx
jne 0x4b2e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b2ea4
jne 0x4b2ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2ec3
dec eax
add ebx, ebx
jne 0x4b2eb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b2e88
add ebx, ebx
jne 0x4b2ebf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b2f15
xor ecx, ecx
sub eax, 3
jb 0x4b2edb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b2f4a
sar eax, 1
mov ebp, eax
jmp 0x4b2ee6
add ebx, ebx
jne 0x4b2ee6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2eb4
inc ecx
add ebx, ebx
jne 0x4b2ef4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2eb4
add ebx, ebx
jne 0x4b2f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b2ef6
jne 0x4b2f12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b2ef6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b2f34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b2f26
jmp 0x4b2e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b2f34
add edi, ecx
jmp 0x4b2e76
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b2f52
cmp byte [edi], 0x13
jne 0x4b2f52
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 0x4b2f57
lea edi, [esi + 0xae000]
mov eax, dword [edi]
or eax, eax
je 0x4b2fcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb48e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb4a3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b2f84
mov ecx, edi
jns 0x4b2fb3
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 + 0xb4a40]
or eax, eax
je 0x4b2fc9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b2fa1
call dword [esi + 0xb4a50]
mov ebp, dword [esi + 0xb4a44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b3003
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x47c340
Capabilities:
Terminate process
Write file on windows

Disassembly:
mov eax, dword [0x9475f0]
sub esp, 0x80c
test eax, eax
push ebx
mov ebx, 1
jne 0x47c360
mov dword [0x9475f0], ebx
call fcn.0047d650
mov ecx, dword [esp + 0x814]
lea eax, [esp + 0x818]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0048cd79
mov eax, dword [0x9baba8]
add esp, 0xc
test eax, eax
je 0x47c4bd
mov ecx, dword [esp + 0x814]
push esi
lea eax, [esp + 0x81c]
push edi
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0048cd79
lea eax, [esp + 0x24]
lea ecx, [esp + 0x424]
push eax
push str.ERROR:__s_n
push ecx
call fcn.0048c4ea
mov edi, 0x4b0920
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov eax, dword [0x9babac]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
not ecx
lea edx, [esp + 0xc]
push 0
dec ecx
push edx
push ecx
push 0x4b0920
push eax
call esi
lea ecx, [esp + 0xc]
push 0
push ecx
mov edi, 0x4b08f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [0x9babac]
not ecx
dec ecx
push ecx
push 0x4b08f8
push edx
call esi
lea eax, [esp + 0xc]
push 0
push eax
lea edi, [esp + 0x420]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [0x9babac]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x424]
push ecx
push edx
call esi
lea eax, [esp + 0xc]
push 0
push eax
mov edi, str.Press_Enter_to_exit_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [0x9babac]
push str.Press_Enter_to_exit_n
push ecx
call esi
lea edx, [esp + 0xc]
mov edi, 0x4b08f8
or ecx, 0xffffffff
xor eax, eax
push 0
push edx
repne scasb al, byte es:[edi]
mov eax, dword [0x9babac]
not ecx
dec ecx
push ecx
push 0x4b08f8
push eax
call esi
call fcn.0047c5e0
fstp qword [esp + 0x10]
mov dword [0x9475e0], ebx
call fcn.0047c8e0
pop edi
pop esi
test eax, eax
jne 0x47c4f9
call fcn.0047c5e0
fsub qword [esp + 8]
fcomp qword [0x497598]
fnstsw ax
test ah, 1
je 0x47c4f9
call fcn.0047c8e0
test eax, eax
je 0x47c49c
jmp 0x47c4f9
mov eax, dword [0x9475e4]
test eax, eax
jne 0x47c4e2
mov dword [0x9475e4], ebx
call fcn.0047e3b0
push 0x10010
lea ecx, [esp + 0x14]
push str.We_have_malfunction
push ecx
jmp 0x47c4f1
push 0x10010
lea edx, [esp + 0x14]
push str.you_really_screwed_up_pal
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x9475e8]
test eax, eax
jne 0x47c50d
mov dword [0x9475e8], ebx
call fcn.0042ac00
mov eax, dword [0x9475ec]
test eax, eax
jne 0x47c521
mov dword [0x9475ec], ebx
call fcn.0040eda0
push ebx
call fcn.0048d8c0
pop ebx
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x493089
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4b31d8
cmp edx, dword [eax]
je 0x4930ab
add eax, 8
inc ecx
cmp eax, 0x4b3268
jl 0x49309c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4b31d8]
jne 0x4931d9
mov eax, dword [0x948a54]
cmp eax, 1
je 0x4931b3
test eax, eax
jne 0x4930dc
cmp dword [0x4b29d4], 1
je 0x4931b3
cmp edx, 0xfc
je 0x4931d9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x493113
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00492700
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004912a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x493156
lea eax, [ebp - 0x1a4]
push eax
call fcn.004912a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x497f00
push edi
call fcn.0048cbc0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00492700
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00492710
lea eax, [ebp - 0xa0]
push 0x497ee0
push eax
call fcn.00492710
push dword [esi + 0x4b31dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00492710
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00495d7f
add esp, 0x2c
pop edi
jmp 0x4931d9
lea eax, [ebp + 8]
lea esi, [esi + 0x4b31dc]
push 0
push eax
push dword [esi]
call fcn.004912a0
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 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10004c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10004c54
xor eax, eax
jmp 0x10004cd4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004c6b
xor eax, eax
jmp 0x10004cd4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10004cb7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x10004cb7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x10004c8e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x10004cc3
xor eax, eax
jmp 0x10004cd4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x10004cd1
xor eax, eax
jmp 0x10004cd4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100f1c2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x100f1c73
call fcn.100eb511
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100f1c73
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100f1c8f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.100f9b79
mov ebx, eax
test edi, edi
je 0x100f1c8d
test esi, esi
je 0x100f1c8d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100f6fb1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.100f630c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x100f6fed
call fcn.100f71d0
mov dword [esi + 0xc], 1
jmp 0x100f6ff2
call fcn.100f71d0
cmp dword [esi], 0
je 0x100f703b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x100f7015
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.100ea0e1
jmp 0x100f7026
push 0xff
mov ecx, esi
call fcn.10005470
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100ea104
jmp 0x100f705f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x100f705f
push dword [esi]
push dword [ebp - 4]
call fcn.100f675d
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100f7125
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.100f71d0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x100f716d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100ea0e1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100ea104
jmp 0x100f7178
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.100f675d
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x100fb955
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.100eb511
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100fb98c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.100fb9ad
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1010bc2a
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10142c3d
call fcn.100eb55f
cmp dword [eax + 0x14], 0
jne 0x1010bc45
mov ecx, esi
pop esi
jmp fcn.1010b030
pop esi
ret

Function at 0x1010c960
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.101be83c
call fcn.100eb55f
cmp dword [eax + 0x14], 0
jne 0x1010c97b
mov ecx, esi
pop esi
jmp fcn.1010c249
pop esi
ret
Function at 0x40107e
Capabilities:
Delete file
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 4]
push esi
mov esi, dword [eax]
push edi
xor edi, edi
cmp dword [0x442934], 0x594
mov dword [ebp - 0x14], esi
jne 0x4010b2
push edi
lea eax, [ebp - 0x83c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4335d8]
mov dword [ebp - 0x34], eax
mov eax, dword [0x4335dc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0x28], 0x9e3779b9
call fcn.00401077
mov eax, dword [0x4335e0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x30], eax
mov eax, dword [0x4335e4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
jmp 0x4010f7
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
cmp dword [0x442934], 0xc
mov dword [ebp - 4], eax
jne 0x401130
push edi
lea eax, [ebp - 0x43c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push edi
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov eax, dword [0x442934]
cmp eax, 0xfa9
jne 0x40114c
mov dword [0x442930], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401172
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x442888], edi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, esi
add eax, esi
shr edx, cl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [0x44292c], 0xf4ea3dee
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, ebx
shr esi, cl
add eax, ebx
mov dword [ebp - 0x1c], eax
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
cmp dword [0x442934], 0xb03
jne 0x4011e9
push str.durumiwoxupik_lupohilapivuhavufuxuxujimerafa_jofasejupajihihu
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor dword [ebp - 4], esi
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x4010f4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
leave
ret 4
Function at 0x402900
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4320f8]
jne 0x40290a
repz ret
jmp fcn.00406cbe

Function at 0x4068e7
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.00404fe1
and dword [ebp - 4], 0
cmp dword [0x4378d4], 0
mov ebx, eax
jne 0x406998
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a49
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406a49
push eax
call fcn.00404f6f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4378d4], eax
call esi
push eax
call fcn.00404f6f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4378d8], eax
call esi
push eax
call fcn.00404f6f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4378dc], eax
call esi
push eax
call fcn.00404f6f
pop ecx
mov dword [0x4378e4], eax
test eax, eax
je 0x406998
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f6f
pop ecx
mov dword [0x4378e0], eax
mov eax, dword [0x4378e0]
cmp eax, ebx
je 0x4069f0
cmp dword [0x4378e4], ebx
je 0x4069f0
push eax
call fcn.00404fea
push dword [0x4378e4]
mov esi, eax
call fcn.00404fea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069f0
test edi, edi
je 0x4069f0
call esi
test eax, eax
je 0x4069e7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069e7
test byte [ebp - 0xc], 1
jne 0x4069f0
or dword [ebp + 0x10], 0x200000
jmp 0x406a29
mov eax, dword [0x4378d8]
cmp eax, ebx
je 0x406a29
push eax
call fcn.00404fea
pop ecx
test eax, eax
je 0x406a29
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a29
mov eax, dword [0x4378dc]
cmp eax, ebx
je 0x406a29
push eax
call fcn.00404fea
pop ecx
test eax, eax
je 0x406a29
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4378d4]
call fcn.00404fea
pop ecx
test eax, eax
je 0x406a49
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a4b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219