joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b745
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x42b86e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b86e
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x42b78c
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [0x4315a8]
test eax, eax
jne 0x42b784
push 0
jmp 0x42b870
mov eax, dword [ebp - 4]
jmp 0x42b84f
mov eax, dword [esi + 0x38]
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x34]
jb 0x42b7e0
mov ebx, dword [esi + 0x40]
sub ebx, eax
jns 0x42b7a4
xor ebx, ebx
jmp 0x42b7ac
cmp ebx, edi
ja 0x42b854
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00414440
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [esi + 0x38], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub edi, ebx
push edi
add eax, ebx
push eax
push dword [esi + 0x14]
call dword [0x4315a8]
test eax, eax
je 0x42b77d
mov eax, dword [ebp - 4]
jmp 0x42b84b
mov edx, dword [esi + 0x40]
lea ebx, [eax + edi]
cmp ebx, edx
jb 0x42b858
sub edx, eax
jns 0x42b7f2
xor ebx, ebx
jmp 0x42b7f8
mov ebx, edx
cmp ebx, edi
ja 0x42b854
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00414440
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [0x4315a8]
test eax, eax
je 0x42b77d
mov eax, dword [ebp + 0xc]
sub edi, ebx
cmp edi, eax
mov dword [esi + 0x40], eax
jae 0x42b831
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
add eax, ebx
push eax
call fcn.00414440
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x38], eax
add eax, ebx
pop edi
pop ebx
pop esi
leave
ret 8
xor eax, eax
jmp 0x42b84d
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00414440
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, edi
jmp 0x42b84d
push 6
push dword [esi + 0x1c]
call fcn.0042b4f1
int3
Function at 0x42b879
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
push edi
je 0x42b922
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b922
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov edi, dword [ebp + 0xc]
jne 0x42b8bd
lea ecx, [ebp + 0xc]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [0x4315ac]
test eax, eax
jne 0x42b8b6
push 0
jmp 0x42b924
cmp dword [ebp + 0xc], edi
je 0x42b8fb
jmp 0x42b8b2
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x28]
push ebx
mov ebx, dword [0x4315ac]
jb 0x42b8e2
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x42b8b2
and dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x28]
cmp edi, ecx
jb 0x42b901
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x42b8b2
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, ecx
ja 0x42b8fa
mov ecx, dword [esi + 0x30]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00414440
add esp, 0xc
add dword [esi + 0x2c], edi
jmp 0x42b8fa
push 6
push dword [esi + 0x1c]
call fcn.0042b4f1
int3

Function at 0x42b95c
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jne 0x42b99d
push 0x1000
call fcn.0042b09d
test eax, eax
je 0x42ba00
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [0x4315a8]
test eax, eax
je 0x42ba06
mov eax, dword [ebp - 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x3c]
push edi
mov edi, dword [ebp + 8]
jmp 0x42b9f4
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x40]
jb 0x42b9d8
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [0x4315a8]
test eax, eax
je 0x42ba06
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x42ba0f
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov cx, word [eax]
cmp cx, 0xd
je 0x42b9e6
mov word [edi], cx
inc edi
inc edi
inc dword [esi + 0x38]
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0xa
je 0x42b9f9
dec dword [ebp + 0xc]
jne 0x42b9a9
mov eax, dword [ebp + 8]
mov word [edi], bx
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
push dword [esi + 0x1c]
call fcn.0042b4f1
mov eax, edi
sub eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
jmp 0x42b9fc
Function at 0x42bc21
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43085d
call fcn.00414420
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00428107
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
mov dword [esi], vtable.CInternetFile.0
call fcn.004024b0
mov ebx, dword [ebp + 0x10]
push dword [ebx + 0xc]
mov ecx, 0x4431bc
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0042b37d
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00402a30
mov eax, dword [ebx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.0040c290
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00404c20
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401da0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x42bdba
Capabilities:
Connect to http server

Disassembly:
mov eax, 0x43087a
call fcn.00414420
push ecx
push esi
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push edi
call fcn.0042bd7c
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004024b0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [0x4315a0]
test eax, eax
mov dword [esi + 4], eax
jne 0x42be21
push eax
push dword [esi + 8]
call fcn.0042b4f1
push dword [esi + 0xc]
mov ecx, 0x4431bc
push eax
call fcn.0042b37d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x42ce30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x44032c]
push ebx
push esi
push edi
mov edi, dword [0x43127c]
xor ebx, ebx
push 0x433d84
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x30], eax
call dword [0x431280]
cmp eax, ebx
je 0x42ced2
call eax
mov esi, dword [0x431218]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x2c], ecx
call esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
call dword [0x431280]
call eax
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x3c], eax
push 4
xor ebx, ebx
jmp 0x42cfd4
call dword [0x43121c]
test eax, eax
jns 0x42cf82
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0x2c], ebx
call dword [0x431008]
test eax, eax
jne 0x42cfd5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x20
call dword [0x431004]
test eax, eax
jne 0x42cf77
cmp dword [ebp - 0x34], 1
jne 0x42cf77
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push 0x433cf4
push eax
call fcn.00414d08
add esp, 0xc
cmp eax, 1
jne 0x42cf77
mov eax, dword [ebp - 0x4c]
mov esi, dword [0x431218]
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
push 2
mov dword [ebp - 0x44], eax
pop esi
push dword [ebp - 0x2c]
call dword [0x431020]
jmp 0x42cfd5
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x42cfd5
lea ecx, [ebp - 0x28]
push ecx
push 0x42ce1a
push 1
push 0x10
push eax
mov dword [ebp - 0x28], ebx
call dword [0x431220]
cmp word [ebp - 0x28], bx
je 0x42cfd5
movzx eax, word [ebp - 0x28]
mov esi, dword [0x431218]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
mov dword [ebp - 0x44], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x48], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x42cffb
push dword [ebp + edi*4 - 0x48]
push dword [ebp + 8]
call fcn.0042cd9b
cmp eax, ebx
pop ecx
pop ecx
jne 0x42cffd
inc edi
cmp edi, esi
jl 0x42cfe4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004136ab
leave
ret 4
Function at 0x42d00c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x43fa80
je 0x42d0c8
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [0x431008]
test eax, eax
jne 0x42d0b0
mov esi, dword [ebx + 4]
jmp 0x42d0aa
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [0x431004]
test eax, eax
jne 0x42d09a
cmp dword [ebp - 0xc], 4
jne 0x42d09a
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x42d092
or dword [eax + 0x9c], ecx
jmp 0x42d09a
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x42d05e
push dword [ebp - 4]
call dword [0x431020]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x42d041
pop esi
push edi
call dword [0x431020]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x42d485
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4306e2
call fcn.00414420
sub esp, 0x220
mov eax, dword [0x44032c]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x228]
push ecx
push eax
push dword [ebp + 8]
call dword [section..rdata]
mov esi, eax
test esi, esi
jne 0x42d57e
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x228]
call dword [0x431010]
mov esi, eax
test esi, esi
jne 0x42d552
and dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402b70
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.0042d485
mov ecx, dword [ebp - 0x224]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401da0
test bl, bl
jne 0x42d552
or dword [ebp - 4], 0xffffffff
jmp 0x42d4c3
cmp esi, 0x103
je 0x42d562
cmp esi, 0x3f2
jne 0x42d572
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [0x43100c]
mov esi, eax
push dword [ebp - 0x228]
call dword [0x431020]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.004136ab
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x449d98
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449daf
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419044
mov eax, dword [0x44df2c]
cmp word [eax + 2], 0
jne 0x449dd7
mov eax, dword [0x44df2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b470
mov eax, dword [0x44dfd4]
cmp word [eax + 2], 0
jne 0x449df1
mov eax, dword [0x44dfd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b668
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41133c]
call fcn.004031f4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41133c]
call fcn.004031f4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b218]
call fcn.00420e60
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x449f78
mov eax, dword [0x44de54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421230
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bc18
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de54]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bf2c
test eax, eax
je 0x449ee6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004082e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf54
test eax, eax
je 0x449efa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004041cc
mov eax, dword [0x44dd58]
cmp byte [eax], 0
jne 0x449f2e
mov eax, ebx
call fcn.0044a0a0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044bdf4
mov eax, ebx
call fcn.0044c7b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449f6e
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a320
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbb0]
cmp dword [eax + 0x30], 0
je 0x44a3ca
cmp dword [ebx + 0x94], 0
jne 0x44a3c4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a2b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a3c4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a38a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a3c4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004136a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a399
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44af2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44af61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040404c
jmp 0x44af6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fb0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44bfd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c011
mov eax, esi
call fcn.0043298c
test al, al
je 0x44c011
mov eax, dword [ebx + 0x84]
call fcn.0043272c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c011
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043272c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
cmp dword [0x42ce34], 0
push esi
jne 0x406982
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40695c
mov dword [ecx*4 + 0x42ce30], eax
inc ecx
cmp ecx, 0x100
jl 0x406957
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4069b3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce30]
xor eax, esi
inc ecx
dec edx
jne 0x406995
pop edi
not eax
pop esi
ret 0xc
Function at 0x4061f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4ad5eb
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], 0x4042f4
call fcn.00406f0c
push 4
mov dword [esp + 0x18], 0
call fcn.00408370
mov edi, eax
add esp, 4
test edi, edi
je 0x406264
push ebx
call fcn.00406d07
mov dword [edi], eax
call fcn.00406ac6
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406ecd
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406258
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406ef5
pop ebx
jmp 0x406266
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 0x4089ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b0d68]
jne 0x4089f4
repz ret
jmp fcn.0040e4ec
Function at 0x4a7860
Capabilities:
Get common file path

Disassembly:
sub esp, 0xe44
cmp dword [0x83971c], 0x37
jne 0x4a78f6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push 0
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea edx, [esp + 8]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [esp + 0x644]
push ecx
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_ReplaceFileA]
mov edx, dword [0x83a710]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + esi]
mov edx, dword [0x839684]
mov byte [edx + esi], cl
add esp, 0xe44
ret
Function at 0x4a7b80
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x83971c]
sub esp, 0x43c
push ebx
push ebp
push esi
mov esi, dword [0x839684]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x4a7d97
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x4a7bb6
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0x83971c], 0x1c
jne 0x4a7bcd
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x4b12c4]
mov ebx, dword [0x4b12c0]
mov ebp, dword [0x4b12c8]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4b12cc]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], 0x20
jmp 0x4a7c16
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, dword [esp + 0x30]
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebp
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x839688], edi
mov eax, dword [esp + 0x1c]
add dword [0x839688], eax
mov eax, dword [0x839688]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, ebx
cmp dword [0x83971c], 0x1be
mov dword [esp + 0x10], eax
lea edi, [esi + ecx]
jne 0x4a7cd6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
lea edx, [esp + 0x44]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shr ecx, 5
add ecx, dword [esp + 0x2c]
cmp dword [0x83971c], 0x979
mov dword [0x839690], 0xff6b3619
mov dword [0x839694], 0xffffffff
mov dword [esp + 0x1c], ecx
jne 0x4a7d14
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
mov eax, dword [esp + 0x10]
xor eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x4a7c10
cmp dword [0x83971c], 0x8d4
jne 0x4a7d4c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0x83971c], 0x17
jne 0x4a7d86
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x48]
push ecx
push 0x403fd8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x4a7bb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret