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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4708e8
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 0x433a89
inc eax
mov dword [esi + 0x10], eax
jmp 0x433b9c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x433a9d
mov eax, 0xffffffc7
jmp 0x433b9e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x433aae
cmp dword [esi + 8], eax
jne 0x433a9d
cmp dword [esi + 8], eax
jne 0x433ac7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x433ac7
mov eax, 0xffffffc7
jmp 0x433b9e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x433adb
push eax
mov ecx, ebx
call fcn.00433280
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.00403d80
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x433b0c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403da0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004329f0
test eax, eax
mov dword [esp + 0x38], eax
je 0x433b3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x476178
call fcn.00403f80
mov eax, dword [esp + 0x38]
jmp 0x433b9e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004338b0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433b83
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004338d0
mov esi, eax
test esi, esi
jne 0x433bb3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004338b0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433b55
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x476178
call fcn.00403f80
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], 0x476178
call fcn.00403f80
mov eax, esi
jmp 0x433b9e

Function at 0x436cc0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436d20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436d20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436d20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436d20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x436d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43ce90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470f18
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 [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004693a3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043c830
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.004692d1
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.00465b95
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.00465b95
push 1
push 0
push 0
mov ecx, esi
call fcn.00465b3d
push 1
push 0
push 1
mov ecx, esi
call fcn.00465b3d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00469415
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43d010
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470f38
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.004693a3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043c830
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.004692d1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
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 0x43d0d4
cmp dword [esp + 0x40], 1
jne 0x43d0d2
cmp ecx, eax
jge 0x43d0d4
mov eax, ecx
cmp eax, 0xc8
jge 0x43d0e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043ce90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00469415
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43d850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470fa3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00463fb5
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046964b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046ab67
test eax, eax
je 0x43d96c
mov ecx, dword [esp + 0x3c]
call fcn.00469678
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43d930
push edi
mov ecx, esi
call fcn.00466ce0
mov ecx, esi
call fcn.0043dad0
cmp dword [esp + 0x38], 1
jne 0x43d965
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00466e1b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x440380
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4403b3
push esi
call fcn.00443490
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4403ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440439
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440422
mov eax, dword [esi + 8]
test eax, eax
je 0x4403d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44041e
cmp eax, 2
je 0x440422
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4403ca
cmp eax, 3
je 0x4403fd
cmp eax, 1
jne 0x4403ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4403ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4403ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440460
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440448
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440460
add esp, 4
pop esi
ret

Function at 0x464dab
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x464de3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00462e5f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00462e37
jmp 0x464def
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46649d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4664df
call fcn.0046bf4d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4664df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4664d6
xor eax, eax
jmp 0x4664e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004664ed
pop edi
pop esi
pop ebx
ret 4

Function at 0x46c47d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46c4ab
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46c4c9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046c3e3
jmp 0x46c4c9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46c4c9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046c3e3
test edi, edi
mov eax, edi
jne 0x46c4b3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406c18
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x443e1f
call fcn.0043cc91
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 0xc
mov ecx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
call fcn.00406981
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
mov eax, 0xf51e
xor ax, word [esi*2 + 0x445688]
push esi
mov ecx, ebx
movzx edi, ax
call fcn.00404ed0
inc esi
mov word [eax], di
cmp esi, 0xc
jb 0x406c43
mov eax, ebx
call fcn.0043cd30
ret

Function at 0x406df0
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x443e53
call fcn.0043cc91
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 0xc
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
call fcn.0040690b
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
mov bl, byte [esi + 0x445730]
push esi
mov ecx, edi
xor bl, 0x7a
call fcn.00404ea8
inc esi
mov byte [eax], bl
cmp esi, 0xc
jb 0x406e1b
mov eax, edi
call fcn.0043cd30
ret

Function at 0x406e88
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x443e53
call fcn.0043cc91
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 0x10
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
call fcn.0040690b
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
mov bl, byte [esi + 0x44574c]
push esi
mov ecx, edi
xor bl, 0x7a
call fcn.00404ea8
inc esi
mov byte [eax], bl
cmp esi, 0x10
jb 0x406eb3
mov eax, edi
call fcn.0043cd30
ret

Function at 0x406f6c
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x443e53
call fcn.0043cc91
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 0xe
mov ecx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
call fcn.0040690b
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
mov bl, byte [esi + 0x445788]
push esi
mov ecx, edi
xor bl, 0x7a
call fcn.00404ea8
inc esi
mov byte [eax], bl
cmp esi, 0xe
jb 0x406f97
mov eax, edi
call fcn.0043cd30
ret
Function at 0x4224f3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
movzx eax, word [ebx + 6]
test eax, eax
jle 0x422575
push esi
push edi
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [0x44afd0]
mov ecx, dword [ebp + 0x10]
mov dword [0x44affc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
lea eax, [eax + edi + 0xf8]
push eax
call fcn.00404b0c
mov ecx, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [esi + 0xc]
add eax, dword [ebx + 0x34]
push dword [esi + 0x14]
mov dword [0x44a228], eax
call fcn.00404b0c
mov ecx, dword [esi + 0x10]
add ecx, 0xc
mov dword [0x44a224], ecx
add ecx, 0xfffffff4
push ecx
push eax
push dword [0x44a228]
mov dword [0x44a220], eax
push dword [0x44affc]
call fcn.0041aa4d
add esp, 0x10
add edi, 0x28
dec dword [ebp + 8]
jne 0x422509
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
Function at 0x444080
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
xor eax, eax
xor ebx, ebx
cmp edx, 0
je 0x4441e3
mov al, byte [edi]
mov bl, byte [edi + 4]
add edi, 8
lea ecx, [esi + edx]
sub ebp, esi
mov dword [esp + 0x18], ecx
inc al
cmp dword [edi + 0x100], 0xffffffff
je 0x4441b0
mov ecx, dword [edi + eax*4]
and edx, 0xfffffffc
je 0x444180
lea edx, [esi + edx - 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
lea esp, [esp]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
mov ecx, dword [edi + eax*4]
mov ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [edi + eax*4]
or ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [edi + eax*4]
or ebp, dword [edi + edx*4]
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
ror ebp, 8
mov ecx, dword [esp + 0x20]
or ebp, dword [edi + edx*4]
ror ebp, 8
xor ebp, dword [esi]
cmp esi, dword [esp + 0x1c]
mov dword [ecx + esi], ebp
lea esi, [esi + 4]
mov ecx, dword [edi + eax*4]
jb 0x4440e0
cmp esi, dword [esp + 0x18]
je 0x4441db
mov ebp, dword [esp + 0x20]
lea esp, [esp]
nop
add bl, cl
mov edx, dword [edi + ebx*4]
mov dword [edi + ebx*4], ecx
mov dword [edi + eax*4], edx
add edx, ecx
inc al
and edx, 0xff
mov edx, dword [edi + edx*4]
xor dl, byte [esi]
lea esi, [esi + 1]
mov ecx, dword [edi + eax*4]
cmp esi, dword [esp + 0x18]
mov byte [ebp + esi - 1], dl
jb 0x444180
jmp 0x4441db
movzx ecx, byte [edi + eax]
add bl, cl
movzx edx, byte [edi + ebx]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
add dl, cl
movzx edx, byte [edi + edx]
add al, 1
xor dl, byte [esi]
lea esi, [esi + 1]
movzx ecx, byte [edi + eax]
cmp esi, dword [esp + 0x18]
mov byte [ebp + esi - 1], dl
jb 0x4441b4
dec al
mov byte [edi - 4], bl
mov byte [edi - 8], al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x406020
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42ce9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404304
call fcn.00406c81
push 4
mov dword [esp + 0x18], 0
call fcn.00407bb4
mov edi, eax
add esp, 4
test edi, edi
je 0x406094
push ebx
call fcn.00406b59
mov dword [edi], eax
call fcn.00406918
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406c42
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406088
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406c6a
pop ebx
jmp 0x406096
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408621
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430790]
jne 0x40862b
repz ret
jmp fcn.0040dfcc
Function at 0x412121
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c469
and dword [ebp - 0x14], 0
cmp dword [0x435b90], 0
mov dword [ebp - 0x18], eax
jne 0x4121d4
push 0x40383c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41227c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403830
push ebx
call edi
test eax, eax
je 0x41227c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403820
push ebx
mov dword [0x435b90], eax
call edi
push eax
call esi
push 0x40380c
push ebx
mov dword [0x435b94], eax
call edi
push eax
call esi
push 0x4037f0
push ebx
mov dword [0x435b98], eax
call edi
push eax
call esi
mov dword [0x435ba0], eax
test eax, eax
je 0x4121d4
push 0x4037d8
push ebx
call edi
push eax
call esi
mov dword [0x435b9c], eax
mov eax, dword [0x435b9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41222d
cmp dword [0x435ba0], ecx
je 0x41222d
push eax
call esi
push dword [0x435ba0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41222d
test ebx, ebx
je 0x41222d
call edi
test eax, eax
je 0x412224
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412224
test byte [ebp - 8], 1
jne 0x41222d
or dword [ebp + 0x10], 0x200000
jmp 0x412260
mov eax, dword [0x435b94]
cmp eax, dword [ebp - 0x18]
je 0x412260
push eax
call esi
test eax, eax
je 0x412260
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412260
mov eax, dword [0x435b98]
cmp eax, dword [ebp - 0x18]
je 0x412260
push eax
call esi
test eax, eax
je 0x412260
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x435b90]
call esi
test eax, eax
je 0x41227c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41227e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408621
leave
ret
Function at 0x42add0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b9934], 0x37
jne 0x42ae66
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7ba928]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x7b989c]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x42b0f0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b9934]
sub esp, 0x97c
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
mov edi, dword [0x7b989c]
cmp eax, esi
jbe 0x42b2fa
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
jmp 0x42b136
mov edi, dword [esp + 0x28]
xor esi, esi
cmp dword [0x7b9934], 0x1c
jne 0x42b14d
lea eax, [esp + 0x40]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [0x4317fc]
mov edi, dword [0x4317f8]
mov ebx, dword [str.wJzS]
mov ebp, dword [0x431804]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0xc6ef3720
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], 0x20
jmp 0x42b18e
mov eax, dword [esp + 0x1c]
xor esi, esi
mov ecx, eax
shr ecx, 5
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov edx, eax
shl edx, 4
add edx, ebx
add ecx, eax
xor edx, ecx
mov dword [esp + 0x10], edx
mov dword [0x7b98a0], esi
mov eax, dword [esp + 0x24]
add dword [0x7b98a0], eax
mov edx, dword [0x7b98a0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x3c]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
sub dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, edi
add esi, ecx
cmp dword [0x7b9934], 0x1be
mov dword [esp + 0x10], eax
jne 0x42b228
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shr ecx, 5
add ecx, dword [esp + 0x38]
cmp dword [0x7b9934], 0x979
mov dword [0x7b98a8], 0xff6b3619
mov dword [0x7b98ac], 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x42b269
push 0
lea ecx, [esp + 0x18c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov eax, dword [esp + 0x10]
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
add dword [esp + 0x20], eax
sub dword [esp + 0x14], eax
dec dword [esp + 0x2c]
jne 0x42b188
cmp dword [0x7b9934], 0x8d4
jne 0x42b2af
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x7b9934], 0x17
jne 0x42b2e9
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x48]
push ecx
push 0x4040e0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x30]
mov dword [esp + 0x28], esi
jne 0x42b130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret
Function at 0x63bc90
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0063bca0

Function at 0x63bf20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0063bf30