joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4725b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00430e50
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x4332a9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0042e1c0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0042e1b0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00432900
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x4744ec]
push 0
lea ecx, [esp + 0x4c]
call fcn.0046ba8b
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00441fe0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.004308b0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x474088]
mov ecx, ebx
call fcn.0042e130
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x433374
push edi
mov ecx, esi
call fcn.004309c0
push eax
push ebp
mov ecx, esi
call fcn.00430b80
cmp eax, dword [esp + 0x40]
jg 0x433370
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x43334e
mov eax, ebx
jmp 0x43337a
cmp edi, ebx
jl 0x433378
mov eax, ebx
jmp 0x43337a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x43338b
mov dword [esp + 0x30], eax
jmp 0x433396
cmp edi, ebx
jl 0x433391
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0042e0f0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x4333dd
push edi
mov ecx, esi
call fcn.004308e0
push eax
push ebx
mov ecx, esi
call fcn.00430cb0
cmp eax, dword [esp + 0x44]
jg 0x4333d5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x4333af
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4333e7
cmp edi, ebp
jl 0x4333e1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4333e7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x4333f0
mov ecx, eax
jmp 0x4333f9
cmp edi, ebp
jl 0x4333f6
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.004308d0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0046bafd
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x434090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add al, ch
ljmp 0x89c0

Function at 0x4393d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x472a68
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x439409
inc eax
mov dword [esi + 0x10], eax
jmp 0x43951c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43941d
mov eax, 0xffffffc7
jmp 0x43951e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43942e
cmp dword [esi + 8], eax
jne 0x43941d
cmp dword [esi + 8], eax
jne 0x439447
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439447
mov eax, 0xffffffc7
jmp 0x43951e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43945b
push eax
mov ecx, ebx
call fcn.00438c00
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00405f40
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43948c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00405f60
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00438370
test eax, eax
mov dword [esp + 0x38], eax
je 0x4394bf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x71b190
call fcn.00406140
mov eax, dword [esp + 0x38]
jmp 0x43951e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439230
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x439503
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439250
mov esi, eax
test esi, esi
jne 0x439533
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439230
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4394d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x71b190
call fcn.00406140
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x71b190
call fcn.00406140
mov eax, esi
jmp 0x43951e
Function at 0x442640
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4744ec]
push 0
lea ecx, [esp + 0x20]
call fcn.0046ba8b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00441fe0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046b9b9
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046827d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046827d
push 1
push 0
push 0
mov ecx, esi
call fcn.00468225
push 1
push 0
push 1
mov ecx, esi
call fcn.00468225
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046bafd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4427c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4730b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046ba8b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00441fe0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046b9b9
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4744ec]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x442884
cmp dword [esp + 0x40], 1
jne 0x442882
cmp ecx, eax
jge 0x442884
mov eax, ecx
cmp eax, 0xc8
jge 0x442890
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00442640
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4744e8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046bafd
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4458e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x4744ec]
push 0
lea ecx, [esp + 0x20]
call 0x46ed2b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00445280
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call 0x46ec59
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046b51d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046b51d
push 1
push 0
push 0
mov ecx, esi
call fcn.0046b4c5
push 1
push 0
push 1
mov ecx, esi
call fcn.0046b4c5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046ed9d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x445a60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4730b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call 0x46ed2b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00445280
invalid
dec dword [ebx + 0x468b484e]
dec esp

Function at 0x46735e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [edi + 0x1b0]
mov ebx, dword [edx + 0x14]
test ebx, ebx
jne 0x46737a
cmp eax, ecx
jne 0x46735c
mov ebp, dword [edi + 0x18c]
mov ebx, dword [edi + 0x9c]
mov ecx, dword [edi + 0x94]
xor eax, eax
test ebp, ebp
sete al
add eax, ebx
cmp ecx, eax
ja 0x46737a
push edi
call dword [edx]
adc al, byte [ebx - 0x3f7afb3c]
adc al, byte [ebx - 0x3f7afb3c]
je 0x4673ea
mov eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x98]
cmp eax, ecx
jle 0x46732c
mov ecx, dword [edi + 0x20]
mov ebp, dword [edi + 0xd8]
xor eax, eax
mov dword [esp + 0x2c], ebp
cmp ecx, eax
mov dword [esp + 0x68], eax
jle 0x467932
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x54], eax
mov eax, 0xffffffbc
lea ebx, [esi + 0x48]
invalid
Function at 0x467534
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x28], esi
movsx edi, word [ecx]
movsx ebx, word [eax]
dec edx
add eax, 0x80
add ecx, 0x80
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x98]
push 1
push eax
push ecx
call fcn.00466210
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp eax, edx
jae 0x4675be
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
movsx ecx, word [eax]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
movsx esi, word [edx + 0x80]
movsx ecx, word [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x467637
cmp word [esp + 0x9a], 0
jne 0x467637
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x6c]
sub eax, esi
imul eax, dword [esp + 0x18]
lea edx, [eax + eax*8]
mov eax, ebp
shl edx, 2
js 0x46760c
shl eax, 7
add eax, edx
cdq
shl ebp, 8
idiv ebp
test ecx, ecx
jle 0x46762b
mov edx, 1
shl edx, cl
cmp eax, edx
jl 0x46762b
lea eax, [edx - 1]
jmp 0x46762b
shl eax, 7
sub eax, edx
cdq
shl ebp, 8
idiv ebp
test ecx, ecx
jle 0x467629
mov edx, 1
shl edx, cl
cmp eax, edx
jl 0x467629
lea eax, [edx - 1]
neg eax
mov ebp, dword [esp + 0x2c]
mov word [esp + 0x9a], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4676b4
cmp word [esp + 0xa8], 0
jne 0x4676b4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edx
mov ebp, dword [esp + 0x7c]
imul eax, dword [esp + 0x18]
lea edx, [eax + eax*8]
mov eax, ebp
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x46773b
cmp word [esp + 0xb8], 0
jne 0x46773b
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x74]
lea eax, [edx + edx]
mov edx, eax
mov eax, dword [esp + 0x20]
sub eax, edx
mov edx, dword [esp + 0x1c]
add eax, edx
imul eax, dword [esp + 0x18]
lea edx, [eax + eax*8]
mov eax, ebp
test edx, edx
jl 0x467710
shl eax, 7
add eax, edx
cdq
shl ebp, 8
idiv ebp
test ecx, ecx
jle 0x46772f
mov edx, 1
invalid
Function at 0x467928
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4678fa
mov esi, dword [edi + 0x9c]
mov eax, dword [esp + 0x88]
mov ecx, dword [ebp + 0xc]
cmp esi, eax
jae 0x4673f7
mov eax, ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x10], eax
add eax, eax
jmp 0x467416
mov eax, dword [ebp + 0x20]
xor edx, edx
div ecx
test edx, edx
mov dword [esp + 0x10], edx
jne 0x46740c
mov dword [esp + 0x10], ecx
mov edx, ecx
mov eax, edx
mov dword [esp + 0x60], 1
test esi, esi
jbe 0x467445
add eax, ecx
dec esi
imul esi, ecx
mov edx, dword [edi + 4]
push 0
push eax
mov eax, dword [ebx]
push esi
push eax
push edi
call dword [edx + 0x20]
mov ecx, dword [ebp + 0xc]
add esp, 0x14
mov dword [esp + 0x78], 0
lea esi, [eax + ecx*4]
mov dword [esp + 0x4c], esi
je 0x467466
dec esp
jmp 0x467465
mov edx, dword [edi + 4]
push 0
push eax
mov eax, dword [ebx]
push 0
push eax
push edi
call dword [edx + 0x20]
add esp, 0x14
mov dword [esp + 0x4c], eax
mov dword [esp + 0x78], 1
mov esi, eax
mov ecx, dword [esp + 0x94]
mov edx, dword [edi + 0x1bc]
mov eax, dword [ecx + 0x70]
mov ecx, dword [esp + 0x54]
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x4c]
mov cx, word [eax]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov cx, word [eax + 2]
add cl, byte [ecx + 0x336c244c]
leave
mov cx, word [eax + 0x10]
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov cx, word [eax + 0x20]
mov dword [esp + 0x74], ecx
xor ecx, ecx
mov cx, word [eax + 0x12]
mov dword [esp + 0x84], ecx
xor ecx, ecx
mov cx, word [eax + 4]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x5c]
add edx, eax
mov eax, dword [edx + ebx]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x44], edx
test ecx, ecx
mov dword [esp + 0x30], eax
jle 0x4678fa
jmp 0x4674fc
mov ecx, dword [esp + 0x78]
mov edx, dword [esi + eax*4]
test ecx, ecx
mov dword [esp + 0x24], edx
je 0x467511
test eax, eax
mov ecx, edx
je 0x467515
mov ecx, dword [esi + eax*4 - 4]
mov edi, dword [esp + 0x60]
test edi, edi
je 0x46752a
mov edi, dword [esp + 0x10]
dec edi
cmp eax, edi
jne 0x46752a
mov eax, edx
jmp 0x46752e
mov eax, dword [esi + eax*4 + 4]
movsx esi, word [edx]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x2c], ebp
jl 0x4673b9
mov esi, dword [edi + 0x9c]
mov edx, dword [edi + 0x13c]
inc esi
mov eax, esi
mov dword [edi + 0x9c], esi
cmp eax, edx
pop edi
sbb eax, eax
pop esi
pop ebp
add eax, 4
pop ebx
add esp, 0x108
ret
Function at 0x46ddd3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x24], ecx
lea eax, [edi + edi]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
mov ecx, edi
add edi, eax
add edx, edi
add edi, eax
mov word [ebp + 2], dx
mov edx, dword [esp + 0x28]
sub byte [ebx], al
xlatb
add edi, eax
mov dword [esp + 0x28], ecx
lea eax, [ebx + ebx]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
mov ecx, ebx
add ebx, eax
add edx, ebx
add ebx, eax
mov word [ebp + 4], dx
mov edx, dword [esp + 0x2c]
add edx, ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x74]
add ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
add ecx, eax
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x30]
Function at 0x40bbe6
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x500
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
push 0
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x40bc15
push dword [ebp + 8]
call fcn.0040a67e
pop ecx
jmp 0x40bdac
lea eax, [ebp - 0x300]
push ebx
push eax
call fcn.0040bdb1
pop ecx
lea eax, [ebp - 0x300]
pop ecx
push 0
push eax
push dword [ebp + 8]
call esi
test eax, eax
jne 0x40bc39
push ebx
jmp 0x40bc0a
push 1
pop edi
push dword [ebp + 8]
mov dword [0x417840], edi
call fcn.0040a67e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ecx
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x200]
push eax
call esi
lea eax, [ebp - 0x100]
push ebx
push eax
call esi
xor esi, esi
lea eax, [ebp - 0x200]
push esi
push eax
call fcn.0040b02b
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.0040b02b
mov eax, dword [0x4177f0]
add esp, 0x10
cmp eax, 2
jne 0x40bcb7
lea eax, [ebp - 0x200]
push str.WININIT.INI
push eax
lea eax, [ebp - 0x100]
push eax
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x40bdac
cmp eax, edi
jne 0x40bcd8
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebx
call esi
push 4
lea eax, [ebp - 0x200]
push ebx
push eax
call esi
jmp 0x40bdac
lea eax, [ebp - 0x100]
push eax
call fcn.0040bdf6
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x500]
push str.del__s_r_nrename__s__s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x100]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x101], 0x5c
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x40bd45
lea eax, [ebp - 0x100]
push 0x4140ec
push eax
call ebx
lea eax, [ebp - 0x100]
push 0x4147fc
push eax
call ebx
lea eax, [ebp - 0x100]
push edi
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40bd7a
lea eax, [ebp - 0x100]
push esi
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov edi, eax
jmp 0x40bd84
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll__llseek]
cmp edi, 0xffffffff
je 0x40bdac
lea eax, [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x500]
push eax
push edi
call dword [sym.imp.KERNEL32.dll__lwrite]
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5aface
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push edx
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x5afb07
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x5afaf5
mov al, 1
jmp 0x5afb4f
cmp dword [ebx + 0x54], ecx
jne 0x5afafe
mov al, 2
jmp 0x5afb4f
cmp dword [ebx + 0x7c], ecx
jmp 0x5afb4f
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x5afb1c
mov al, 4
jmp 0x5afb4f
cmp ecx, 5
jne 0x5afb3c
cmp ebx, 0
jne 0x5afb2a
mov al, 5
jmp 0x5afb4f
cmp ebx, 1
jne 0x5afb33
mov al, 6
jmp 0x5afb4f
cmp ebx, 2
jne 0x5afb3c
mov al, 7
jmp 0x5afb4f
cmp ecx, 6
jne 0x5afb4f
cmp ebx, 0
jne 0x5afb48
mov al, 8
cmp ebx, 1
jne 0x5afb4f
mov al, 9
pop ebx
pop edx
leave
ret
Function at 0x40108c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
je 0x4010b1
cmp al, 0x20
jle 0x4010c3
inc esi
cmp byte [esi], 0x20
jg 0x4010a5
jmp 0x4010c3
cmp al, 0x22
je 0x4010c2
inc esi
mov al, byte [esi]
test al, al
jne 0x4010ad
cmp al, 0x22
jne 0x4010c3
jmp 0x4010c2
cmp al, 0x20
jg 0x4010c9
inc esi
mov al, byte [esi]
test al, al
jne 0x4010be
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401137
push 0x408004
push section..data
call fcn.0040111d
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4010f9
movzx eax, word [ebp - 0x14]
jmp 0x4010fc
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040114f
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4011fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov edx, ecx
mov dword [ebp - 4], 0x5006
push esi
mov esi, 0x402568
sub esi, dword [ebp + 0xc]
mov ebx, dword [edx + 4]
push edi
mov edi, dword [edx]
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [edx + edi + 8]
movzx eax, cl
add eax, ebx
movzx ebx, al
mov al, byte [edx + ebx + 8]
mov byte [edx + edi + 8], al
add al, cl
mov byte [edx + ebx + 8], cl
mov ecx, dword [ebp + 0xc]
movzx eax, al
mov al, byte [eax + edx + 8]
xor al, byte [esi + ecx]
mov byte [ecx], al
inc ecx
sub dword [ebp - 4], 1
mov dword [ebp + 0xc], ecx
jne 0x40121b
mov dword [edx], edi
xor eax, eax
pop edi
pop esi
mov dword [edx + 4], ebx
pop ebx
leave
ret