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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x10280a84]
add ecx, 0xffffea42
mov dword [0x10280a88], ecx
mov dword [ebp - 0x10], eax
call fcn.10242c6f
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x10280a84], 0x1516
mov esi, dword [eax + esi + 0x78]
mov dword [0x10280a84], 0x11d0
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10280a88], 0x6c2
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10242a5c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x28], edx
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x102429eb
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x1024299a
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10242a30
jmp 0x102429f4
mov eax, 0xffffeebe
xor ecx, ecx
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x3c]
add esi, 2
mov dword [0x10280a84], 0x10da
mov edi, dword [ebp - 0x18]
cmp edx, edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], ecx
jb 0x1024297a
jmp 0x10242a5c
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x40]
mov dword [0x10280a88], edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x1c]
add ebx, dword [esi + ecx*4]
mov dword [0x10280a84], 0x1a69
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10242dfe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x4207
mov dword [0x10280a8c], 0
mov dword [0x10280a90], 0
mov dword [0x10280a9c], 0
mov dword [0x10280a88], 0x222c
mov dword [0x10280a84], 0x4207
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10242fa2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x10280a84], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10280a8c], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10280a90], edx
mov dword [0x10280a84], 0x1bda
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10280a94], cl
mov dword [0x10280a84], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10280a84], 0x2f0
mov cl, byte [0x10280a94]
mov edx, dword [0x10280a90]
mov byte [edi + edx], cl
mov edx, dword [0x10280a8c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10280a90]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10280a88], 0xffffe4ab
and ebx, 0xff
mov dword [0x10280a9c], ebx
mov dword [0x10280a84], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x10280aa1], ch
mov byte [0x10280aa2], cl
xor ch, cl
mov byte [0x10280aa0], ch
mov dword [0x10280a88], 0xffffef26
mov dword [0x10280a84], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10242fa2
mov eax, dword [0x10280a84]
mov ecx, dword [0x10280a8c]
mov edx, dword [0x10280a90]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10242e73
mov dword [0x10280a88], 0x23ec
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10242fb4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000106e
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, 0
mov dword [esp + 0x20], eax
je 0x10243000
mov eax, dword [esp + 0x20]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x102430a8
jmp 0x10243094
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call fcn.10241c8d
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x8c], ecx
mov dword [0x10280a88], 0x1082
mov dword [esp + 0x4c], 0x132400
mov ecx, dword [0x10280a70]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x10280a74]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x10280a78]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x10280a7c]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x10280a80]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x10], eax
lea eax, [0x10242a67]
mov dword [0x10280a84], 0xffffe113
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x10242fe3
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x10243081
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [0x10280a84], 0x1516
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x90], edx
mov dword [0x10280a88], 0x3a6
call fcn.1024240f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10243119
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.102422a9
mov dword [0x10280a88], 0x2491
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
jmp 0x10242fdb

Function at 0x406695
Capabilities:
Hash data with crc32

Disassembly:
je 0x406710
push dword [ebp - 0x7b]
sar byte [ebp + 0x11], 0x40
mov ecx, 0x8b560000
invalid
push esi
call 0x514d775b
mov dword [ebp + 0x35], esi
Function at 0x405b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x405ba4
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x405ba3
push ebx
mov ebx, 0x45e688
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x428558
mov byte [edi + esi], al
call fcn.0040f67e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x405b46
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.0040563b
pop edi
pop ebp
ret 0x14

Function at 0x409508
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x409529
jl 0x409520
test edi, edi
jne 0x409529
xor eax, eax
xor edx, edx
jmp 0x4095ea
cmp dword [ebx + 0x38], 0
je 0x40953e
push eax
push edi
push dword [ebp + 8]
call fcn.004095f0
jmp 0x4095ea
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x409585
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x409585
cmp eax, edi
jb 0x40955f
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040ad50
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40958b
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4095df
mov ecx, ebx
call fcn.00408da2
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4095ca
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004133f8
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4095df
jmp 0x40959d
test edx, edx
je 0x4095df
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004133f8
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40a8af
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a8ee
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a8ee
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a8ee
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a8ee
cmp dword [ecx + 0x74], 0xe
jbe 0x40a8ee
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41cca8
Capabilities:
Read file on windows

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

Function at 0x41d0a2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040ad00
mov eax, dword [0x45ca00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041ac65
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41d0e4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d240
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426830
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x45f030]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041de41
mov ecx, dword [esi*4 + 0x45f030]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41d239
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d239
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d239
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041de41
add esp, 0x14
test edx, edx
jl 0x41d239
jg 0x41d1af
test eax, eax
jb 0x41d239
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d239
jl 0x41d1c9
cmp dword [ebp - 0x1008], eax
ja 0x41d239
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d1e7
test ebx, ebx
je 0x41d220
cmp ecx, edi
jae 0x41d220
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d201
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d20d
cmp byte [ecx + 1], 0xa
jne 0x41d20d
inc ecx
jmp 0x41d20d
movzx eax, al
movsx eax, byte [eax + 0x45ccc8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d1e7
cmp edx, ebx
jne 0x41d1e7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d23e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a110
leave
ret
Function at 0x41d2df
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x45f030]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d31f
cmp byte [ebx], 0xa
jne 0x41d31f
or byte [eax + edi + 0x28], 4
jmp 0x41d324
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d422
mov al, byte [edx]
cmp al, 0x1a
je 0x41d404
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d353
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d378
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d382
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d335
jmp 0x41d422
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d3ff
cmp dword [ebp - 0xc], 0
je 0x41d3ff
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x45f030]
test byte [eax + edi + 0x28], 0x48
je 0x41d3d9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d3c4
mov byte [esi], dl
jmp 0x41d3d5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x45f030]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d422
cmp byte [ebp - 1], 0xa
jne 0x41d3e8
cmp esi, ebx
jne 0x41d3e8
mov byte [esi], 0xa
jmp 0x41d421
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041de5f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d422
mov byte [esi], 0xd
jmp 0x41d421
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x45f030]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d41e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d422
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d42b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x45f030]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d46e
cmp word [esi], dx
jne 0x41d46e
or byte [edi + eax + 0x28], 4
jmp 0x41d473
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d5c6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d5a6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d4b5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d4eb
cmp eax, edx
jae 0x41d4f7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d48d
jmp 0x41d5c6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d5a2
cmp dword [ebp - 0x14], 0
je 0x41d5a2
mov eax, dword [ebx*4 + 0x45f030]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d57a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d543
mov word [esi], cx
jmp 0x41d576
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x45f030]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x45f030]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x45f030]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d5c6
pop ebx
cmp word [ebp - 4], bx
jne 0x41d58b
cmp esi, dword [ebp + 0xc]
jne 0x41d58b
mov word [esi], bx
jmp 0x41d5c3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041de5f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d5c6
push 0xd
jmp 0x41d5bf
mov ecx, dword [ebx*4 + 0x45f030]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d5bd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d5c6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f261
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 0x41f2fe
push ebx
push esi
call fcn.0041f22a
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.0041e00b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f2ab
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f2fd
push edi
push eax
call fcn.00419e30
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f2cb
call fcn.00418e99
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f2fc
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041e00b
add esp, 0x20
test eax, eax
jne 0x41f2ea
push edi
call fcn.00418e99
jmp 0x41f2f2
push ebx
call fcn.00418e99
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 0x426630
Capabilities:
Parse pe header

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

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1009d35f
pop dword [ebp - 0x1c]
mov eax, 0x557f2ef2
add eax, 0xba8aa46d
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xe6b3d83
add dword [ebp - 0x2c], 0x3fe707c8
mov dword [ebp - 0x28], 0x250b702
add dword [ebp - 0x28], 0x2fe29543
mov dword [ebp - 0x24], 0xd0d6b623
add dword [ebp - 0x24], 0x7b758e0b
mov dword [ebp - 0x20], 0x70c1329e
sub dword [ebp - 0x20], 0x70c1329e
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x2c173314
sub eax, 0x1c0bc234
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xce72d67a
sub dword [ebp - 0x2c], 0x5a006d24
mov dword [ebp - 0x28], 0xbfc9da7d
add dword [ebp - 0x28], 0x81a286f8
mov dword [ebp - 0x24], 0xd65f1257
add dword [ebp - 0x24], 0x8d105a15
mov dword [ebp - 0x20], 0x5cfdaa93
add dword [ebp - 0x20], 0xa302556d
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x5f237
push 0
call eax
mov ecx, 0x8809a17a
sub ecx, 0x880953f8
mov edi, eax
mov edx, 0xdd111f85
sub edx, 0xcd01eb85
add edx, dword [ebp - 0x1c]
mov esi, 0xe0379e2b
mov dword [ebp - 0x10], 0x2c867d73
mov ebx, dword [edx]
sub dword [ebp - 0x14], 0xeacf63a2
xor ebx, esi
xor dword [ebp - 0x10], ebx
mov dword [edi], ebx
sub dword [ebp - 0xc], 0x13db75fe
add edi, 0x44cb8ac1
sub edi, 0x44cb8abd
add edx, 4
loop 0x1009d476
add eax, 0x7cef3a7a
add eax, 0x8311ee61
xor ebx, ebx
add ebx, eax
add eax, 0x9b1dd9ee
add eax, 0x64e22617
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1e712690
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1e7e4380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x102
sub ecx, eax
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1e7126d8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret
push 0x1e6f3d18
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.1e712390
push esi
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call fcn.1e712390
lea edx, [ebp - 0x108]
push edx
call sub.msvcrt.dll__strlwr
lea eax, [ebp - 0x108]
push eax
call fcn.1e711fa0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.1e72b65d
mov esp, ebp
pop ebp
ret

Function at 0x1e71bd70
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push eax
push ecx
push edx
call fcn.1e71bb40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1e71bda5
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0x80004005
pop esi
pop ebp
ret 0x10
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x1e71bdec
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1e71bdba
mov eax, dword [eax + 8]
inc eax
jmp 0x1e71bdbc
xor eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi], eax
test eax, eax
jne 0x1e71bddf
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1e71bdec
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1e71bdec
push eax
call fcn.1e723e50
mov edi, dword [esi + 0x18]
mov ecx, esi
call fcn.1e71bc00
push esi
call fcn.1e71aef0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x1e71be10
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push 0
push eax
push ecx
call fcn.1e71bb40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1e71be3e
push 0x1e6f46a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
pop ebp
ret
xor edx, edx
cmp dword [esi + 0x18], edx
push edi
setge dl
mov ecx, esi
mov edi, edx
call fcn.1e71bc00
push esi
call fcn.1e71aef0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret