joyce8/EMBER2024-capa huggingface dataset:
Function at 0x587f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5881ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x105
mov eax, dword [ebp - 0x24]
call fcn.00404598
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x588011
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x587ffb
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.00408070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x588018
mov eax, dword [ebp - 0x14]
call fcn.004045b4
ret

Function at 0x58d6b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov bl, 2
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x14
call fcn.004050e0
push 0x14
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x58d6ef
cmp word [ebp - 0x14], 0x31
jne 0x58d6ed
mov bl, 1
jmp 0x58d6ef
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x58fc3c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004fdf90
test al, al
je 0x58fcfb
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x58fcd9
cmp word [esi + 0x67a], 0
je 0x58fc8d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x67c]
call dword [esi + 0x678]
movzx eax, byte [esi + 0x670]
or al, byte [ebp - 9]
jne 0x58fcb0
cmp dword [ebp - 4], 0
jbe 0x58fcac
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x58fcb0
xor ebx, ebx
jmp 0x58fcb2
mov bl, 1
test bl, bl
jne 0x58fcfb
mov eax, dword [0x74eea4]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x58fcfb
mov eax, dword [0x74eea4]
mov eax, dword [eax]
call fcn.00524ddc
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x58fcfb
cmp byte [esi + 0x610], 0
jne 0x58fcfb
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0056b378
cmp eax, 4
jne 0x58fc6a
mov byte [esi + 0x670], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x598608
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x755420
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x59862a
shr eax, 1
xor eax, 0xedb88320
jmp 0x59862c
shr eax, 1
dec edx
jne 0x598618
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x598611
mov byte [0x755820], 1
pop esi
pop ebx
ret
Function at 0x598648
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x755820], 0
jne 0x59865f
call fcn.00598608
mov eax, edi
dec eax
test eax, eax
jl 0x598687
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x755420]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x598669
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x59b430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x59b4ca.0
jmp dword [ecx*4 + 0x59b463]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x59b495
sub dl, 8
je 0x59b4a4
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b0d8
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b130
jmp case.0x59b4ca.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x59b4ca.0
movzx ecx, byte [ecx + 0x59b4d1]
jmp dword [ecx*4 + 0x59b4e2]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b1dc
jmp case.0x59b4ca.0
cmp dl, 3
jne 0x59b50f
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b234
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b1f0
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b278
jmp case.0x59b4ca.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x59b53a
sub dl, 8
je 0x59b546
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b2a4
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b310
jmp case.0x59b4ca.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x59b565
sub dl, 8
je 0x59b571
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b3cc
jmp case.0x59b4ca.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x59b3f4
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x59b613
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0059a5dc
test eax, eax
je 0x59b613
mov eax, ebx
call fcn.0059b61c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x59b5ac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x59b61c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x59b64d
dec al
je 0x59b688
dec al
je 0x59b6cd
dec al
je 0x59b736
jmp 0x59b7c0
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x59b7c0
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x59b65d
jmp 0x59b7c0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x59b7c0
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x59b698
jmp 0x59b7c0
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x59b7c0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x59b6fc
xor ebp, ebp
jmp 0x59b70c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x59b715
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x59b6dd
jmp 0x59b7c0
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x59b7c0
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x59b78f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00598690
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x59b74a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x59fc5c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, edx
push esp
push eax
mov eax, dword [0x74eea4]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.00416e80
add esp, 0x204
pop ebx
ret

Function at 0x59fecc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x2b4
call fcn.004050e0
test bl, bl
je 0x59ff07
push 0x4100
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x59ff44
call sub.shell32.dll_SHGetFileInfoW
jmp 0x59ff22
push 0x4101
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x59ff44
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
setne bl
mov edx, eax
mov eax, esi
call fcn.0050d000
mov dl, 1
mov eax, esi
call fcn.0050cf7c
mov eax, ebx
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x59fef9
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x2b4
call fcn.004050e0
test bl, bl
je 0x59ff07
push 0x4100
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x59ff44
call sub.shell32.dll_SHGetFileInfoW
jmp 0x59ff22
push 0x4101
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x59ff44
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
setne bl
mov edx, eax
mov eax, esi
call fcn.0050d000
mov dl, 1
mov eax, esi
call fcn.0050cf7c
mov eax, ebx
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x59ff16
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x2b4
call fcn.004050e0
test bl, bl
je 0x59ff07
push 0x4100
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x59ff44
call sub.shell32.dll_SHGetFileInfoW
jmp 0x59ff22
push 0x4101
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
push 0x59ff44
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
setne bl
mov edx, eax
mov eax, esi
call fcn.0050d000
mov dl, 1
mov eax, esi
call fcn.0050cf7c
mov eax, ebx
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x59ff4c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x59ffda
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2b9]
xor ecx, ecx
mov edx, 0x2b4
call fcn.004050e0
mov esi, 0x4000
test bl, bl
je 0x59ff95
or esi, 0
jmp 0x59ff98
or esi, 1
cmp byte [ebp - 5], 0
jne 0x59ffa1
or esi, 0x10
push esi
push 0x2b4
lea eax, [ebp - 0x2b9]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.shell32.dll_SHGetFileInfoW
mov ebx, dword [ebp - 0x2b5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59ffe1
lea eax, [ebp - 4]
call fcn.00407ea4
ret
Function at 0x59ffec
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd48
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x5a0087
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2b8]
xor ecx, ecx
mov edx, 0x2b4
call fcn.004050e0
test bl, bl
je 0x5a004a
push 0x110
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x5a006b
push 0x111
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.shell32.dll_SHGetFileInfoW
mov ebx, dword [ebp - 0x2b8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a008e
lea eax, [ebp - 4]
call fcn.00407ea4
ret

Function at 0x5a0530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x5a05b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
mov dword [esp + 8], 0x200
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x5a0638
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5a0596
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.004080c4
jmp 0x5a05a2
mov eax, ebx
mov edx, 0x5a0648
call fcn.00407eb4
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x20c
pop ebx
ret
Function at 0x5a07cc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x5a0987
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
mov edx, dword [ebp - 4]
call fcn.00416bb8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test bx, bx
jne 0x5a0842
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00407eb4
jmp 0x5a0961
xor eax, eax
push ebp
push 0x5a094a
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
call fcn.00404598
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5a0939
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
movzx eax, bx
push eax
push 0
lea eax, [ebp - 0x218]
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5a0998
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5a0923
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
call fcn.00415478
push dword [ebp - 0x21c]
push 0x5a09a8
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 8]
call fcn.00415478
push dword [ebp - 0x220]
push 0x5a09a8
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
call fcn.00415478
push dword [ebp - 0x224]
push 0x5a09a8
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0xc]
call fcn.00415478
push dword [ebp - 0x228]
mov eax, dword [ebp - 8]
mov edx, 7
call fcn.0040847c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0940
mov eax, dword [ebp - 0x10]
call fcn.004045b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a098e
lea eax, [ebp - 0x228]
mov edx, 4
call fcn.00407eac
lea eax, [ebp - 4]
call fcn.00407ea4
ret
Function at 0x5c067c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe00
mov ebx, eax
test ebx, ebx
je 0x5c0786
mov ebp, ebx
mov eax, ebp
test eax, eax
je 0x5c069d
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test ebx, ebx
je 0x5c06ad
mov eax, ebp
sub eax, 0xa
movzx eax, word [eax]
jmp 0x5c06b1
mov ax, 2
cmp ax, 1
jne 0x5c072a
test ebx, ebx
je 0x5c06c5
mov eax, ebp
sub eax, 0xc
movzx eax, word [eax]
jmp 0x5c06cd
mov eax, dword [0x74ef8c]
movzx eax, word [eax]
push 0
push 0
push edi
push ebx
push 0
movzx eax, ax
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x100
jle 0x5c06f5
mov eax, edi
add eax, eax
call fcn.00404598
mov esi, eax
jmp 0x5c06f7
mov esi, esp
test ebx, ebx
je 0x5c0705
mov eax, ebp
sub eax, 0xc
movzx edx, word [eax]
jmp 0x5c070e
mov edx, dword [0x74ef8c]
movzx edx, word [edx]
mov eax, ebp
test eax, eax
je 0x5c0719
sub eax, 4
mov eax, dword [eax]
push edi
push esi
push eax
push ebx
push 0
movzx eax, dx
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
jmp 0x5c074e
cmp edi, 0x100
jle 0x5c073f
mov eax, edi
add eax, eax
call fcn.00404598
mov esi, eax
jmp 0x5c0741
mov esi, esp
mov ecx, edi
add ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.00404788
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x5c0777
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x5c0761
mov eax, esp
cmp esi, eax
je 0x5c0788
mov eax, esi
call fcn.004045b4
jmp 0x5c0788
xor ebx, ebx
mov eax, ebx
add esp, 0x200
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5d5e24
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 2
jne 0x5d5e49
cmp dword [esp + 4], 5
jb 0x5d5e49
mov al, 1
jmp 0x5d5e4b
xor eax, eax
add esp, 0x114
ret
Function at 0x6049b0
Capabilities:
Access peb ldr_data
Parse url
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff3f0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc10], ebx
mov dword [ebp - 0xc0c], ebx
mov dword [ebp - 0xc08], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x604b74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.006042d8
lea ecx, [ebp - 0xc08]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00604f70
mov edx, dword [ebp - 0xc08]
lea eax, [ebx + 0xc]
call fcn.00407eb4
lea eax, [ebx + 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004050e0
lea eax, [ebx + 0x3c]
mov dword [eax], 0x3c
mov dword [eax + 8], 0x20
lea edx, [ebp - 0xc04]
mov dword [eax + 4], edx
mov dword [eax + 0x14], pe_nt_image_headers32
lea edx, [ebp - 0xa04]
mov dword [eax + 0x10], edx
mov dword [eax + 0x20], 0x80
lea edx, [ebp - 0x804]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x28], 0x80
lea edx, [ebp - 0x604]
mov dword [eax + 0x24], edx
mov dword [eax + 0x30], 0x800
lea edx, [ebp - 0x404]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x38], 0x824
lea edx, [ebp - 0x204]
mov dword [eax + 0x34], edx
lea eax, [ebx + 0x3c]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00407f40
push eax
call sub.wininet.dll_InternetCrackUrlW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x604af9
lea esi, [ebx + 0x3c]
lea eax, [ebx + 0x18]
mov edx, dword [esi + 0x10]
call fcn.00408070
lea eax, [ebx + 8]
mov edx, dword [esi + 4]
call fcn.00408070
lea eax, [ebx + 0x14]
mov edx, dword [esi + 0x2c]
call fcn.00408070
movzx eax, word [esi + 0x18]
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x1c]
mov edx, dword [esi + 0x34]
call fcn.00408070
lea eax, [ebx + 0x20]
mov edx, dword [esi + 0x1c]
call fcn.00408070
lea eax, [ebx + 0x24]
mov edx, dword [esi + 0x24]
call fcn.00408070
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.00408140
jmp 0x604b56
mov eax, ebx
call fcn.006042d8
cmp word [ebx + 0x32], 0
je 0x604b2d
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0xc0c]
call fcn.0041c6f4
mov eax, dword [ebp - 0xc0c]
push eax
call sub.kernel32.dll_GetLastError_1
mov ecx, eax
mov edx, ebx
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0xc10]
call fcn.0041c6f4
mov eax, dword [ebp - 0xc10]
call fcn.00407f40
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp + 8]
call fcn.0040789c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604b7b
lea eax, [ebp - 0xc10]
mov edx, 3
call fcn.00407eac
ret
Function at 0x60583c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6058f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.006044cc
test al, al
jne 0x605870
xor ebx, ebx
jmp 0x6058de
mov dword [ebp - 4], 4
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0
push edi
mov eax, esi
call fcn.00407aac
push eax
call dword [ebx + 0x78]
test eax, eax
je 0x6058d7
cmp word [ebx + 0x32], 0
je 0x6058bc
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0xc]
call fcn.0041c6f4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetLastError_1
mov ecx, eax
mov edx, ebx
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x10]
call fcn.0041c6f4
mov eax, dword [ebp - 0x10]
call fcn.00407f40
push eax
call sub.kernel32.dll_OutputDebugStringW
cmp dword [ebp - 8], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605900
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00407eac
ret

Function at 0x60590c
Capabilities:
Create http request
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x605a59
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
lea edx, [ebp - 0x414]
mov eax, dword [0x74eea4]
mov eax, dword [eax]
call fcn.00524834
mov eax, dword [ebp - 0x414]
call fcn.00407f40
push eax
call sub.wininet.dll_InternetOpenW
mov esi, eax
push 0
push 0x200
push 0
push 0
mov eax, ebx
call fcn.00407f40
push eax
push esi
call sub.wininet.dll_InternetOpenUrlW
mov ebx, eax
test ebx, ebx
jne 0x6059e7
cmp word [edi + 0x32], 0
je 0x6059ba
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x418]
call fcn.0041c6f4
mov eax, dword [ebp - 0x418]
push eax
call sub.kernel32.dll_GetLastError_1
mov ecx, eax
mov edx, edi
mov eax, dword [edi + 0x34]
call dword [edi + 0x30]
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x41c]
call fcn.0041c6f4
mov eax, dword [ebp - 0x41c]
call fcn.00407f40
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00407eb4
jmp 0x605a35
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x201
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40e]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
je 0x605a25
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x40e]
mov ecx, 0x201
call fcn.004080c4
jmp 0x605a2f
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00407eb4
push ebx
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605a60
lea eax, [ebp - 0x41c]
mov edx, 3
call fcn.00407eac
ret