joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417302
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
movzx eax, word [ecx + str._SELECT_]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x226], ax
test ax, ax
jne 0x417317
push esi
lea eax, [ebp - 0x214]
mov esi, str.keydb.db
push eax
call fcn.0042c47c
pop ecx
sub eax, esi
movzx ecx, word [esi]
mov word [eax + esi], cx
lea esi, [esi + 2]
test cx, cx
jne 0x417343
push 1
push 0
lea eax, [ebp - 0x224]
push eax
push str.explorer
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b94b6
mov esp, ebp
pop ebp
ret

Function at 0x41895f
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x16c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, ecx
push 0x33
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
mov dword [esp + 0x14], 0x30
push 0xa
xor eax, eax
mov dword [esp + 0x1c], 0x43
pop ecx
lea edi, [esp + 0x1c]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
inc esi
mov dword [esp + 0x38], eax
cmp esi, 0xc
je 0x4189f9
mov ecx, dword [esi*4 + 0x522da0]
lea edx, [esp + 0x70]
push 0x80
and ecx, 0x3f
call fcn.004163b0
mov eax, dword [esi*4 + 0x522da0]
shr eax, 9
and eax, 8
mov dword [esp + 0x28], esi
pop ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 1
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
inc esi
cmp esi, 0x15
jb 0x4189b6
call dword [sym.imp.USER32.dll_GetMessagePos]
xor edi, edi
mov ecx, eax
push edi
push dword [esp + 0x14]
shr ecx, 0x10
push edi
movsx ecx, cx
push ecx
cwde
push eax
push 0x180
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_DestroyMenu]
test esi, esi
jle 0x418ae1
cmp esi, 0x15
ja 0x418ae1
mov ebx, edi
mov eax, edi
mov ecx, 0x1000
test esi, esi
jle 0x418a5a
test dword [eax*4 + 0x522da0], ecx
je 0x418a55
inc ebx
inc eax
cmp eax, esi
jl 0x418a4b
mov eax, dword [esi*4 + 0x522da0]
mov edx, eax
not edx
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esi*4 + 0x522da0], edx
test ecx, edx
je 0x418ad3
push 0xa
xor eax, eax
lea edi, [esp + 0x4c]
pop ecx
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x44], 0xe
shr edx, 0xd
lea eax, [esp + 0x70]
and edx, 0x1ffff
mov dword [esp + 0x50], eax
and ecx, 0x3f
mov dword [esp + 0x4c], edx
push 0x80
mov edx, eax
mov dword [esp + 0x5c], ecx
call fcn.004163b0
pop ecx
lea eax, [esp + 0x44]
push eax
push ebx
push 0x1061
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x10]
mov edx, ebp
call fcn.00416d45
jmp 0x418ae1
push edi
push ebx
push 0x101c
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x16c
ret
Function at 0x41b482
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push ecx
push 0xcf9602c7
mov edx, 0x20bd638
mov ecx, 0x57c8ffe6
call fcn.0040180b
pop ecx
push eax
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x40
xor esi, esi
lea eax, [ebp - 0x2e4]
xorps xmm0, xmm0
push esi
push eax
movdqu xmmword [ebp - 0x2a0], xmm0
call fcn.004bea90
add esp, 0x18
mov dword [ebp - 0x2e8], 0x44
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2dc], esi
xor ebx, ebx
inc ebx
push eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2bc], ebx
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x290]
mov word [ebp - 0x2b8], bx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x41b536
push dword [ebp - 0x2a0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x29c]
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004b94b6
mov esp, ebp
pop ebp
ret
Function at 0x41c6a9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, edx
push edi
mov edi, ecx
push 0x33
push edi
call esi
push 0x35
push edi
mov dword [0x529ab0], eax
call esi
mov dword [0x529ab4], eax
mov eax, dword [ebp + 8]
push 0x20c
mov dword [0x529ab8], eax
call fcn.004b9c6e
mov esi, eax
pop ecx
mov ecx, dword [0x529ab8]
mov dword [esi], ecx
lea ecx, [esi + 4]
sub ecx, ebx
movzx eax, word [ebx]
mov word [ecx + ebx], ax
lea ebx, [ebx + 2]
test ax, ax
jne 0x41c6ef
xor edi, edi
cmp word [esi + 4], di
je 0x41c723
call fcn.00406343
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x4062ab
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x529b40], eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41f7d7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f7ed
shr eax, 4
and eax, 1
ret
xor al, al
ret

Function at 0x41f88a
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x25c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x258], eax
mov eax, dword [esp + 0x264]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x270]
mov bl, 1
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x27c]
xor ebp, ebp
mov dword [esp + 0x10], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x41f8c8
sub ecx, edx
sar ecx, 1
push 0x2a
pop eax
lea esi, [edi + ecx*2]
mov word [esi], ax
xor eax, eax
mov word [esi + 2], ax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41fa1c
push 0x2e
pop eax
test byte [esp + 0x18], 0x10
je 0x41f9a4
cmp byte [esp + 0x278], 0
je 0x41f9fa
cmp word [esp + 0x44], ax
jne 0x41f93f
cmp word [esp + 0x46], 0
je 0x41f9fe
cmp word [esp + 0x46], ax
jne 0x41f93f
cmp word [esp + 0x48], 0
je 0x41f9fe
lea ecx, [esp + 0x44]
mov edx, esi
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x41f949
mov ecx, esi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41f95f
push 0x5c
pop eax
push dword [esp + 0x284]
sub ecx, edx
push dword [esp + 0x284]
sar ecx, 1
push dword [esp + 0x18]
push dword [esp + 0x284]
mov word [esi + ecx*2], ax
xor eax, eax
push dword [esp + 0x24]
mov word [esi + ecx*2 + 2], ax
push edi
call fcn.0041f88a
add esp, 0x18
jmp 0x41f9f3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41f9bb
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0041fa62
pop ecx
pop ecx
jmp 0x41f9be
xor eax, eax
inc eax
test eax, eax
je 0x41f9fa
lea ecx, [esp + 0x44]
mov edx, esi
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x41f9cc
push dword [esp + 0x284]
lea eax, [esp + 0x1c]
push dword [esp + 0x284]
push edi
push eax
call dword [esp + 0x20]
mov bl, al
xor eax, eax
mov word [esi], ax
test bl, bl
je 0x41fa15
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41f900
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x268]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x25c
ret

Function at 0x41fa37
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x41fa4a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret
Function at 0x41fd08
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0xffffffff
jne 0x41fd14
xor eax, eax
jmp 0x41fd5c
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
test esi, esi
je 0x41fd57
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0
push eax
mov eax, 0x400
cmp esi, eax
cmovb eax, esi
push eax
push ebp
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41fd57
add ebp, dword [esp + 0x14]
add edi, dword [esp + 0x14]
sub esi, dword [esp + 0x14]
jne 0x41fd25
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4201b0
Capabilities:
Clear file content

Disassembly:
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.004bf1c3
push dword [esp + 0x10]
call fcn.004beef4
push eax
call fcn.004bf982
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov al, 1
ret

Function at 0x420285
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp + 0x94], eax
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x78]
push 0x10c
push 0
push eax
mov dword [ebp - 0x80], 0x114
call fcn.004bea90
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x94]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004b94b6
lea esp, [ebp + 0x98]
pop ebp
ret

Function at 0x4202e4
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4202f7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
push 0x38
push 0
push eax
call fcn.004bea90
mov eax, dword [ebp + 0x14]
add esp, 0xc
neg eax
mov dword [ebp - 0x40], 0x3c
sbb eax, eax
and eax, 0x40
mov dword [ebp - 0x3c], eax
call fcn.00420285
test eax, eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp + 8]
mov edx, str.open
mov dword [ebp - 0x30], eax
mov ecx, str.runas
mov eax, dword [ebp + 0xc]
cmove ecx, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x14], 0
je 0x420390
test eax, eax
je 0x420390
cmp dword [ebp - 0x20], 0x20
jle 0x420390
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4206db
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x570
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x56c], eax
push ebx
mov ebx, dword [esp + 0x578]
lea eax, [esp + 0x368]
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
push eax
mov dword [esp + 0x14], ebx
inc ebp
call fcn.004209c1
pop ecx
push dword [0x529b18]
mov edi, eax
push 0xde4b1c86
push 0x77f4da4f
push 0xec34e366
call fcn.0040182e
add esp, 0xc
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x41e0fb24
push 0xe85f3def
push 0x739f04ec
call fcn.0040182e
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x18
push eax
xor eax, eax
push eax
push 0x143
push ebx
call esi
push 0x554e45
push eax
push 0x151
push ebx
call esi
xor eax, eax
push eax
push eax
push 0x14e
push ebx
call esi
xor eax, eax
push 0x24c
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
call fcn.004bea90
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x378]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
je 0x42091a
or dword [esp + 0x14], 0xffffffff
test byte [esp + 0x24], 0x10
jne 0x4208ff
lea eax, [esp + 0x50]
push 0x5f
push eax
call fcn.004bbafd
pop ecx
pop ecx
test eax, eax
je 0x4208ff
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [0x529b18]
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x4207f5
sub esi, ecx
sar esi, 1
cmp word [edi + esi*2], 0x45
jne 0x42081f
cmp word [edi + esi*2 + 2], 0x4e
jne 0x42081f
cmp word [edi + esi*2 + 4], 0x55
je 0x4208fb
lea eax, [esp + 0x374]
push eax
push 0x80
lea eax, [esp + 0x27c]
push eax
push 0x8648239c
push 0x2ff7e55e
push 0xb437dcb7
call fcn.0040182e
add esp, 0xc
push eax
push 0xe676f664
push 0x4fc930a2
push 0xd409095f
call fcn.0040182e
add esp, 0xc
push eax
push 0xb1a51fe1
push 0x181ad927
push 0x83dae0d6
call fcn.0040182e
add esp, 0xc
push eax
call fcn.00420e8e
add esp, 0x18
lea eax, [esp + 0x274]
push eax
xor eax, eax
push eax
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ebx, byte [edi + esi*2 + 4]
mov ecx, eax
movzx eax, byte [edi + esi*2 + 2]
shl ebx, 8
or ebx, eax
mov dword [esp + 0x20], ecx
movzx eax, byte [edi + esi*2]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl ebx, 8
or ebx, eax
push ebx
push ecx
push 0x151
push dword [esp + 0x1c]
call esi
cmp dword [esp + 0x14], 0xffffffff
jne 0x4208f6
mov eax, dword [esp + 0x1c]
cmp ebx, dword [eax + 4]
mov ebx, dword [esp + 0x10]
jne 0x4208fa
mov eax, dword [esp + 0x20]
xor ecx, ecx
push ecx
push eax
push 0x14e
push ebx
mov dword [esp + 0x24], eax
call esi
jmp 0x4208fa
mov ebx, dword [esp + 0x10]
inc ebp
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4207bd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x57c]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x570
ret 4
Function at 0x420e8e
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x318
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x314], eax
mov eax, dword [esp + 0x328]
push ebx
push ebp
mov ebp, dword [esp + 0x328]
xor ebx, ebx
push esi
push edi
push ebx
push 0x80
push 3
push ebx
xor esi, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x350]
inc esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x421017
push 0x103
lea eax, [esp + 0x1d]
mov byte [esp + 0x1c], bl
push ebx
push eax
call fcn.004bea90
add esp, 0xc
lea eax, [esp + 0x10]
push ebx
push eax
push 0x100
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420f21
cmp dword [esp + 0x10], 0x100
je 0x420f23
mov esi, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x421017
xor eax, eax
lea edi, [esp + 0x18]
push 0x206
mov word [esp + 0x120], ax
lea eax, [esp + 0x122]
push ebx
push eax
call fcn.004bea90
mov cl, byte [esp + 0x24]
add esp, 0xc
mov al, byte [esp + 0x19]
cmp cl, 0xff
jne 0x420f67
cmp al, 0xfe
je 0x420fa0
cmp cl, 0xfe
jne 0x420f77
cmp al, 0xff
jne 0x420f77
xor eax, eax
jmp 0x421019
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x120]
push eax
push ecx
lea eax, [esp + 0x24]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [esp + 0x11c]
mov esi, ebp
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x420fa5
sub esi, ecx
push ebp
push edi
sar esi, 1
call fcn.004bbef9
pop ecx
pop ecx
test eax, eax
je 0x421017
add esi, esi
add eax, esi
cmp word [eax], 0x3d
je 0x420fdd
add eax, 2
push ebp
push eax
call fcn.004bbef9
pop ecx
pop ecx
test eax, eax
jne 0x420fc3
jmp 0x421017
add eax, 2
push 0xd
mov edx, eax
pop esi
jmp 0x420ff7
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x420ffc
test cx, cx
je 0x420ffc
add eax, 2
cmp word [eax], si
jne 0x420fe7
push dword [esp + 0x33c]
xor ecx, ecx
push edx
push dword [esp + 0x1c]
mov word [eax], cx
call fcn.00421621
add esp, 0xc
mov ebx, eax
mov eax, ebx
mov ecx, dword [esp + 0x324]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x318
ret
Function at 0x422334
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [ebp + 0xb0]
push 0
push 8
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 7
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 6
push ebx
call edi
push eax
call esi
push 1
push 9
push ebx
call edi
push eax
call esi
push 1
push 0x34
push ebx
call edi
push eax
call esi
lea eax, [esp + 0x14]
push eax
xor eax, eax
push eax
push ebp
push 0x42257f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42249f
Capabilities:
Check os version
Create process on windows

Disassembly:
sub esp, 0x154
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
mov ebx, dword [esp + 0x164]
lea eax, [esp + 0x48]
push ebp
push esi
mov esi, dword [esp + 0x164]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x16c]
push 0x10c
push ebp
push eax
mov dword [esp + 0x58], 0x114
mov dword [esp + 0x5c], ebp
call fcn.004bea90
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x38
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.004bea90
add esp, 0xc
mov dword [esp + 0x10], 0x3c
cmp dword [esp + 0x50], 6
mov dword [esp + 0x14], ebp
jb 0x42252c
push 0x544c59b3
push 0xcabfe6a0
push 0xf880622c
jmp 0x42253b
push 0xc960152e
push 0x5793aa3e
push 0x65ac2e80
call fcn.004018f7
add esp, 0xc
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
push eax
mov dword [esp + 0x30], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x154
ret
Function at 0x422682
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
xor ecx, ecx
push ebx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [eax], ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x422712
push edi
xor eax, eax
push eax
push 0x4080300
push eax
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x42270a
lea eax, [ebp - 8]
push eax
push 0x13
push edi
call fcn.00421f42
add esp, 0xc
test eax, eax
je 0x422703
cmp dword [ebp - 8], 0xc8
jne 0x422703
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov byte [eax + esi], 0
mov eax, dword [ebp - 4]
mov dword [ecx], eax
pop esi
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4231d3
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, 0x4200000
push ebp
push ebp
push ebp
push ebp
push str.bugrpt
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x423300
push edi
mov edi, dword [esp + 0x48]
push ebp
push ebp
push 3
movzx eax, word [edi + 0x2c]
push ebp
push ebp
push eax
push dword [edi + 0x24]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4232ff
cmp dword [edi + 0x2c], 0x1bb
mov ecx, 0x4a00000
push ebp
cmove esi, ecx
push esi
push 0x523ab4
push ebp
push ebp
push dword [edi + 0x28]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
test esi, esi
je 0x4232f3
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x493e0
push eax
push 6
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push dword [esp + 0x50]
xor eax, eax
push eax
push edi
push eax
call fcn.00423516
xor ecx, ecx
mov dword [esp + 0x24], eax
add esp, 0x10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], str.Content_type:_multipart_form_data__boundaryAaBbCc
push ecx
push ecx
push ecx
push eax
push esi
mov dword [esp + 0x3c], 0x32
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
je 0x4232f0
push dword [esp + 0x50]
push dword [esp + 0x50]
push edi
push esi
call fcn.00423516
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x4232f0
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push esi
call ebp
push dword [esp + 0x18]
call ebp
push ebx
call ebp
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x423804
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
lea eax, [esp + 4]
push esi
push eax
mov ecx, dword [ebp + 0xa4]
call fcn.0041eea2
mov esi, eax
test esi, esi
je 0x42387e
mov edx, dword [esp + 8]
mov ecx, esi
push ebx
shl eax, 8
mov ebx, edx
add eax, edx
shr ebx, 2
mov dword [esp + 0x14], eax
push edi
mov edi, edx
test ebx, ebx
je 0x42384b
mov edx, ebx
xor dword [ecx], eax
add ecx, 4
dec edx
jne 0x42383f
mov edx, dword [esp + 0x10]
mov eax, ebx
shl eax, 2
sub edi, eax
test edi, edi
jle 0x42386b
lea edx, [esp + 0x18]
sub edx, ecx
mov al, byte [edx + ecx]
dec edi
xor byte [ecx], al
inc ecx
test edi, edi
jg 0x42385c
mov edx, dword [esp + 0x10]
push edx
push esi
push ebp
call fcn.004231d3
push esi
call fcn.00404d44
add esp, 0x10
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x423e9a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x3a
mov word [ebp - 0x28], ax
pop eax
mov word [ebp - 0x26], ax
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x68]
push 0x20
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x5c
pop edx
push 0x44
pop eax
push 0x65
pop ecx
push 0x76
mov word [ebp - 0x1e], ax
pop eax
push 0x69
mov word [ebp - 0x1a], ax
pop eax
push 0x63
mov word [ebp - 0x18], ax
pop eax
push 0x43
mov word [ebp - 0x16], ax
pop eax
push 0x64
mov word [ebp - 0x10], ax
pop eax
push 0x52
mov word [ebp - 0xe], ax
pop eax
push 0x6f
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x6d
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20]
push 0xd
push eax
lea eax, [ebp - 0x68]
mov word [ebp - 0x20], dx
push eax
mov word [ebp - 0x1c], cx
mov word [ebp - 0x14], cx
mov word [ebp - 0x12], dx
call fcn.004bb7a8
add esp, 0xc
test eax, eax
jne 0x423f4b
lea eax, [ebp - 0x4e]
push eax
call fcn.004ba810
pop ecx
jmp 0x423f4e
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b94b6
mov esp, ebp
pop ebp
ret

Function at 0x424507
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
lea ebp, [ecx + eax]
and eax, 0xfffffffc
add eax, ecx
mov edx, eax
sub edx, ecx
push edi
xor edi, edi
add edx, 3
mov ebx, edi
shr edx, 2
and dword [esp + 0x14], ebx
mov esi, edi
cmp ecx, eax
cmova edx, dword [esp + 0x14]
test edx, edx
je 0x424547
xor esi, dword [ecx]
add ecx, 4
rol esi, 3
inc ebx
cmp ebx, edx
jb 0x42453a
mov edx, ebp
xor eax, eax
sub edx, ecx
cmp ecx, ebp
cmova edx, eax
test edx, edx
je 0x424564
movzx eax, byte [ecx]
xor esi, eax
rol esi, 3
inc ecx
inc edi
cmp edi, edx
jb 0x424556
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret