joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5125a8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e40
xor eax, eax
push ebp
push 0x51272b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00403e50
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5126e5
mov eax, dword [ebp - 8]
call fcn.004026a8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x5126de
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x51268b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00402b14
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x512651
mov eax, dword [ebp - 0x10]
push 1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea ecx, [edx + 0x248]
movzx edx, word [eax]
mov eax, dword [ebp - 0x10]
call fcn.0058ab68
jmp 0x512681
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0x94]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x248]
mov eax, dword [eax + 0x154]
mov edx, 0x512744
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5126c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512715
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004026c0
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0x94]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x248]
mov eax, dword [eax + 0x154]
mov edx, 0x51278c
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512732
lea eax, [ebp - 4]
call fcn.00403a10
ret
Function at 0x52a6fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, edx
test cl, cl
je 0x52a711
mov eax, dword [eax + 0x3fc]
call fcn.00448c0c
test bl, bl
je 0x52a733
mov eax, dword [0x5be818]
cmp dword [eax], 0
je 0x52a733
push 0
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
mov ebx, dword [0x5c04c8]
dec ebx
test ebx, ebx
jl 0x52a777
inc ebx
xor esi, esi
lea ebp, [esi + esi*2]
mov eax, dword [0x5c0548]
mov edi, dword [eax + ebp*8]
test edi, edi
je 0x52a773
lea eax, [esi + esi*2]
mov edx, dword [0x5c0548]
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x52a773
push 0
mov eax, dword [0x5c0548]
mov eax, dword [eax + ebp*8]
push eax
call sub.user32.dll_ShowWindow
inc esi
dec ebx
jne 0x52a741
mov esi, 2
mov ebx, 0x5c0564
mov edi, dword [ebx]
test edi, edi
je 0x52a79b
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x52a79b
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_ShowWindow
add ebx, 0x18
dec esi
jne 0x52a781
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53b7fc
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [0x5be818]
cmp dword [edx], 0
je 0x53b88c
mov eax, dword [eax + 0x5e8]
cmp byte [eax + 0xc0], 0
je 0x53b830
push 0
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
jmp 0x53b88c
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x53b85c
push 8
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
jmp 0x53b87c
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.004300a4
push 4
mov eax, dword [0x5be818]
mov eax, dword [eax]
call fcn.00425dd0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5bffd8]
call fcn.00425dd0
push eax
call sub.user32.dll_SetForegroundWindow
ret
Function at 0x5669d8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jle 0x566a1c
pushal
mov esi, dword [ebp - 4]
mov edi, 0x5bd0b4
mov ecx, dword [ebp - 8]
mov edx, 0xffffffff
cld
xor eax, eax
lodsb al, byte [esi]
xor eax, edx
and eax, 0xff
mov eax, dword [edi + eax]
shr edx, 8
and edx, 0xffffff
xor edx, eax
loop 0x5669fc
mov dword [ebp - 0xc], edx
popal
jmp 0x566a21
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x566a28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, 0x3fff
mov eax, 0x5c09b0
xor ecx, ecx
mov edx, ebx
call fcn.00402b14
xor edx, edx
push ebp
push 0x566a9f
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
jl 0x566a95
inc ebx
push esi
mov esi, 0x5c09b0
mov edx, dword [0x5bd574]
xor edx, 0xf455ff
xor esi, edx
mov eax, dword [ebp - 4]
or eax, 2
mov edx, eax
xor edx, 1
mul dx
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 4]
shr ecx, 2
mov byte [esi + ecx], al
add dword [ebp - 4], 4
pop esi
dec ebx
jne 0x566a5a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x566aa9
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x56de04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x56dfd1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3d]
xor ecx, ecx
mov edx, 0x21
call fcn.00402b14
lea eax, [ebp - 0x5e]
xor ecx, ecx
mov edx, 0x21
call fcn.00402b14
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3d]
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x2c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x5e]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x1ff
pushal
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor edx, edx
mov ebx, 0x3617e418
mov eax, ebx
xor byte [esi + edx], al
ror ebx, 1
xor ebx, 0xa5a5a5a5
inc edx
dec ecx
jne 0x56de7c
popal
lea edx, [ebp - 0x3d]
lea eax, [ebx + 0x2c]
mov ecx, 0x20
call fcn.004027e0
pushal
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov eax, dword [edi]
xor eax, dword [edi + 4]
mov ebx, dword [edi + 8]
xor ebx, dword [edi + 0xc]
mov eax, 0x3617e418
xor dword [edi], eax
mov eax, 0xa935fc2e
xor dword [edi + 4], eax
mov eax, 0x57d872b9
xor dword [edi + 8], eax
mov eax, 0x493db437
xor dword [edi + 0xc], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0xc]
mov eax, 0x3617e418
xor dword [edi], eax
mov eax, 0xa935fc2e
xor dword [edi + 4], eax
mov eax, 0x57d872b9
xor dword [edi + 8], eax
mov eax, 0x493db437
xor dword [edi + 0xc], eax
mov eax, dword [edi]
xor eax, dword [edi + 4]
mov ebx, dword [edi + 8]
xor ebx, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
popal
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
jne 0x56df96
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jne 0x56df96
mov eax, 0x5bd4c8
lea edx, [ebp - 0x5e]
mov ecx, 0x21
call fcn.00403c3c
lea ecx, [ebp - 0x64]
mov edx, 8
mov eax, dword [ebp - 0x1c]
call fcn.0040746c
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x68]
mov edx, 8
mov eax, dword [ebp - 0x18]
call fcn.0040746c
mov edx, dword [ebp - 0x68]
mov eax, 0x5bd4cc
pop ecx
call fcn.00403cd8
jmp 0x56dfb6
mov eax, 0x5bd4c8
mov edx, dword [0x5bd4d8]
call fcn.00403a64
mov eax, 0x5bd4cc
mov edx, dword [0x5bd4e4]
call fcn.00403a64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56dfd8
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00403a34
ret
Function at 0x57dc50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x57dced
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x23
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00403c3c
cmp dword [ebx], 0
jne 0x57dcb8
mov eax, ebx
mov edx, dword [0x5bdd74]
call fcn.00403aa8
jmp 0x57dcd4
lea edx, [ebp - 0x110]
mov eax, dword [ebx]
call fcn.0057dbd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, esi
call fcn.00403cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57dcf4
lea eax, [ebp - 0x110]
call fcn.00403a10
ret

Function at 0x57dcfc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x57dd99
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00403c3c
cmp dword [ebx], 0
jne 0x57dd64
mov eax, ebx
mov edx, dword [0x5bdd74]
call fcn.00403aa8
jmp 0x57dd80
lea edx, [ebp - 0x110]
mov eax, dword [ebx]
call fcn.0057dbd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, esi
call fcn.00403cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57dda0
lea eax, [ebp - 0x110]
call fcn.00403a10
ret

Function at 0x57dda8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x57de45
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00403c3c
cmp dword [ebx], 0
jne 0x57de10
mov eax, ebx
mov edx, dword [0x5bdd74]
call fcn.00403aa8
jmp 0x57de2c
lea edx, [ebp - 0x110]
mov eax, dword [ebx]
call fcn.0057dbd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, esi
call fcn.00403cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57de4c
lea eax, [ebp - 0x110]
call fcn.00403a10
ret
Function at 0x57e8a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57e976
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403aa8
lea eax, [ebp - 8]
call fcn.00403e5c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00403e50
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x57e960
mov eax, ebx
call fcn.004026a8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x57e959
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00403e50
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x57e943
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x57e988
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x57e943
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e960
mov eax, dword [ebp - 0x10]
call fcn.004026c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e97d
lea eax, [ebp - 8]
call fcn.00403a10
ret

Function at 0x5805b4
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
or edi, 0xffffffff
cmp edx, 0x40
jl 0x58060d
mov ecx, eax
cmp word [ecx], 0x5a4d
jne 0x58060d
mov ecx, eax
mov esi, dword [ecx + 0x3c]
mov ebx, esi
add ebx, 0x78
cmp edx, ebx
jl 0x58060d
add eax, esi
mov ecx, dword [eax]
mov edx, ecx
and edx, 0xffff
cmp edx, 0x454e
jne 0x5805f1
mov edi, 0xca
jmp 0x58060d
cmp edx, 0x454c
jne 0x580600
mov edi, 0xc9
jmp 0x58060d
cmp ecx, 0x4550
jne 0x58060d
mov edi, 0xc8
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x597300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5973dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov eax, dword [0x5be124]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x24], eax
mov eax, dword [0x5be124]
mov eax, dword [eax + 0x38]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x50], 0x40
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], edi
mov ecx, dword [ebx + 0x50]
mov eax, esi
cdq
idiv ecx
imul ecx
add eax, ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edi
xor eax, eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x38]
dec eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x50]
cdq
idiv ecx
imul ecx
add eax, ecx
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x58], eax
xor eax, eax
mov dword [ebx + 0x54], eax
mov byte [ebx + 0x5c], 1
mov edx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00588928
xor eax, eax
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x38]
dec eax
imul dword [ebx + 0x50]
dec eax
mov dword [ebx + 0x4c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5973e3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dl, 1
call fcn.0042205c
ret

Function at 0x599dbc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor ebx, ebx
push ebp
push 0x599f33
push dword fs:[ebx]
mov dword fs:[ebx], esp
push ecx
push 0
push 0
push edx
push 0
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja case.0x599ded.0
mov al, byte [eax + 0x599df4]
jmp dword [eax*4 + 0x599e15]
lea eax, [ebp - 4]
mov edx, 0x599f48
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x599f74
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x599fa0
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x599fec
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a030
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a06c
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a0d8
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a0fc
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a150
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a18c
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a1dc
call fcn.00403aa8
jmp 0x599f04
lea eax, [ebp - 4]
mov edx, 0x59a21c
call fcn.00403aa8
mov ax, word [0x59a23c]
push eax
mov edx, dword [0x5be798]
mov edx, dword [edx]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.00449a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x599f3a
lea eax, [ebp - 4]
call fcn.00403a10
ret
Function at 0x59bf9c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push eax
push edx
push ecx
push ebx
jmp 0x59bfc9
mov ecx, 0x8b1ceb07
mov eax, 0x59bfb9
mov edx, dword [eax]
sub edx, ecx
mov dword [ebp - 4], edx
add eax, 4
mov ebx, dword [eax]
sub ebx, ecx
sub ebx, edx
dec ebx
mov dword [ebp - 8], ebx
add eax, 4
mov ebx, dword [eax]
sub ebx, ecx
mov dword [ebp - 0xc], ebx
pop ebx
pop ecx
pop edx
pop eax
push 0x40
push 0x1000
mov eax, dword [ebp - 8]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x10], eax
push 0x40
push 0x1000
mov eax, dword [ebp - 8]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x59c13b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0x10]
mov eax, ebx
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00402b14
mov esi, dword [ebp - 0x14]
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00402b14
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004027e0
mov edx, esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.004027e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0059d76c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00407028
test al, al
jne 0x59c10d
mov eax, dword [0x5be1ec]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be430]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be93c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be788]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5bdef0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be1e8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be0cc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be224]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be3e4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5bea64]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5bdf8c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be2b0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be834]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be100]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5be118]
xor edx, edx
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59c142
push 0x8000
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_VirtualFree_1
push 0x8000
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualFree_1
ret
Function at 0x59d76c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
pushal
mov ecx, edx
dec ecx
test ecx, ecx
jl 0x59d7cc
inc ecx
mov dword [ebp - 4], 0x136c9856
mov dword [ebp - 8], 0x9abfb3b6
mov dword [ebp - 0xc], 0x7f6a0dbb
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
rol eax, 7
rol edx, 0x1b
xor eax, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 0xc]
xor eax, ebx
push ecx
mov ecx, eax
rol ebx, cl
pop ecx
ror eax, 0xf
xor edx, eax
xor edx, ebx
push ecx
mov ecx, edx
ror ebx, cl
pop ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edx
mov ebx, dword [ebp - 4]
xor bl, byte [esi]
mov byte [esi], bl
inc esi
dec ecx
jne 0x59d792
popal
mov esp, ebp
pop ebp
ret

Function at 0x59e74c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, edx
mov edi, 0x5c50f0
lea edx, [esp + 0x10]
push edx
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
mov eax, dword [0x5c5074]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [esp + 8]
sub eax, 2
mov edx, dword [esp + 0xc]
sub edx, 2
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
sub esi, dword [esp + 0x14]
test bl, bl
je 0x59e824
mov ebp, ecx
sar ebp, 1
jns 0x59e7b0
adc ebp, 0
add ebp, eax
mov dword [esp], ebp
mov ebp, esi
sar ebp, 1
jns 0x59e7be
adc ebp, 0
add ebp, edx
mov dword [esp + 4], ebp
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
lea ebp, [ecx + eax]
mov dword [edi + 0x20], ebp
mov dword [edi + 0x24], edx
mov dword [edi + 0x38], eax
lea ebp, [esi + edx]
mov dword [edi + 0x3c], ebp
lea ebp, [ecx + eax]
mov dword [edi + 0x50], ebp
lea ebp, [esi + edx]
mov dword [edi + 0x54], ebp
mov ebp, dword [esp]
mov dword [edi + 0x68], ebp
mov dword [edi + 0x6c], edx
mov ebp, dword [esp]
mov dword [edi + 0x80], ebp
add esi, edx
mov dword [edi + 0x84], esi
mov dword [edi + 0x98], eax
mov edx, dword [esp + 4]
mov dword [edi + 0x9c], edx
add ecx, eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esp + 4]
mov dword [edi + 0xb4], eax
xor ebp, ebp
push 0
lea esi, [ebp + ebp*2]
mov eax, dword [edi + esi*8 + 0x14]
push eax
mov eax, dword [edi + esi*8 + 0x10]
push eax
mov eax, dword [edi + esi*8 + 0xc]
push eax
mov eax, dword [edi + esi*8 + 8]
push eax
mov eax, dword [edi + esi*8]
push eax
call sub.user32.dll_MoveWindow
test bl, bl
je 0x59e85a
push 5
mov eax, dword [edi + esi*8]
push eax
call sub.user32.dll_ShowWindow
jmp 0x59e865
push 0
mov eax, dword [edi + esi*8]
push eax
call sub.user32.dll_ShowWindow
inc ebp
cmp ebp, 8
jl 0x59e826
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x59f454
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e40
mov eax, dword [ebp - 8]
call fcn.00403e40
xor eax, eax
push ebp
push 0x59f52e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x55
call fcn.004026a8
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x54
call fcn.00402b14
mov dword [ebx], esi
mov eax, dword [ebp + 0x30]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov edx, ebx
mov eax, dword [0x5c508c]
call fcn.0040dfd0
mov edx, dword [ebp - 8]
mov eax, dword [0x5c5090]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 4]
mov eax, dword [0x5c5094]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 4]
mov eax, dword [0x5c5098]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59f535
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a34
ret