joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ecc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3a04
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x516b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.004c7c70
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xc], str.DownloadUrlResponse
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], 0x4edb6c
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], 0x4edb74
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], 0x4edb78
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x20], str.Location
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x24], str.Resource
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x28], str.SerialNumber
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x2c], 0x4edba4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x30], 0x4edbac
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 0x4edbb4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x38], 0x4edbb8
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], str.Message
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x40], 0x4edbc4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x44], str.OfferID
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x48], str.BrandID
push 0x4edb57
mov ecx, dword [ebp - 0x20]
add ecx, 0x4c
call fcn.00401210
mov byte [ebp - 4], 2
push 0x4edb85
mov ecx, dword [ebp - 0x20]
add ecx, 0x68
call fcn.00401210
mov byte [ebp - 4], 3
push 0x4edb86
mov ecx, dword [ebp - 0x20]
add ecx, 0x84
call fcn.00401210
mov byte [ebp - 4], 4
push 0x4edb87
mov ecx, dword [ebp - 0x20]
add ecx, 0xa0
call fcn.00401210
mov byte [ebp - 4], 5
push 0x4edb91
mov ecx, dword [ebp - 0x20]
add ecx, 0xbc
call fcn.00401210
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xd8], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0xdc
call fcn.0047f890
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfc
call fcn.00403790
push 0x78
call fcn.00488157
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 0
je 0x47ee4f
mov ecx, dword [ebp - 0x18]
call fcn.00422150
mov dword [ebp - 0x24], eax
jmp 0x47ee56
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x104], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp + 8]
push edx
call fcn.00401250
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
call fcn.0047f040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401290
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x488b68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x488b8c
cmp dword [edi + 0x54], 0
jne 0x488b8c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00491d52
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00488b29
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x48ebdf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x48ec26
call fcn.00491d52
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48ec26
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x48ec42
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0048e757
mov esi, eax
test edi, edi
je 0x48ec40
test ebx, ebx
je 0x48ec40
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x497164
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x516b80]
jne 0x49716e
repz ret
jmp fcn.004a1cf1

Function at 0x49969d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4996ce
call fcn.0049c6f6
mov dword [eax], esi
call fcn.0049c6e3
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0049781e
add esp, 0x14
push 0x16
pop eax
jmp 0x499723
test dword [ebp + 0xc], 0xfffffff9
jne 0x4996aa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4996fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049c709
pop ecx
call fcn.0049c6e3
mov eax, dword [eax]
jmp 0x499723
test al, 0x10
jne 0x499721
test al, 1
je 0x499721
test byte [ebp + 0xc], 2
je 0x499721
call fcn.0049c6f6
mov dword [eax], 5
call fcn.0049c6e3
mov dword [eax], 0xd
jmp 0x4996f2
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4af6ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004a1655
and dword [ebp - 4], 0
cmp dword [0x51ff48], 0
mov ebx, eax
jne 0x4af75f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4af810
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4af810
push eax
call fcn.004a15e3
mov dword [esp], 0x4f1920
push edi
mov dword [0x51ff48], eax
call esi
push eax
call fcn.004a15e3
mov dword [esp], 0x4f190c
push edi
mov dword [0x51ff4c], eax
call esi
push eax
call fcn.004a15e3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x51ff50], eax
call esi
push eax
call fcn.004a15e3
pop ecx
mov dword [0x51ff58], eax
test eax, eax
je 0x4af75f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a15e3
pop ecx
mov dword [0x51ff54], eax
mov eax, dword [0x51ff54]
cmp eax, ebx
je 0x4af7b7
cmp dword [0x51ff58], ebx
je 0x4af7b7
push eax
call fcn.004a165e
push dword [0x51ff58]
mov esi, eax
call fcn.004a165e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4af7b7
test edi, edi
je 0x4af7b7
call esi
test eax, eax
je 0x4af7ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4af7ae
test byte [ebp - 0xc], 1
jne 0x4af7b7
or dword [ebp + 0x10], 0x200000
jmp 0x4af7f0
mov eax, dword [0x51ff4c]
cmp eax, ebx
je 0x4af7f0
push eax
call fcn.004a165e
pop ecx
test eax, eax
je 0x4af7f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4af7f0
mov eax, dword [0x51ff50]
cmp eax, ebx
je 0x4af7f0
push eax
call fcn.004a165e
pop ecx
test eax, eax
je 0x4af7f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51ff48]
call fcn.004a165e
pop ecx
test eax, eax
je 0x4af810
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4af812
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c1ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x50
call fcn.0049f1f0
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 0xc]
push edi
mov edi, dword [eax + 8]
xor esi, esi
cmp edi, 0x20
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
jle 0x4c1f56
push str.nkey___EVP_MAX_KEY_LENGTH
push 0x79
push str..cryptoevpevp_key.c
call fcn.0044db90
add esp, 0xc
cmp ebx, 0x10
jle 0x4c1f6f
push str.niv___EVP_MAX_IV_LENGTH
push 0x7a
push str..cryptoevpevp_key.c
call fcn.0044db90
add esp, 0xc
cmp dword [esp + 0x18], esi
jne 0x4c1f8a
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00497164
add esp, 0x50
ret
lea ecx, [esp + 0x20]
push ecx
call fcn.0044b4d0
add esp, 4
jmp 0x4c1fa4
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0044b4f0
mov ecx, esi
inc esi
add esp, 0xc
mov dword [esp + 0x30], esi
test ecx, ecx
je 0x4c1fda
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0044b610
add esp, 0xc
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0044b610
mov eax, dword [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x4c2009
push 8
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0044b610
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0044b620
mov esi, dword [esp + 0x84]
add esp, 0xc
cmp esi, 1
jbe 0x4c2071
dec esi
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0044b4f0
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0044b610
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0044b620
add esp, 0x24
sub esi, 1
jne 0x4c2030
mov esi, dword [esp + 0x10]
xor eax, eax
test edi, edi
je 0x4c209d
jmp 0x4c2080
cmp eax, esi
je 0x4c209d
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4c2097
mov dl, byte [esp + eax + 0x38]
mov byte [ecx], dl
inc ecx
mov dword [esp + 0x14], ecx
dec edi
inc eax
test edi, edi
jne 0x4c2080
test ebx, ebx
je 0x4c20bb
cmp eax, esi
je 0x4c20bb
cmp eax, esi
je 0x4c20bb
test ebp, ebp
je 0x4c20b5
mov cl, byte [esp + eax + 0x38]
mov byte [ebp], cl
inc ebp
dec ebx
inc eax
test ebx, ebx
jne 0x4c20a5
test edi, edi
jne 0x4c1fa0
test ebx, ebx
jne 0x4c1fa0
lea edx, [esp + 0x20]
push edx
call fcn.0044b6a0
lea eax, [esp + 0x3c]
push 0x24
push eax
call fcn.0044c4d0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x68]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00497164
add esp, 0x50
ret
Function at 0x4c4ff0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
je 0x4c5067
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c504a
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx], 4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xd8], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov esp, ebp
pop ebp
ret

Function at 0x4c5080
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov dword [ebp - 0x324], ecx
mov eax, dword [ebp + 0x10]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x320], eax
mov eax, dword [ebp + 0x10]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x31c], edx
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0x40
jae 0x4c50fd
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x20c], eax
mov ecx, dword [ebp - 0x210]
add ecx, 1
mov dword [ebp - 0x210], ecx
xor edx, edx
jne 0x4c50d5
movzx eax, byte [ebp + 0xc]
cmp eax, 1
jne 0x4c5138
cmp dword [ebp - 0x318], 0x40
jae 0x4c5132
mov ecx, dword [ebp - 0x318]
mov edx, dword [ebp + 8]
mov dword [ebp + ecx*4 - 0x314], edx
mov eax, dword [ebp - 0x318]
add eax, 1
mov dword [ebp - 0x318], eax
xor ecx, ecx
jne 0x4c510a
jmp 0x4c5164
cmp dword [ebp - 0x108], 0x40
jae 0x4c5160
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x104], eax
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
xor edx, edx
jne 0x4c5138
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp + 8]
add ecx, 1
push ecx
call sub.WS2_32.dll_select
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c51c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.004c4ff0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00426080
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x160]
cmp edx, 1
jne 0x4c529c
mov eax, dword [ebp - 4]
cmp dword [eax + 0xdc], 0
je 0x4c528e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x2710
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c5271
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xdc], 0
mov ecx, dword [ebp - 4]
add ecx, 0x11b4
call fcn.004d23a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
add ecx, 0x11b4
call fcn.004d2420
mov ecx, dword [ebp - 4]
add ecx, 0x1198
call fcn.00401290
mov ecx, dword [ebp - 4]
add ecx, 0x174
call fcn.00401290
mov ecx, dword [ebp - 4]
add ecx, 0xf0
call fcn.0041b780
mov ecx, dword [ebp - 4]
add ecx, 0xac
call fcn.00401290
mov ecx, dword [ebp - 4]
add ecx, 0x90
call fcn.00401310
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.00401310
mov ecx, dword [ebp - 4]
add ecx, 0x58
call fcn.00401310
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.00401290
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00401290
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00401290
mov esp, ebp
pop ebp
ret
Function at 0x4c5640
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x160]
cmp ecx, 1
jne 0x4c56e1
mov edx, dword [ebp - 4]
cmp dword [edx + 0xdc], 0
je 0x4c56e1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xe8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x2710
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c56c4
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0xdc], 0
mov ecx, dword [ebp - 4]
call fcn.004c5580
mov esp, ebp
pop ebp
ret

Function at 0x4c7170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5d41
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x516b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0xe4]
add ecx, 4
call fcn.0041b5d0
test eax, eax
jne 0x4c7200
push 0x1e1
push 0x4fce08
push str.URL_not_valid
lea ecx, [ebp - 0x7c]
call fcn.0041b710
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0041b7c0
push 0x506308
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0049b289
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004126e0
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp + 8]
mov dword [edx + 0xcc], eax
push 0
push 1
mov ecx, dword [ebp - 0xe4]
call fcn.004c56f0
mov ecx, dword [ebp - 0xe4]
movzx edx, byte [ecx + 0x160]
cmp edx, 1
jne 0x4c7258
push 0
push 0
mov eax, dword [ebp - 0xe4]
push eax
push 0x4c6ee0
push 0
push 0
call fcn.00499896
add esp, 0x18
mov ecx, dword [ebp - 0xe4]
mov dword [ecx + 0xdc], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497164
mov esp, ebp
pop ebp
ret 4
Function at 0x4c7a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5dca
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x516b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x1d0]
add ecx, 4
call fcn.0041b5d0
test eax, eax
jne 0x4c7b15
push 0xe5
push 0x4fcc18
push 0x4fcc30
lea ecx, [ebp - 0x7c]
call fcn.0041b710
mov byte [ebp - 4], 1
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x164]
call fcn.0041b7c0
push 0x506308
lea ecx, [ebp - 0x164]
push ecx
call fcn.0049b289
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.004126e0
mov edx, dword [ebp - 0x1d0]
add edx, 0xd4
push edx
mov ecx, dword [ebp - 0x1d0]
call fcn.004c6720
test eax, eax
jne 0x4c7c2a
mov eax, dword [ebp - 0x1d0]
cmp dword [eax + 0xd8], 0
jne 0x4c7c2a
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ebp + 0x24]
mov dword [ecx + 0xcc], edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x74
call fcn.00408cc0
push 0
push 0
mov ecx, dword [ebp - 0x1d0]
push ecx
push 0x4c7280
push 0
push 0
call fcn.00499896
add esp, 0x18
mov edx, dword [ebp - 0x1d0]
mov dword [edx + 0xd8], eax
mov eax, dword [ebp - 0x1d0]
cmp dword [eax + 0xd8], 0
jne 0x4c7c1a
push str.Unable_to_start_transfer_
lea ecx, [ebp - 0x100]
call fcn.00401210
mov byte [ebp - 4], 2
push 0xf7
push 0x4fcc5c
lea ecx, [ebp - 0x100]
call fcn.004012b0
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041b710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0041b7c0
push 0x506308
lea edx, [ebp - 0x1c8]
push edx
call fcn.0049b289
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.004126e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.00401290
mov eax, dword [ebp - 0x1d0]
mov dword [eax], 1
mov byte [ebp - 0x11], 1
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0x1c9], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401310
mov al, byte [ebp - 0x1c9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497164
mov esp, ebp
pop ebp
ret 0x20

Function at 0x4c9600
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x516b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4c9632
xor al, al
jmp 0x4c9691
cmp dword [ebp - 0x110], 2
jne 0x4c967d
cmp dword [ebp - 0x11c], 6
jb 0x4c967d
push str.SetThreadUILanguage
push 0x4fd434
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x4c9677
movzx ecx, word [ebp + 8]
push ecx
call dword [ebp - 0x124]
jmp 0x4c967b
xor al, al
jmp 0x4c9691
jmp 0x4c968f
movzx edx, word [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
test eax, eax
setne al
jmp 0x4c9691
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497164
mov esp, ebp
pop ebp
ret
Function at 0x4c9750
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5217
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x516b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x134], 0x114
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4c97d8
xor edx, edx
mov word [ebp - 0x14a], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401310
mov ax, word [ebp - 0x14a]
jmp 0x4c992f
cmp dword [ebp - 0x124], 2
jne 0x4c9846
cmp dword [ebp - 0x130], 6
jb 0x4c9846
push str.LocaleNameToLCID
push 0x4fd404
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x4c9846
push 0
lea ecx, [ebp + 8]
call fcn.00408ea0
push eax
call dword [ebp - 0x13c]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x4c983d
mov ax, word [ebp - 0x138]
mov word [ebp - 0x14], ax
jmp 0x4c9846
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x138], 0
jne 0x4c990e
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jl 0x4c990e
lea ecx, [ebp - 0x144]
push ecx
push 0x4f3128
push 0x17
push 0
push 0x4f3138
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jl 0x4c9908
lea ecx, [ebp + 8]
call fcn.00408ea0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x4c98e7
mov edx, dword [ebp - 0x148]
push edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [edx + 0x38]
call ecx
test eax, eax
jl 0x4c98e7
mov dx, word [ebp - 0x138]
mov word [ebp - 0x14], dx
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dx, word [ebp - 0x14]
mov word [ebp - 0x14c], dx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401310
mov ax, word [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497164
mov esp, ebp
pop ebp
ret