joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56ba88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x56bb24
push 0
mov eax, ebx
call fcn.00407d34
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x56baff
mov ebx, esi
test ebx, ebx
je 0x56bad1
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.00407d34
push eax
push 1
push 0
mov eax, edi
call fcn.00407d34
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x56bb1a
mov ecx, dword [0x65f714]
mov dl, 1
mov eax, dword [0x569e08]
call fcn.004234b0
call fcn.00406418
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x56bc6c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x427c28]
call fcn.00408620
xor eax, eax
push ebp
push 0x56bdb6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x647ee0], 0
jne 0x56bcc0
mov ecx, dword [0x65f520]
mov dl, 1
mov eax, dword [0x418228]
call fcn.004234b0
call fcn.00406418
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404b9c
mov eax, ebx
call fcn.00407964
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x56bdc4
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040a8f8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x56bd07
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x56bd5c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x56bd55
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407e24
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00407de8
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.0041c53c
test eax, eax
jne 0x56bd55
mov ebx, 0x15
jmp 0x56bd61
mov ebx, 0x10
jmp 0x56bd61
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x647ee0]
call fcn.0056ba20
mov eax, dword [ebp - 4]
call fcn.0056ba20
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040a910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56bdbd
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406d90
lea eax, [ebp - 0xc]
mov edx, dword [0x427c28]
call fcn.004086f8
ret
Function at 0x570afc
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00570534
test byte [ebx + 0x2a5], 4
jne 0x570b91
mov edx, esp
mov eax, ebx
call fcn.0047e6e8
push esp
mov eax, ebx
call fcn.0048779c
push eax
push 0
mov eax, ebx
test eax, eax
je 0x570b31
sub eax, 0xfffffd14
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x280]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x294], 0
jne 0x570b62
mov ecx, dword [0x65f7f4]
mov dl, 1
mov eax, dword [0x569a64]
call fcn.004234b0
call fcn.00406418
mov eax, ebx
call fcn.00571118
cmp byte [ebx + 0x59], 0
jne 0x570b98
mov eax, ebx
call fcn.00487a00
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x570b98
push 0
mov eax, ebx
call fcn.00487a00
push eax
call sub.user32.dll_ShowWindow
jmp 0x570b98
mov eax, ebx
call fcn.0048387c
add esp, 0x10
pop ebx
ret

Function at 0x5749ac
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x158
call fcn.00404b9c
cmp dword [ebp - 4], 0
je 0x574a60
mov eax, dword [ebp - 4]
mov dword [ebx + 0x154], eax
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 4]
movzx edx, word [edx + 8]
mov word [ebp - 6], dx
cmp ax, word [ebp - 6]
jbe 0x574a1c
movzx eax, ax
push eax
lea edx, [ebp - 0x46]
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.00574900
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
movzx ecx, ax
lea edx, [ebx + 0xd4]
lea eax, [ebp - 0x46]
call fcn.00404708
jmp 0x574a2c
movzx ecx, ax
lea edx, [ebx + 0xd4]
mov eax, esi
call fcn.00404708
movzx edx, word [ebp - 6]
dec edx
test dx, dx
jb 0x574a46
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x36
inc eax
dec dx
jne 0x574a3d
mov eax, ebx
mov esi, dword [ebp - 4]
call dword [esi + 0xc]
movzx ecx, word [ebp - 6]
lea edx, [ebx + 0xd4]
mov eax, ebx
mov ebx, dword [ebp - 4]
call dword [ebx + 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x574a78
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x574afa
movzx edx, word [eax + 8]
mov word [esp + 4], dx
mov esi, eax
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
movzx edx, word [esp + 4]
dec edx
test edx, edx
jl 0x574ab7
inc edx
lea eax, [ebx + 0xd4]
xor byte [eax], 0x6a
inc eax
dec edx
jne 0x574ab0
mov esi, dword [ebx + 0x154]
mov eax, ebx
call dword [esi + 0xc]
mov esi, dword [ebx + 0x154]
movzx ecx, word [esp + 4]
lea edx, [ebx + 0xd4]
mov eax, ebx
call dword [esi + 0x14]
mov eax, dword [ebx + 0x154]
mov esi, eax
movzx ecx, word [eax + 0xa]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x14]
mov esi, dword [ebx + 0x154]
mov edx, dword [esp]
mov eax, ebx
call dword [esi + 0x10]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x574b14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x574b3a
mov dword [ebp - 0x10], 1
jmp 0x574c8a
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
test ax, ax
jne 0x574b52
mov dword [ebp - 0x10], 2
jmp 0x574c8a
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.00404b9c
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x574c8a
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.00574b00
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.00404b9c
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x574c50
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
movzx eax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.005749ac
cmp dword [ebp - 0x18], 1
jne 0x574c04
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.00574a68
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.00574a68
jmp 0x574c16
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00574a68
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00574a78
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x574c44
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x574c38
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x574bc1
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x574c80
inc ecx
lea eax, [ebp - 0xa8]
movzx edx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x574c7a
movzx edx, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x574c61
dec word [ebp - 0x22]
jne 0x574b92
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x574cc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [ebx], eax
add ebx, 4
add edx, 4
dec ecx
jne 0x574cc8
mov ecx, 0x40
mov eax, dword [ebx - 0xc]
xor eax, dword [ebx - 0x20]
xor eax, dword [ebx - 0x38]
xor eax, dword [ebx - 0x40]
rol eax, 1
mov dword [ebx], eax
add ebx, 4
dec ecx
jne 0x574ce1
pop ebx
ret
Function at 0x577404
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x577433
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x5774b2
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00575e40
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x577480
mov cx, word [esp]
sub cx, si
jmp 0x577482
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x577469
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x5774a8
mov cx, word [esp]
sub cx, si
jmp 0x5774aa
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x577491
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x577597
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00577170
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x5774fe
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x577514
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x57740e
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x577597
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x577556
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x57753b
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.00575e28
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x577597
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x577597
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x57757c
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x16c0]
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x16c0]
push eax
call fcn.00575e28
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x57fc04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x57fc49
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x57fc26
mov esp, ebp
pop ebp
ret 4
Function at 0x58347c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x24]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x38]
call fcn.00404708
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x58355b
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x64db90]
mov edx, 8
call fcn.0057fa24
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x64db90]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x64db90]
mov edx, 0x10
call fcn.0057fa24
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x64db90]
mov edx, 0x18
call fcn.0057fa24
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x5834de
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x58e994
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58e9f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041dd34
mov eax, dword [ebp - 4]
call fcn.0058e8e4
test al, al
je 0x58e9cd
mov byte [ebp - 5], 1
jmp 0x58e9e2
mov eax, dword [ebp - 0xc]
call fcn.00407d34
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58e9ff
lea eax, [ebp - 0xc]
call fcn.00406d30
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x58ed4a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov eax, dword [eax*4 + 0x64ec90]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x58ed18
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x58eefc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x58ef59
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.0058ee4c
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.0058edb4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x58ef1e
mov esp, ebp
pop ebp
ret

Function at 0x58efb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00407240
dec eax
test eax, eax
jl 0x58f02a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.00407744
add eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.0058edb4
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x58f00d
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.0058ee4c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor al, byte [edx + ecx]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x11]
call fcn.0058edb4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x11]
mov byte [eax + edx], cl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x58f02f
mov esp, ebp
pop ebp
ret
Function at 0x59be50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21e]
mov edx, 0x59bedc
call fcn.0041e4f0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x59be8b
lea eax, [ebp - 0x208]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.0041e4f0
jmp 0x59be9c
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x21e]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x428]
mov ecx, 0x105
call fcn.00407de8
mov esp, ebp
pop ebp
ret
Function at 0x5b711c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5b7183
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthW
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.00407ec0
push edi
mov eax, dword [ebp - 4]
call fcn.00407d34
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00407110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b718a
lea eax, [ebp - 4]
call fcn.00406d30
ret

Function at 0x5bc3d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push 0x100
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5bc45a
xor edx, edx
push ebp
push 0x5bc43b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bc45a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5c0d18
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5c0d46
mov eax, ebx
call fcn.005c17cc
cmp dword [ebx + 0x40], 0
je 0x5c0d3f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5c0db7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5c0da9
cmp dword [ebx + 8], 0
je 0x5c0d68
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5c0d7a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5c0da9
cmp dword [ebx + 8], 0
je 0x5c0d5b
cmp eax, 3
je 0x5c0d8d
dec eax
jne 0x5c0d5b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5c0d5b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5c0d5b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5c0dd5
cmp dword [ebx + 0x14], 0xcc
je 0x5c0dd5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005c0de0
pop ebx
ret

Function at 0x5d1558
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406e14
mov eax, dword [ebp - 8]
call fcn.00406e14
mov eax, dword [ebp - 0xc]
call fcn.00406e14
xor eax, eax
push ebp
push 0x5d1687
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00407d34
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00407d34
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.004bd2a8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407d34
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5d166c
xor eax, eax
push ebp
push 0x5d1665
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5d1645
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x5d1649
xor eax, eax
jmp 0x5d164b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d166c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d168e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406d90
ret
Function at 0x5d1698
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406e14
mov eax, dword [ebp - 8]
call fcn.00406e14
mov eax, dword [ebp - 0xc]
call fcn.00406e14
mov eax, dword [ebp + 0xc]
call fcn.00406e14
xor eax, eax
push ebp
push 0x5d1802
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00407d34
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x5d1818
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407d34
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5d17df
xor edx, edx
push ebp
push 0x5d17d8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00407d34
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407d34
push eax
movzx eax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
test eax, eax
je 0x5d17c1
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5d17b8
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x5d17bc
xor eax, eax
jmp 0x5d17be
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d17df
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1809
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406d90
lea eax, [ebp + 0xc]
call fcn.00406d30
ret