joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5f7b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x178], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
push 0x800
push 0x160
lea ecx, [ebp - 0x174]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4b5fdc
mov eax, dword [ebp - 0x16c]
and eax, 0x10000
test eax, eax
jne 0x4b5fe3
xor eax, eax
jmp 0x4b6113
lea ecx, [ebp - 0x14]
push ecx
push 0x615250
push 0
push 0x615260
lea ecx, [ebp - 4]
call fcn.004b5c17
test eax, eax
jge 0x4b6006
xor eax, eax
jmp 0x4b6113
lea edx, [ebp - 0x10]
push edx
push 0x61e160
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx]
test eax, eax
jl 0x4b6105
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
jne 0x4b6040
mov dword [ebp - 0x180], 0
jmp 0x4b608e
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
shl eax, 1
add eax, 3
and al, 0xfc
call fcn.004407b0
mov dword [ebp - 0x184], esp
mov edx, dword [ebp - 0x17c]
push edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.00424ac0
mov dword [ebp - 0x180], eax
push 0
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 0x14]
test eax, eax
jl 0x4b60f9
push 2
mov ecx, dword [ebp + 8]
call fcn.0050886c
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 0x4c]
test eax, eax
jl 0x4b60f9
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [eax + 8]
mov eax, 1
jmp 0x4b6113
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [eax + 8]
xor eax, eax
lea esp, [ebp - 0x184]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b611f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57514d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push esi
push edi
push 1
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.0047f716
test eax, eax
jne 0x4b6168
push 0x216
push str.filecore.cpp
call fcn.00505a50
test eax, eax
je 0x4b6168
int3
xor ecx, ecx
test ecx, ecx
jne 0x4b6140
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x4b61be
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x4b61a4
mov ecx, dword [ebp + 0xc]
push ecx
push str.Warning:_could_not_parse_the_path__s._n
call fcn.0047dac5
add esp, 8
push 0x104
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x4b62b1
lea ecx, [ebp - 0x1c]
call fcn.00501ff7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b62c4
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.0050209a
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4b6236
lea ecx, [ebp - 0x1c]
call fcn.0050209a
push eax
push str.Warning:_could_not_get_volume_information__s._n
call fcn.0047dac5
add esp, 8
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b028c
mov eax, dword [ebp - 0x164]
jmp 0x4b62b1
mov edx, dword [ebp - 0x18]
and edx, 2
test edx, edx
jne 0x4b624a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov ecx, dword [ebp - 0x18]
and ecx, 4
test ecx, ecx
jne 0x4b6292
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xffffffff
je 0x4b6292
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x168], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b028c
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cc710
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.0050209a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x4cc766
push 1
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
call dword [edx + 0xa0]
test eax, eax
jne 0x4cc764
push str.Warning:_File_save_with_new_name_failed._n
push 0x642464
call fcn.0047dac5
add esp, 8
xor eax, eax
jmp 0x4cc7a1
jmp 0x4cc79c
push 1
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.0050209a
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
call dword [edx + 0xa0]
test eax, eax
jne 0x4cc79c
push str.Warning:_File_save_failed._n
push 0x642484
call fcn.0047dac5
add esp, 8
xor eax, eax
jmp 0x4cc7a1
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4cced0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576fc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x10]
call fcn.00501ff7
mov dword [ebp - 4], 1
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0x118]
mov byte [eax], 0
push 0x105
lea ecx, [ebp - 0x10]
call fcn.004b0a38
push eax
push 0
push 0x642510
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0b73
cmp dword [ebp + 0x10], 0
jne 0x4ccf6d
lea ecx, [ebp - 0x10]
call fcn.0050209a
push eax
call fcn.004b5bf4
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004afeba
mov eax, dword [ebp - 0x11c]
or al, 1
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b028c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d4436
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d4060
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x4d4495
push 0x20
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004d41f4
test eax, eax
jne 0x4d4493
push 0xffffffffffffffff
push 0
mov edx, dword [ebp + 0x14]
push edx
call fcn.004d2e69
mov ecx, dword [ebp + 8]
call fcn.004d417f
jmp 0x4d44b4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004c5683
mov dword [ebp - 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x4d4b24
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d40ae
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x4d4b9d
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4d4b74
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004b0be7
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4d4b91
push pe_nt_image_headers32
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.004b0a38
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.004b0b73
jmp 0x4d4bce
mov ecx, dword [ebp + 0x10]
call fcn.0050209a
push eax
push 0xffffffffffffffff
push 0x14d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4d4bce
mov ecx, dword [ebp + 0x10]
call fcn.0050209a
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004c5683
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e08f5
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
jne 0x4e091b
push 0x110
push str.appui3.cpp
call fcn.00505a50
test eax, eax
je 0x4e091b
int3
xor eax, eax
test eax, eax
jne 0x4e0901
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x80], 0
je 0x4e0a06
cmp dword [ebp + 0xc], 0
jne 0x4e096f
mov ecx, dword [ebp - 0x14]
call fcn.0052a82c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4e094f
xor eax, eax
jmp 0x4e0a79
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4e09fb
cmp dword [ebp + 0x10], 0
jne 0x4e09ae
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0052a932
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e0991
xor eax, eax
jmp 0x4e0a79
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4e09fb
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0052a932
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e09ca
xor eax, eax
jmp 0x4e0a79
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
jmp 0x4e0a79
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x94], 0
jne 0x4e0a26
push 0x132
push str.appui3.cpp
call fcn.00505a50
test eax, eax
je 0x4e0a26
int3
xor ecx, ecx
test ecx, ecx
jne 0x4e0a06
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0xfff
jl 0x4e0a57
push 0x133
push str.appui3.cpp
call fcn.00505a50
test eax, eax
je 0x4e0a57
int3
xor ecx, ecx
test ecx, ecx
jne 0x4e0a2c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x94]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f1a5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
test ecx, ecx
je 0x4f1a82
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
jmp 0x4f1abc
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4f1ad6
push 0xc9
push str.dlgprop.cpp
call fcn.00505a50
test eax, eax
je 0x4f1ad6
int3
xor eax, eax
test eax, eax
jne 0x4f1abc
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 2]
cmp edx, 0xffff
jne 0x4f1bb1
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 0x80000000
test eax, eax
je 0x4f1b81
push 0x63d5d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4f1b2e
push 0xe1
push str.dlgprop.cpp
call fcn.00505a50
test eax, eax
je 0x4f1b2e
int3
xor ecx, ecx
test ecx, ecx
jne 0x4f1b14
cmp dword [ebp - 0x18], 0
je 0x4f1b7f
push 0x63d5e0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4f1b75
mov eax, 1
test eax, eax
je 0x4f1b6f
push 0xe6
push str.dlgprop.cpp
call fcn.00505a50
test eax, eax
je 0x4f1b6f
int3
xor ecx, ecx
test ecx, ecx
jne 0x4f1b52
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4f1bb1
mov eax, dword [ebp - 0x14]
and eax, 0xff
cmp eax, 3
jne 0x4f1bb1
mov ecx, 1
test ecx, ecx
je 0x4f1bab
push 0xed
push str.dlgprop.cpp
call fcn.00505a50
test eax, eax
je 0x4f1bab
int3
xor edx, edx
test edx, edx
jne 0x4f1b8e
call fcn.00526aa3
cmp dword [eax + 0x1038], 0
je 0x4f1bce
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004f1a13
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004f18d5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x44], 0
je 0x4f1bfe
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x44], 0
cmp dword [ebp - 8], 0
je 0x4f1c13
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov dword [edx + 0x44], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f7118
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4f7207
mov eax, dword [ebp - 4]
push eax
call fcn.004a75d8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4f71f3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
cmp edx, dword [ebp - 4]
je 0x4f71f3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.004f6d30
test eax, eax
je 0x4f71f3
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x4f71b9
mov ecx, dword [ebp - 0xc]
and ecx, 0x18000000
cmp ecx, 0x10000000
jne 0x4f71b9
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
or ecx, 2
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], ecx
jmp 0x4f71f3
cmp dword [ebp + 8], 0
je 0x4f71f3
mov eax, dword [ebp - 0xc]
and eax, 0x18000000
test eax, eax
jne 0x4f71f3
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 2
test edx, edx
je 0x4f71f3
push 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0xfffffffd
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], edx
push 2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
jmp 0x4f7133
mov esp, ebp
pop ebp
ret 4
Function at 0x519d2a
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574acc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00501a80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CInternetSession.0
mov ecx, dword [ebp + 0x1c]
and ecx, 0x10000000
test ecx, ecx
je 0x519d82
push 0x1a3
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x519d82
int3
xor edx, edx
test edx, edx
jne 0x519d61
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
cmp dword [ebp + 8], 0
jne 0x519db3
call fcn.0050ecbc
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x519dec
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call fcn.005201e3
jmp 0x519e01
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
mov ecx, 0x6f0a50
call fcn.00520760
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x51abf6
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574bcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004b9f90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00501ff7
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov dword [edx], vtable.CInternetFile.0
push 0xffffffffffffffff
mov eax, dword [ebp + 0x14]
push eax
call fcn.0047f6f2
test eax, eax
jne 0x51ac68
push 0x2e0
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51ac68
int3
xor ecx, ecx
test ecx, ecx
jne 0x51ac45
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
push edx
call fcn.0047f6f2
test eax, eax
jne 0x51ac91
push 0x2e1
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51ac91
int3
xor eax, eax
test eax, eax
jne 0x51ac6e
cmp dword [ebp + 8], 0
jne 0x51acb1
push 0x2e2
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51acb1
int3
xor ecx, ecx
test ecx, ecx
jne 0x51ac97
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004b053d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004b053d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x51ad4a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574bf7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004b9f90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.00501ff7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CInternetFile.0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047f6f2
test eax, eax
jne 0x51adb5
push 0x2f7
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51adb5
int3
xor edx, edx
test edx, edx
jne 0x51ad92
cmp dword [ebp + 0x10], 0
jne 0x51add5
push 0x2f8
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51add5
int3
xor eax, eax
test eax, eax
jne 0x51adbb
push 0x2f9
push str.inet.cpp
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b69d0
cmp dword [ebp + 8], 0
jne 0x51ae08
push 0x2fa
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51ae08
int3
xor edx, edx
test edx, edx
jne 0x51adee
mov ecx, dword [ebp + 0x10]
call fcn.00520519
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x6f0a50
call fcn.00520760
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.004b053d
mov ecx, dword [ebp + 0x10]
call fcn.0052064c
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.005204e8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.004b0486
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004b028c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51b68d
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x30], 0
je 0x51b6fc
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x2c], 0
jbe 0x51b6fc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x51b6d9
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.005201e3
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x2c]
je 0x51b6f2
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.005201e3
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], 0
mov esp, ebp
pop ebp
ret