joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4212bd
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x318
mov eax, dword [0x518450]
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 0x421446
push 0x103
lea eax, [esp + 0x1d]
mov byte [esp + 0x1c], bl
push ebx
push eax
call fcn.004bf040
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 0x421350
cmp dword [esp + 0x10], 0x100
je 0x421352
mov esi, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x421446
xor eax, eax
lea edi, [esp + 0x18]
push 0x206
mov word [esp + 0x120], ax
lea eax, [esp + 0x122]
push ebx
push eax
call fcn.004bf040
mov cl, byte [esp + 0x24]
add esp, 0xc
mov al, byte [esp + 0x19]
cmp cl, 0xff
jne 0x421396
cmp al, 0xfe
je 0x4213cf
cmp cl, 0xfe
jne 0x4213a6
cmp al, 0xff
jne 0x4213a6
xor eax, eax
jmp 0x421448
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 0x4213d4
sub esi, ecx
push ebp
push edi
sar esi, 1
call fcn.004bc4a9
pop ecx
pop ecx
test eax, eax
je 0x421446
add esi, esi
add eax, esi
cmp word [eax], 0x3d
je 0x42140c
add eax, 2
push ebp
push eax
call fcn.004bc4a9
pop ecx
pop ecx
test eax, eax
jne 0x4213f2
jmp 0x421446
add eax, 2
push 0xd
mov edx, eax
pop esi
jmp 0x421426
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x42142b
test cx, cx
je 0x42142b
add eax, 2
cmp word [eax], si
jne 0x421416
push dword [esp + 0x33c]
xor ecx, ecx
push edx
push dword [esp + 0x1c]
mov word [eax], cx
call fcn.00421a47
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.004b9a6c
add esp, 0x318
ret
Function at 0x42279d
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 + 0xb8]
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 0x4229f2
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 0x422912
Capabilities:
Check os version
Create process on windows

Disassembly:
sub esp, 0x154
mov eax, dword [0x518450]
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.004bf040
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.004bf040
add esp, 0xc
mov dword [esp + 0x10], 0x3c
cmp dword [esp + 0x50], 6
mov dword [esp + 0x14], ebp
jb 0x42299f
push 0xe94f111a
push 0xdfaac50a
push 0x9a302577
jmp 0x4229ae
push 0x590ffc20
push 0x6fea2833
push 0x2a70c840
call fcn.00401a9b
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.004b9a6c
add esp, 0x154
ret
Function at 0x422af5
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 0x422b85
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 0x422b7d
lea eax, [ebp - 8]
push eax
push 0x13
push edi
call fcn.004223ab
add esp, 0xc
test eax, eax
je 0x422b76
cmp dword [ebp - 8], 0xc8
jne 0x422b76
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 0x423644
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 0x423771
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 0x423770
cmp dword [edi + 0x2c], 0x1bb
mov ecx, 0x4a00000
push ebp
cmove esi, ecx
push esi
push 0x524a74
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 0x423764
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.00423987
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 0x423761
push dword [esp + 0x50]
push dword [esp + 0x50]
push edi
push esi
call fcn.00423987
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x423761
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 0x423c75
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.0041f2e9
mov esi, eax
test esi, esi
je 0x423cef
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 0x423cbc
mov edx, ebx
xor dword [ecx], eax
add ecx, 4
dec edx
jne 0x423cb0
mov edx, dword [esp + 0x10]
mov eax, ebx
shl eax, 2
sub edi, eax
test edi, edi
jle 0x423cdc
lea edx, [esp + 0x18]
sub edx, ecx
mov al, byte [edx + ecx]
dec edi
xor byte [ecx], al
inc ecx
test edi, edi
jg 0x423ccd
mov edx, dword [esp + 0x10]
push edx
push esi
push ebp
call fcn.00423644
push esi
call fcn.0040507c
add esp, 0x10
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x42430b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x518450]
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.004bbd58
add esp, 0xc
test eax, eax
jne 0x4243bc
lea eax, [ebp - 0x4e]
push eax
call fcn.004badc0
pop ecx
jmp 0x4243bf
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret

Function at 0x4249fc
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 0x424a3c
xor esi, dword [ecx]
add ecx, 4
rol esi, 3
inc ebx
cmp ebx, edx
jb 0x424a2f
mov edx, ebp
xor eax, eax
sub edx, ecx
cmp ecx, ebp
cmova edx, eax
test edx, edx
je 0x424a59
movzx eax, byte [ecx]
xor esi, eax
rol esi, 3
inc ecx
inc edi
cmp edi, edx
jb 0x424a4b
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4265c1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d315f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x70], 0x16
je 0x42660a
cmp dword [esi + 0x70], 0xb
je 0x42660a
xor edi, edi
push edi
push 0x8225ccb8
push 0x601c99f0
push 0x66c03775
jmp 0x42661c
xor edi, edi
push edi
push 0xe702918e
push 0x53bc4c6
push 0x3e76a75
call fcn.00401cf7
mov ecx, dword [esi + 0x5c]
add esp, 0xc
push eax
call fcn.0044572d
test eax, eax
jne 0x426651
mov dword [esi + 0x74], 1
mov al, byte [esi + 0x26]
mov byte [esi + 0x78], al
mov al, byte [esi + 0x30]
mov byte [esi + 0x79], al
mov al, byte [esi + 0x31]
mov byte [esi + 0x7a], al
xor al, al
jmp 0x42674d
mov ebx, dword [eax]
mov ebp, edi
mov dword [esp + 0x14], ebp
jmp 0x426733
cmp byte [ebx + 0xc], 0
jne 0x426730
lea ebp, [ebx + 0x38]
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x42666e
sub ebp, ecx
cmp ebp, 5
jbe 0x42672c
push 5
push 0xb4da9e4d
push 0x56e3cb0f
push 0x503f6598
call fcn.00401cf7
add esp, 0xc
push eax
lea eax, [ebp + 0x33]
add eax, ebx
push eax
call fcn.004bc213
add esp, 0xc
test eax, eax
jne 0x42672c
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], edi
push eax
push ebx
call fcn.0044555c
mov ebp, dword [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edi
pop ecx
pop ecx
test eax, eax
je 0x426717
mov ecx, dword [esp + 0x28]
mov ebx, eax
push ebp
push edx
push dword [ecx + edi*8 + 4]
push dword [ecx + edi*8]
mov ecx, esi
call fcn.00424c5b
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
inc edx
mov eax, dword [ecx + edi*8 + 4]
sub eax, dword [ecx + edi*8]
add edx, eax
inc edi
mov dword [esp + 0x18], edx
cmp edi, ebx
jb 0x4266e6
mov ebx, dword [esp + 0x1c]
xor edi, edi
or dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x28]
inc ebp
mov dword [esp + 0x14], ebp
call fcn.0040ab0c
jmp 0x426730
mov ebp, dword [esp + 0x14]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x42665e
xor eax, eax
mov word [esi + 0x1ee], bp
test ebp, ebp
setne al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x427bb4
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xdcad2c65
push 0x1e0fe45a
push 0x5e1366d6
mov esi, eax
call fcn.00401ddd
add esp, 0xc
push eax
lea eax, [ebp - 0x7c]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x7c]
lea ecx, [ecx + eax*2]
mov eax, dword [ebp + 0x198]
movzx eax, al
mov word [ecx], ax
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [ebp + 0x19c]
sub eax, esi
je 0x427c66
dec eax
je 0x427c54
dec eax
jne 0x427c4f
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x80]
jmp 0x427c7d
push esi
push 0x4000000
push 3
push esi
push 5
push 0x80000000
jmp 0x427c73
push esi
push 2
push 2
push esi
push 3
push 0xc0000000
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
pop esi
call fcn.004b9a6c
lea esp, [ebp + 0x190]
pop ebp
ret
Function at 0x4284f2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x118
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
xor ebx, ebx
push edi
push 0x3000
push ebx
mov ebp, ecx
mov byte [esp + 0x1b], bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x42853d
xor al, al
jmp 0x42868b
mov ecx, dword [ebp + 0x5c]
lea eax, [esp + 0x20]
push eax
push 0x1800
push edi
push ebx
push ebx
push esi
call fcn.00446d2d
test al, al
je 0x428682
cmp byte [ebp + 0x81], bl
je 0x428575
push 3
lea eax, [ebp + 0x1dc]
push edi
push eax
call fcn.0042c11b
add esp, 0xc
mov ecx, 0x4fbe78
mov al, bl
mov dword [esp + 0x1c], ecx
movzx esi, byte [ecx]
xor esi, 0x4b
je 0x42867c
mov eax, esi
lea edi, [ecx + 1]
shl eax, 4
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004be9f0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jle 0x4285cd
lea ecx, [eax - 1]
lea edx, [esp + 0x24]
shr ecx, 1
sub edx, edi
inc ecx
mov eax, 0x552
xor ax, word [edi]
mov word [edx + edi], ax
lea edi, [edi + 2]
dec ecx
jne 0x4285bb
mov edi, ebx
test esi, esi
jle 0x428661
mov ecx, dword [esp + 0x14]
mov eax, ebx
lea edx, [ecx + 0x1800]
add eax, eax
push ebx
lea eax, [esp + eax*8 + 0x28]
push eax
push 0x1800
push edx
push ecx
mov ecx, ebp
call fcn.0042c49e
cmp eax, 0x1f
je 0x428612
mov ecx, dword [esp + 0x14]
inc edi
movzx eax, di
lea edx, [ecx + 0x1800]
cmp eax, esi
jl 0x4285e3
jmp 0x428661
movzx eax, si
shl eax, 4
push eax
mov word [ebp + 0x1ec], si
call fcn.00405090
mov dword [ebp + 0x1d8], eax
mov edx, ebx
xor eax, eax
pop ecx
cmp ax, word [ebp + 0x1ec]
jae 0x42865c
mov ecx, ebx
mov edi, dword [ebp + 0x1d8]
lea esi, [esp + 0x24]
add esi, ecx
add edi, ecx
inc edx
add ecx, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx eax, word [ebp + 0x1ec]
cmp edx, eax
jb 0x42863b
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ecx
add ecx, eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x1c], ecx
test al, al
je 0x428580
mov edi, dword [esp + 0x14]
mov bl, al
push edi
call fcn.0040507c
pop ecx
mov al, bl
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x118
ret 4
Function at 0x4289d7
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x278
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x274], eax
mov eax, dword [esp + 0x27c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x28c]
mov ebx, ecx
push edi
mov dword [esp + 0x18], eax
call fcn.0040671b
mov esi, eax
mov eax, 0x100
movzx edx, byte [edi + esi]
movzx ecx, byte [edi + esi + 1]
imul dx, ax
add dx, cx
movzx eax, dx
shl eax, 4
push eax
mov word [ebx + 0x1ec], dx
call fcn.00405090
mov dword [ebx + 0x1d8], eax
pop ecx
pop ecx
test eax, eax
jne 0x428a45
xor al, al
jmp 0x428bad
xor eax, eax
add esi, 0x10
push ebp
cmp ax, word [ebx + 0x1ec]
jae 0x428baa
and dword [esp + 0x10], eax
xor ebp, ebp
inc ebp
lea eax, [edi + esi]
push dword [esp + 0x18]
lea esi, [eax + 0x20]
add eax, 0x30
lea edi, [esp + 0x228]
mov dword [esp + 0x18], eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x24]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00439f75
mov eax, dword [ebx + 0x1d8]
mov edi, dword [esp + 0x18]
add eax, edi
push eax
lea eax, [esp + 0x230]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004383f8
mov eax, dword [ebx + 0x70]
add esp, 0x14
cmp eax, 0x16
je 0x428ac2
cmp eax, 0x15
je 0x428abd
cmp eax, 0xb
jne 0x428b87
cmp eax, 0x16
jne 0x428ad4
push ebp
push 0x52661059
push 0x90c4d872
push 0xd0d85b42
jmp 0x428b00
cmp eax, 0x15
jne 0x428aeb
push ebp
push 0xbbc9c187
push 0x796b09a9
push 0x39778af9
jmp 0x428b00
cmp eax, 0xb
jne 0x428b19
push ebp
push 0x4dc1b732
push 0x8f637f24
push 0xcf7ffc4e
call fcn.00401daa
add esp, 0xc
push eax
lea eax, [esp + 0x24c]
push eax
call fcn.004bad3c
add esp, 0xc
mov ecx, dword [ebx + 0x5c]
lea eax, [esp + 0x244]
push 0
push eax
call fcn.0044572d
test eax, eax
je 0x428b87
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00446f99
mov esi, eax
test esi, esi
je 0x428ba6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x428ba6
lea eax, [esp + 0x234]
push eax
xor eax, eax
shld eax, ecx, 3
push eax
shl ecx, 3
push ecx
push esi
call fcn.0042c804
push esi
call fcn.0040507c
add esp, 0x14
xor edx, edx
mov ecx, dword [ebx + 0x1d8]
mov al, byte [esp + edx + 0x234]
add ecx, edi
xor byte [ecx + edx], al
inc edx
cmp edx, 0x10
jl 0x428b6f
movzx eax, word [ebx + 0x1ec]
inc ebp
add edi, 0x10
mov dword [esp + 0x10], edi
lea ecx, [ebp - 1]
cmp ecx, eax
jae 0x428baa
mov eax, dword [esp + 0x14]
jmp 0x428a62
xor al, al
jmp 0x428bac
mov al, 1
pop ebp
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x278
ret 8
Function at 0x428bc7
Capabilities:
Create directory
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebp, ecx
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xeae0f93e
push 0x28423101
push 0x685eb5b3
mov esi, eax
call fcn.00401ddd
add esp, 0xc
push eax
lea eax, [edi + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [edi + eax*2]
movzx eax, byte [ebx + ebp + 0x21c]
push eax
push 0x70ed9366
push 0xb24f5b55
push 0xf253df93
call fcn.00401ddd
add esp, 0xc
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
add esi, 4
inc ebx
cmp ebx, 8
jl 0x428c15
push 0x2e
pop eax
push 0x74
pop ecx
mov word [esi], ax
push 0x78
pop eax
mov word [esi + 2], cx
mov word [esi + 4], ax
xor eax, eax
pop edi
mov word [esi + 6], cx
mov word [esi + 8], ax
mov al, 1
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42c28c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
mov al, byte [edx + esi]
xor al, byte [ecx + edx + 0x20c]
mov byte [ecx + edx + 0x1f8], al
inc edx
cmp edx, 0x10
jl 0x42c293
or dword [ecx + 0x1c8], 0x4000
pop esi
ret 4

Function at 0x42c49e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
mov edi, dword [esp + 0x220]
xor esi, esi
mov dword [esp + 0xc], ecx
mov ecx, 0xc0
test byte [edi], cl
je 0x42c5f5
push ebx
lea ecx, [esp + 0x108]
mov dword [esp + 0x1fc], 0xddf8a00b
push ecx
push eax
mov dword [esp + 0x208], 0xb31fa6fe
mov dword [esp + 0x20c], 0x569fdfd8
mov dword [esp + 0x210], 0x780f056a
call fcn.00473d11
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x218]
push eax
push edi
call fcn.00402980
mov ebx, edi
lea eax, [esp + 0x220]
add esp, 0x14
mov edx, esi
sub ebx, eax
lea ecx, [esp + 0x20c]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jl 0x42c53e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x210]
push eax
call fcn.00473c35
mov ebx, dword [esp + 0x234]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x208]
push eax
lea eax, [ebx - 0x10]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0047398e
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp dword [eax + 0x22c], esi
jbe 0x42c5d0
mov edi, esi
test ebx, ebx
jle 0x42c5d0
mov esi, eax
mov eax, edi
sar eax, 0xb
add eax, dword [esp + 0x234]
push 0x800
push eax
push dword [esi + 0x228]
lea eax, [edi + ebp]
push eax
call fcn.00435cf4
add edi, 0x800
add esp, 0x10
cmp edi, ebx
jl 0x42c5a0
xor esi, esi
mov eax, ebx
mov edi, 0xc0
cdq
idiv edi
xor edx, edx
inc edx
pop ebx
cmp eax, edx
jle 0x42c5f5
lea ecx, [ebp + 0xc4]
cmp byte [ecx], 0x47
jne 0x42c5f5
inc esi
add ecx, edi
inc edx
cmp edx, eax
jl 0x42c5e8
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004b9a6c
add esp, 0x210
ret 0x14

Function at 0x42c750
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push esi
push edi
push dword [esp + 0x14]
call fcn.0042c6b8
add esp, 0xc
sub edi, esi
push 4
pop ecx
mov eax, dword [edi + esi]
xor dword [esi], eax
lea esi, [esi + 4]
dec ecx
jne 0x42c76d
pop edi
pop esi
ret