joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402960
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x423246
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [edi], vtable.CMenu.0
mov dword [edi + 4], ebx
lea ecx, [edi + 0xc]
mov dword [esp + 0x24], ebx
call fcn.0041aedb
lea ecx, [edi + 0x20]
mov byte [esp + 0x24], 1
call fcn.0041aedb
mov byte [esp + 0x24], 2
mov dword [edi], method.CMenu.virtual_0
call fcn.0040a890
mov ebp, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CMenu.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.0041f4fc
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4029e7
push 0x1e
jmp 0x4029e9
push 0xf
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
call esi
push 0x1e
mov dword [0x430214], eax
mov dword [0x4301f8], 0xcc8b34
mov dword [0x430210], 0xfcfbf9
call esi
push 7
mov dword [0x43020c], eax
call esi
push 0x11
mov dword [0x430208], eax
call esi
push 4
mov dword [0x430204], eax
mov dword [0x430200], 0xccc3b7
mov dword [0x4301fc], 0xcc8b34
call esi
cmp ebp, ebx
mov dword [0x4301f4], eax
je 0x402a81
push 7
call esi
push 0x11
mov dword [0x430208], eax
call esi
push 4
mov dword [0x430204], eax
call esi
push 4
mov dword [0x430210], eax
call esi
push 0x14
mov dword [0x42c66c], eax
call esi
push 7
mov dword [0x4301fc], eax
mov dword [0x4301f8], eax
call esi
mov dword [0x430200], eax
fld qword [0x42e090]
fcomp qword [0x424418]
mov eax, 0x10
mov dword [0x430208], ebx
mov ecx, eax
mov dword [0x4301e8], eax
mov eax, 3
mov dword [0x4301ec], ecx
mov ecx, eax
mov dword [0x4301e0], eax
mov eax, 5
mov dword [0x430204], 0x7f7f7f
mov dword [0x4301d8], eax
mov dword [0x4301f0], ebx
fnstsw ax
mov dword [0x4301e4], ecx
mov dword [0x4301dc], ecx
test ah, 0x40
jne 0x402b36
fld qword [0x42e090]
fmul qword [0x4246e0]
call fcn.0040df20
fild dword [0x4301ec]
mov dword [0x4301e8], eax
fmul qword [0x42e090]
call fcn.0040df20
fld qword [0x42e090]
fmul qword [0x4246d8]
mov dword [0x4301ec], eax
call fcn.0040df20
fild dword [0x4301e4]
mov dword [0x4301e0], eax
fmul qword [0x42e090]
call fcn.0040df20
mov dword [0x4301e4], eax
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x403b50
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push 0
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403b7e
or eax, 0xffffffff
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret
Function at 0x4046d0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4233c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x42ec5c]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
call fcn.00403f80
mov edx, dword [esp + 0x20]
mov si, word [eax + edx*2]
cmp si, 0x44
jb 0x40474f
cmp si, 0x5a
ja 0x40474f
lea ecx, [esi - 0x41]
mov eax, 1
shl eax, cl
test ebx, eax
jne 0x40474f
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0041f0a9
mov ax, si
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, 1
mov edi, 0x41
cmp di, 0x43
jbe 0x404763
test ebx, eax
je 0x404792
inc edi
shl eax, 1
cmp di, 0x5a
jbe 0x404759
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0041f0a9
pop edi
pop esi
xor ax, ax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
cmp si, 0x41
je 0x4047da
cmp di, si
je 0x4047da
mov ecx, edi
and esi, 0xffff
and ecx, 0xffff
push ecx
push esi
push edx
push str.Drive__d_r_n_r_nThe_drive_letter___C:__is_already_in_use._PowerISO_will_use___C:__for_this_drive.
push 0xab
call fcn.00407b70
add esp, 8
lea edx, [esp + 0x18]
push eax
push edx
call fcn.0041adf1
mov eax, dword [esp + 0x20]
push 0x40
push eax
call fcn.0040a1f0
add esp, 0x1c
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0041f0a9
mov ecx, dword [esp + 0x10]
mov ax, di
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4050a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x42346b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x42d024]
mov cx, word [0x42d028]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], cx
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x32]
mov dword [esp + 0x14], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
stosw word es:[edi], ax
call fcn.00403c40
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x154], 0
push edx
call fcn.00405050
lea eax, [esp + 0xd0]
push str.DeviceSCDEmuSCDEmuCd
push eax
call fcn.0040e852
lea ecx, [esp + 0xd8]
push ecx
call fcn.0040e3a3
add esp, 0x10
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, 0x41
mov dword [esp + 0x28], eax
mov ebp, ebx
cmp bx, 0x43
jbe 0x405209
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
test edx, eax
je 0x405209
lea eax, [esp + 0x4c]
push 0x40
lea ecx, [esp + 0x30]
push eax
push ecx
mov word [esp + 0x38], bx
call dword [0x430090]
test eax, eax
jle 0x405209
cmp eax, 0x3f
jge 0x405209
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x4c]
lea esi, [esp + 0xcc]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x405209
lea eax, [esp + 0x4c]
push eax
call fcn.0040e3a3
mov edx, dword [esp + 0x14]
add esp, 4
sub eax, edx
cmp eax, 1
je 0x4051b7
cmp eax, 2
jne 0x405209
mov ecx, dword [esp + 0x10]
lea edx, [esp + ecx*2 + 0x4c]
push edx
call fcn.0040e8c1
mov edi, eax
add esp, 4
test edi, edi
jl 0x405209
cmp edi, 0x17
jge 0x405209
push 0x30
call fcn.00403940
mov esi, eax
add esp, 4
test esi, esi
je 0x405209
push ebp
lea eax, [esi + 0xc]
push str.._c:
push eax
mov dword [esi + 0x2c], edi
call fcn.0040e852
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esi + 8], 0
push esi
call fcn.00403cb0
mov ecx, dword [esp + 0x14]
inc ebx
inc ebp
shl ecx, 1
cmp bx, 0x5a
mov dword [esp + 0x14], ecx
jbe 0x405143
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.00403d30
test eax, eax
jle 0x405286
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.00403d30
test eax, eax
jle 0x405273
push esi
lea ecx, [esp + 0x1c]
call fcn.00403cf0
cmp dword [eax + 0x2c], edi
jle 0x40525c
lea ecx, [esp + 0x18]
inc esi
call fcn.00403d30
cmp esi, eax
jl 0x40523d
jmp 0x405273
mov ecx, dword [esp + 0x15c]
push eax
call fcn.00403cb0
push esi
lea ecx, [esp + 0x1c]
call fcn.00403db0
inc edi
cmp edi, 0x17
jge 0x405286
lea ecx, [esp + 0x18]
call fcn.00403d30
test eax, eax
jg 0x40522e
lea ecx, [esp + 0x18]
mov dword [esp + 0x154], 0xffffffff
call fcn.00403c80
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret
Function at 0x406490
Capabilities:
Unmount volume via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x42357b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x324]
push esi
push edi
xor esi, esi
push ebx
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.00403cf0
mov edi, eax
test edi, edi
je 0x40663e
push edi
call fcn.00404fe0
mov esi, eax
add esp, 4
test esi, esi
jne 0x406578
push 0x4301d0
lea ecx, [esp + 0x18]
call fcn.0041f11d
mov dword [esp + 0x324], esi
call fcn.004045a0
test eax, eax
je 0x40655f
mov eax, dword [0x42d534]
test eax, eax
je 0x40655f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40655f
push esi
call fcn.00403980
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
call fcn.004056d0
mov ecx, dword [esp + 0x24]
push 0x4301d0
push ecx
call fcn.0040eb60
add esp, 0x18
test eax, eax
je 0x40655f
push ebx
lea edx, [esp + 0x20]
push str._ii1__vunmount__d
push edx
call fcn.0040e852
lea eax, [esp + 0x28]
push eax
call fcn.0040a760
add esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x324], 0xffffffff
call fcn.0041f0a9
jmp 0x40663e
lea ecx, [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call ebx
lea edx, [esp + 0x10]
push 0
push edx
push 0
push 0
push 0
push 0
push 0x80002004
push esi
call ebx
test eax, eax
push 0
jne 0x4065c9
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call ebx
jmp 0x40663e
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0x90020
push esi
call ebx
lea edx, [esp + 0x10]
push 0
push edx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call ebx
mov eax, dword [edi + 0x2c]
lea ecx, [esp + 0x11c]
push eax
push str.ImageName
push str._s_d
push ecx
call fcn.0040e852
push str.SoftwarePowerISOSCDEmu_
lea edx, [esp + 0x130]
push 0x4301d0
push edx
call fcn.00404190
mov ax, word [edi + 0x14]
push 0
push eax
call fcn.00406880
add esp, 0x24
mov dword [esp + 0x18], 1
push esi
call fcn.00403980
mov ecx, dword [esp + 0x320]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x318
ret
Function at 0x406f80
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0xa48
push ebx
push esi
push edi
xor esi, esi
call fcn.004068e0
mov ebx, eax
call fcn.00403e20
mov edi, eax
cmp word [edi], si
je 0x40717f
push edi
call fcn.0040e3a3
push 0x42d594
mov esi, eax
call fcn.0040e3a3
add esi, eax
lea eax, [esi + esi + 0x80]
push eax
call fcn.00403940
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40717f
push ebp
push edi
push esi
call fcn.0040e37e
push 0x42c74c
push esi
call fcn.0040e354
push 0x42d594
push esi
call fcn.0040e354
push str.__startup
push esi
call fcn.0040e354
add esp, 0x20
call fcn.004045a0
mov ebp, dword [0x42ffec]
test eax, eax
je 0x4070ad
mov edx, dword [0x431280]
mov ecx, 0x280
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
or edx, 0x20019
push ecx
push edx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push 0x80000002
call ebp
test eax, eax
jne 0x407087
lea eax, [esp + 0x18]
lea ecx, [esp + 0x58]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0x42d594
push eax
mov dword [esp + 0x30], 0x800
call dword [0x42fff4]
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x407080
cmp dword [esp + 0x14], 1
je 0x407087
mov word [esp + 0x58], 0
test bl, 1
je 0x4070ad
lea edx, [esp + 0x58]
push esi
push edx
call fcn.0040ecd2
add esp, 8
test eax, eax
je 0x4070ad
push str._ii1__vset_autorun
call fcn.0040a760
add esp, 4
jmp 0x407116
mov ecx, dword [0x431280]
lea eax, [esp + 0x10]
or ecx, 0x20006
push eax
push ecx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push 0x80000002
call ebp
test eax, eax
jne 0x407116
test bl, 1
je 0x4070fb
push esi
call fcn.0040e3a3
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x10]
push edx
push esi
push 1
push 0
push 0x42d594
push eax
call dword [0x42fff8]
jmp 0x40710b
mov ecx, dword [esp + 0x10]
push 0x42d594
push ecx
call dword [0x42ffe4]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.SCDEMUAPP_C2C80BFA_WNDCLASS
call dword [0x4300f0]
test bl, 1
pop ebp
je 0x40717f
test eax, eax
jne 0x40717f
mov ecx, 0xf
lea edi, [esp + 0x18]
push 0x20
push esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x2c], str.open
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], 1
call fcn.0040e494
add esp, 8
test eax, eax
je 0x407170
mov word [eax], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], esi
push eax
call dword [0x4300c4]
push esi
call fcn.00403970
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xa48
ret
Function at 0x407540
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
xor ebx, ebx
xor esi, esi
call fcn.00403a70
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4075c3
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jle 0x4075c3
cmp edi, 0x200000
jge 0x4075c3
push edi
call fcn.00403940
mov esi, eax
add esp, 4
test esi, esi
je 0x4075c3
lea ecx, [esp + 0x14]
push ebx
push ecx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4075c3
push edi
push esi
call fcn.004071a0
add esp, 8
test eax, eax
je 0x4075c3
push 0x210
call fcn.00403940
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4075c3
push edi
push esi
push ebx
call fcn.00407230
add esp, 0xc
test eax, eax
jne 0x4075ce
push ebx
call fcn.00403970
add esp, 4
xor ebx, ebx
push esi
call fcn.00403970
push ebp
call fcn.00403980
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x407dde
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x423631
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x42ec5c]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 8]
mov dword [ecx], eax
mov edx, dword [0x42ec5c]
lea ebx, [esi + 0x14]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], edx
mov al, byte [esp + 0xf]
mov dword [esi + 0x3c], edi
mov byte [esi + 0x38], al
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
push 0x4301d0
mov byte [esp + 0x20], 2
mov dword [esi], 0x424830
mov dword [esi + 0x61ad0], edi
mov dword [esi + 0x61acc], edi
mov dword [esi + 0x61ac8], edi
call fcn.0041f1f5
push 0x4301d0
mov ecx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.0041f1f5
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x407f80
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
test edi, edi
je 0x407f98
push 0xffffffffffffffff
push str.Connecting_to_the_server...
call edi
add esp, 8
mov eax, dword [esp + 0x10]
push 0
push 0x4301d0
push 0x4301d0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 0x61ac8], eax
jne 0x407fc0
pop edi
pop esi
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push 0x4400000
push 3
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 0x61acc], eax
jne 0x40801c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Failed_to_connect_to_the_server.
call fcn.0041f11d
mov ecx, esi
call fcn.00407f70
mov eax, dword [esi + 0x61ac8]
push eax
call fcn.00403980
add esp, 4
xor eax, eax
pop edi
pop esi
ret 0x18
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x408062
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Failed_to_connect_to_the_server.
call fcn.0041f11d
mov ecx, esi
call fcn.00407f70
mov ecx, dword [esi + 0x61acc]
push ecx
call fcn.00403980
mov edx, dword [esi + 0x61ac8]
push edx
call fcn.00403980
add esp, 8
xor eax, eax
pop edi
pop esi
ret 0x18
test edi, edi
je 0x408072
push 0xffffffffffffffff
push str.Connected_to_the_server_successfully.
call edi
add esp, 8
pop edi
mov eax, 1
pop esi
ret 0x18
Function at 0x4082d0
Capabilities:
Send data
Send http request

Disassembly:
sub esp, 0x108
mov eax, 0x4400000
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4082eb
mov eax, 0x84c00000
mov ecx, dword [esp + 0x114]
mov edx, dword [esi + 0x61acc]
push 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x42db58
push eax
push 0x4301d0
push str.HTTP_1.0
push ecx
push 0x42db3c
push edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
mov dword [esi + 0x61ad0], eax
jne 0x40833c
pop edi
pop esi
add esp, 0x108
ret 0x14
push 0x80000000
push str.Accept:___r_n
call fcn.0040e3a3
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
add esp, 4
push eax
mov eax, dword [esi + 0x61ad0]
push str.Accept:___r_n
push eax
call edi
test eax, eax
jne 0x40837b
mov ecx, esi
call fcn.00407f20
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret 0x14
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x4083df
push ecx
push eax
lea eax, [esp + 0x18]
push str.Range:_bytes_I64d_r_n
push eax
call fcn.0040e852
add esp, 0x10
lea ecx, [esp + 0x10]
push 0xa0000000
push ecx
call fcn.0040e3a3
add esp, 4
lea edx, [esp + 0x14]
push eax
mov eax, dword [esi + 0x61ad0]
push edx
push eax
call edi
test eax, eax
jne 0x4083df
mov ecx, esi
call fcn.00407f20
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret 0x14
mov ecx, dword [esi + 0x61ad0]
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x108
ret 0x14

Function at 0x408410
Capabilities:
Send data
Send http request

Disassembly:
mov eax, 0x4004
call fcn.0040eaf0
mov ax, word [0x4301d0]
push esi
mov esi, ecx
push edi
mov word [esp + 0xc], ax
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push 0x2000
push ecx
mov ecx, esi
mov dword [esp + 0x10], 0x42db58
stosw word es:[edi], ax
call fcn.004086c0
mov ecx, dword [esi + 0x34]
mov eax, 0x4400040
test ecx, ecx
je 0x408462
mov eax, 0x84c00040
mov ecx, dword [esi + 0x61acc]
push 0
lea edx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x4018]
push edx
push 0x4301d0
push str.HTTP_1.0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
mov dword [esi + 0x61ad0], eax
jne 0x4084a3
pop edi
pop esi
add esp, 0x4004
ret 0x14
push 0x80000000
push str.Accept:___r_n
call fcn.0040e3a3
mov edx, dword [esi + 0x61ad0]
add esp, 4
push eax
push str.Accept:___r_n
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x4084e0
mov ecx, esi
call fcn.00407f20
pop edi
xor eax, eax
pop esi
add esp, 0x4004
ret 0x14
lea eax, [esp + 0xc]
push eax
call fcn.0040e3a3
add esp, 4
lea ecx, [esp + 0xc]
push eax
push ecx
push str.Content_Type:_application_x_www_form_urlencoded_r_n
call fcn.0040e3a3
mov edx, dword [esi + 0x61ad0]
add esp, 4
push eax
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x4004
ret 0x14
Function at 0x408530
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x61ad0]
test eax, eax
jne 0x408543
xor eax, eax
pop ebx
ret 8
mov edx, dword [esp + 0xc]
push ebp
mov ecx, edx
push esi
mov esi, dword [esp + 0x10]
mov ebp, ecx
push edi
xor eax, eax
mov edi, esi
push 0x435e48
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
push edx
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x61ad0]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [0x435e48]
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, ecx
pop ebx
ret 8

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

Disassembly:
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
je 0x40ac10
mov ecx, dword [esp + 8]
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x424920]
xor eax, edx
inc ecx
dec esi
jne 0x40abf1
pop ebx
not eax
pop esi
ret
Function at 0x40d57c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x42ffd8]
mov dword [ebp - 4], eax
mov eax, dword [0x42e098]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x40d5ab
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x40d738
push dword [0x42eec0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x40d738
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x40d5e3
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x40d5fb
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x40d61c
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x40d639
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0040d4df
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d65c
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40d670
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0040d4df
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40d6a5
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x40d6b7
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.0040d410
test eax, eax
pop esi
jne 0x40d6f8
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.0040d410
test eax, eax
jne 0x40d726
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0040d410
test eax, eax
jne 0x40d738
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0040d410
test eax, eax
je 0x40d738
push dword [ebp - 0x528]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.0041a714
leave
ret
Function at 0x4102ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42f1e0
cmp edx, dword [eax]
je 0x4102cf
add eax, 8
inc ecx
cmp eax, 0x42f270
jl 0x4102c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42f1e0]
jne 0x4103fd
mov eax, dword [0x43939c]
cmp eax, 1
je 0x4103d7
test eax, eax
jne 0x410300
cmp dword [0x42ef5c], 1
je 0x4103d7
cmp edx, 0xfc
je 0x4103fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410337
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004134b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004133a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41037a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004133a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x426d84
push edi
call fcn.004135a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004134b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004134c0
lea eax, [ebp - 0xa0]
push 0x426d64
push eax
call fcn.004134c0
push dword [esi + 0x42f1e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004134c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041341b
add esp, 0x2c
pop edi
jmp 0x4103fd
lea eax, [ebp + 8]
lea esi, [esi + 0x42f1e4]
push 0
push eax
push dword [esi]
call fcn.004133a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret