joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov dword [esp], ecx
mov ecx, dword [0x4429dc]
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x3c]
xor ebp, ebp
push edi
mov eax, dword [eax + ecx + 0x78]
mov edx, dword [eax + ecx + 0x1c]
mov dword [esp + 0x14], edx
lea ebx, [edx + ecx]
mov dword [esp + 0x20], ebx
mov ebx, dword [eax + ecx + 0x20]
mov eax, dword [eax + ecx + 0x24]
add ebx, ecx
add eax, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
test edx, edx
je 0x408524
mov edi, dword [ebx + ebp*4]
mov ebx, 0x35
add edi, ecx
xor edx, edx
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4084e1
sub ecx, esi
je 0x40850d
nop dword [eax]
movsx ecx, byte [edx + edi]
lea ebx, [ebx + ebx*2]
mov eax, edi
add ebx, ecx
inc edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408500
sub eax, esi
cmp edx, eax
jb 0x4084f0
cmp ebx, dword [esp + 0x10]
je 0x40852e
mov ecx, dword [0x4429dc]
inc ebp
mov ebx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x14]
jb 0x4084d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
movzx eax, word [eax + ebp*2]
pop ebp
pop ebx
mov eax, dword [ecx + eax*4]
add eax, dword [0x4429dc]
add esp, 0x18
ret
Function at 0x409400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4094e7
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x4094d6
jg 0x409440
test edx, edx
je 0x4094d6
nop dword [eax]
call fcn.0040aee0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x409493
jg 0x409457
test esi, esi
je 0x409493
cmp ebx, eax
jg 0x409467
jl 0x409461
cmp edi, esi
jae 0x409467
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
push esi
push dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004152f0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x4094ba
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x4094d0
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x409440
jl 0x4094d0
test edi, edi
jne 0x409440
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test edx, edx
je 0x40950f
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x409515
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, edx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
test edi, edi
jl 0x40957d
jg 0x40952a
test esi, esi
je 0x40957d
test edx, edx
jl 0x409578
jg 0x409534
test eax, eax
je 0x409578
cmp edi, edx
jg 0x409548
jl 0x40953e
cmp esi, eax
jae 0x409548
mov eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [esp + 0x24]
call fcn.004152f0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
add ebx, edx
mov ecx, dword [esp + 0xc]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x409580
mov ebx, dword [ebp + 8]
jmp 0x40958a
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x4095a3
jg 0x40958a
test esi, esi
je 0x4095a3
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x4095a3
push eax
push esi
push 1
push ebx
call fcn.00419d3d
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4095c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4095f2
jl 0x4095e5
test ecx, ecx
jne 0x4095f2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4096b2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040af00
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40965e
jg 0x40961d
test esi, esi
je 0x40965e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x409635
mov eax, dword [esp + 0x10]
jl 0x40962f
cmp eax, esi
jae 0x409635
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004152f0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40967f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40969b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x409604
jl 0x40969b
test ecx, ecx
jne 0x409604
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4096f0
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x4096f0
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.004152f0
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x409759
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x409716
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x409744
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0041a3dd
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x409759
cmp edi, eax
ja 0x409722
test edi, edi
je 0x409759
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0041a3dd
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409ac0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x43f124]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x409af0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00413a7c
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x409b2d
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x409b2d
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00413a7c
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x409c25
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x409b55
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x409b89
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00418c3e
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00413a7c
add esp, 0x30
ret 4
mov byte [esp + 0x17], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2b]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x409bf4
sub eax, 1
je 0x409bf4
sub eax, 2
jne 0x409c25
push dword [esi + 0x4c]
movsx eax, byte [esp + 0x1b]
push eax
call fcn.00418c3e
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00413a7c
add esp, 0x30
ret 4
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x18]
sub edi, eax
je 0x409c13
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00419d3d
add esp, 0x10
cmp edi, eax
jne 0x409c25
lea eax, [esp + 0x17]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x10], eax
jne 0x409b17
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00413a7c
add esp, 0x30
ret 4
Function at 0x40ad00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x43f124]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40adc2
cmp byte [esi + 0x3d], 0
je 0x40adc2
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40adaf
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40ad74
sub eax, 1
je 0x40ad78
sub eax, 2
jne 0x40adaf
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00413a7c
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x40ad97
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00419d3d
add esp, 0x10
cmp edi, eax
jne 0x40adaf
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00413a7c
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00413a7c
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.00413a7c
add esp, 0x28
ret
Function at 0x414991
Capabilities:
Parse pe header

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

Function at 0x42218e
Capabilities:
Read file on windows

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

Function at 0x42b850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b87d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b87d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6e1410fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
jmp 0x6e1411af
mov eax, dword [ebp - 8]
lea edx, [eax*4]
mov eax, dword [ebp - 0x20]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [esp], eax
call fcn.6e14102b
cmp dword [ebp + 0xc], eax
jne 0x6e1411ab
mov eax, dword [ebp - 8]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x24]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x6e1411ba
add dword [ebp - 8], 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 8], eax
jb 0x6e141164
cmp dword [ebp - 4], 0
je 0x6e1411d6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x6e1411d9
mov eax, dword [ebp - 4]
leave
ret
Function at 0x6e141215
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], 0x100
mov dword [ebp - 4], 0
jmp 0x6e14124b
mov eax, dword [ebp - 4]
mov ecx, eax
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 4]
add eax, edx
mov byte [eax], cl
add dword [ebp - 4], 1
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jl 0x6e141235
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x6e1412d1
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp - 0xc]
lea ecx, [edx + eax]
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
mov edx, eax
mov eax, dword [ebp + 0x14]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
add eax, ecx
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x11e]
mov dword [esp + 8], eax
mov eax, dword [ebp - 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x11e]
mov dword [esp], eax
call fcn.6e1411db
add dword [ebp - 8], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x6e141271
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x6e14139e
mov eax, dword [ebp - 8]
add eax, 1
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 8], edx
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp - 0xc]
add eax, edx
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x11e]
mov dword [esp + 8], eax
mov eax, dword [ebp - 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x11e]
mov dword [esp], eax
call fcn.6e1411db
lea edx, [ebp - 0x11e]
mov eax, dword [ebp - 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
lea ecx, [ebp - 0x11e]
mov eax, dword [ebp - 0xc]
add eax, ecx
movzx eax, byte [eax]
movzx eax, al
add eax, edx
cdq
idiv dword [ebp - 0x18]
mov eax, edx
mov byte [ebp - 0x1d], al
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, edx
movzx edx, byte [eax]
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [ebp + eax - 0x11e]
xor eax, edx
mov byte [ebp - 0x1e], al
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
add edx, eax
movzx eax, byte [ebp - 0x1e]
mov byte [edx], al
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jl 0x6e1412f3
nop
nop
leave
ret
Function at 0x6e141899
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x10], 0x30
mov eax, dword [ebp - 0x10]
mov eax, dword fs:[eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call eax
sub esp, 0x14
test eax, eax
je 0x6e1418f8
mov dword [esp], 2
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov byte [0x6e1dd400], 0
mov dword [esp + 4], 0x400
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call eax
sub esp, 8
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFlags]
call eax
sub esp, 4
cmp eax, 0x8000
jne 0x6e14193a
mov dword [esp], 3
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov byte [0x6e1dd400], 0
nop
leave
ret 0xc
Function at 0x6d7b364a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, dword [esi + 0x289c]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x292c], eax
call edi
sub eax, dword [esi + 0x28a0]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x2930], eax
mov eax, dword [esi + 0x2d4c]
test eax, eax
je 0x6d7b36b9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x28a0]
push dword [esi + 0x289c]
push dword [esi + 0x2930]
push dword [esi + 0x292c]
push dword [esi + 0x2d4c]
call dword [sym.imp.USER32.dll_MoveWindow]
push esi
call fcn.6d7c931c
pop ecx
pop edi
pop esi
ret

Function at 0x6d7b3d88
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
test eax, eax
je 0x6d7b3dbd
push edi
mov edi, 0x120
cmp dword [esp + 0x10], edi
jae 0x6d7b3db0
push eax
call fcn.6d7b4838
push 2
call fcn.6d7b4827
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
pop edi
pop esi
ret

Function at 0x6d7be17a
Capabilities:
Read file on windows

Disassembly:
cmp byte [esi], 0
push ebx
push edi
jne 0x6d7be200
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
test ecx, ecx
je 0x6d7be1a0
push 1
push esi
push edi
call ecx
add esp, 0xc
jmp 0x6d7be1ad
push dword [eax + 0x38]
push 1
push 1
push esi
call ebx
add esp, 0x10
cmp eax, 1
je 0x6d7be1c0
mov dword [0x6d7d9e8c], 0x66
xor eax, eax
jmp 0x6d7be215
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x3c]
lea edi, [esi + 1]
test ecx, ecx
je 0x6d7be1dd
movzx eax, byte [esi]
push eax
push edi
push dword [esp + 0x14]
call ecx
add esp, 0xc
jmp 0x6d7be1ec
push dword [eax + 0x38]
movzx eax, byte [esi]
push eax
push 1
push edi
call ebx
add esp, 0x10
movzx ecx, byte [esi]
cmp eax, ecx
jne 0x6d7be1b2
mov al, byte [edi]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov byte [edi], 2
jmp 0x6d7be210
movzx eax, byte [esi + 1]
mov al, byte [eax + esi]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
inc byte [esi + 1]
dec byte [esi]
xor eax, eax
inc eax
pop edi
pop ebx
ret
Function at 0x6d7c335e
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x6d7c338c
push esi
call fcn.6d7c7b5a
cmp dword [esi + 0x40], 0
pop ecx
je 0x6d7c3385
xor eax, eax
mov dword [esi + 0x14], 0xcf
inc eax
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x6d7c33fc
mov eax, dword [esi + 0x1b4]
cmp dword [eax + 0x10], 0
je 0x6d7c33ee
mov eax, dword [esi + 8]
test eax, eax
je 0x6d7c33ad
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x1b4]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x6d7c33ea
cmp eax, 2
je 0x6d7c33ee
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6d7c33a2
cmp eax, 3
je 0x6d7c33d1
cmp eax, 1
jne 0x6d7c33a2
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x6d7c33a2
mov ecx, dword [esi + 0x140]
add dword [eax + 8], ecx
jmp 0x6d7c33a2
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
mov dword [esi + 0x98], eax
jmp 0x6d7c341a
cmp eax, 0xcc
je 0x6d7c341a
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.6d7c3229
pop esi
ret

Function at 0x6d7c931c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x6d7c932b
pop dword [ebp - 0x40]
mov eax, 0x67789e8e
add eax, 0x603f49d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x26c4d3ce
add dword [ebp - 0x50], 0x278d717d
mov dword [ebp - 0x4c], 0x3af7fbea
sub dword [ebp - 0x4c], 0x8c4afa5
mov dword [ebp - 0x48], 0xf982bba0
sub dword [ebp - 0x48], 0xad367772
mov dword [ebp - 0x44], 0x72f42766
add dword [ebp - 0x44], 0x8d0bd89a
lea eax, [ebp - 0x50]
push eax
mov eax, 0xdd83e608
sub eax, 0x700705cc
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xfef62948
add dword [ebp - 0x50], 0x757c400e
mov dword [ebp - 0x4c], 0x2aec29f0
sub dword [ebp - 0x4c], 0xe97fc87b
mov dword [ebp - 0x48], 0x6b4956f7
add dword [ebp - 0x48], 0xf8261575
mov dword [ebp - 0x44], 0x4aa3b752
add dword [ebp - 0x44], 0xb55c48ae
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x82c03306
sub eax, 0x15435266
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3c084
push 0
call eax
mov ecx, 0xe7f91d65
sub ecx, 0xe7f8c7a7
mov esi, eax
mov edx, 0xe5c42846
add edx, 0x87b9a9ba
add edx, dword [ebp - 0x40]
mov edi, 0x38cf19ee
add edi, 0xedf06d70
add dword [ebp - 0x30], 0x10f81e66
mov ebx, dword [edx]
sub dword [ebp - 0x38], eax
sub ebx, edi
mov dword [esi], ebx
xor dword [ebp - 0x10], edx
add esi, 0x1bf00f01
sub esi, 0x1bf00efd
add edx, 0x9bf03265
sub edx, 0x9bf03261
loop 0x6d7c944d
add eax, 0x5c0122f9
add eax, 0xa40026d2
xor ebx, ebx
add ebx, eax
add eax, 0xe61a723c
add eax, 0x19e58dc9
mov ecx, 0x6d7b0000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x6d7cd236
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d7d7070]
jne 0x6d7cd240
repz ret
jmp fcn.6d7cd70c
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x18
push 0
push 0x40bd90
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x40bd94], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x40bd90], eax
call fcn.00402177
call fcn.004091b0
call fcn.00408990
call fcn.004083b2
call fcn.00407dbe
call fcn.00407be2
call fcn.00407bd6
call fcn.00407930
call fcn.00405a6c
call fcn.00405310
call fcn.00404826
call fcn.00403d0d
call fcn.00403c54
call fcn.00403a27
call fcn.0040284f
call fcn.0040222c
push 0xe
mov eax, str.Franklin_Gothic_Medium
push eax
push 0
call fcn.00407cf8
push 0x5c
push 0xec
push 0
push 0
call fcn.00401131
call fcn.004029e5
mov dword [0x40bda0], eax
push dword [0x40bda0]
call fcn.0040119f
mov ebx, eax
and ebx, ebx
jne 0x4010bd
jmp 0x4010da
push 0
call 0x4010f9
call fcn.00409200
push dword [0x40bd90]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.004021d6
call fcn.004027a2
call fcn.0040282c
call fcn.00403a26
call fcn.00403c53
call fcn.00403d01
call fcn.00407950
call fcn.00407d4f
call fcn.00407da0
call fcn.00408a05
call fcn.00408980
ret