joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fae0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 1
push 0
push 0x42fda0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push str.ProcessorNameString
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fb41
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x430]
push eax
push 0
push 0
push str.ProcessorNameString
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 0x430]
mov ecx, esi
push eax
call fcn.0040fc00
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4106d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call fcn.004109d0
test eax, eax
je 0x410705
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret 4
push 0x42ff0c
call fcn.0040eaa0
add esp, 4
cmp eax, 2
jne 0x410728
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x414]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [eax*2 - 2]
cmp eax, 0x410
jae 0x410869
xor ecx, ecx
push str.Act.ws
mov word [ebp + eax - 0x414], cx
lea eax, [ebp - 0x414]
push 0x208
push eax
call fcn.00401200
push 0x7d0
push dword [edi + 0x3c80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x42ff10
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00417ca9
add esp, 0xc
test eax, eax
je 0x4107c2
push dword [edi + 0x3c80]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [edi]
neg eax
pop edi
sbb eax, eax
add eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret 4
push esi
push dword [ebp - 0x418]
call fcn.00417e9b
push eax
call fcn.004182da
add esp, 8
add eax, 0xffffffec
mov ecx, edi
push eax
push dword [ebp - 0x418]
call fcn.00410db0
push dword [ebp - 0x418]
mov esi, eax
call fcn.00417e24
add esp, 4
push dword [edi + 0x3c80]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test esi, esi
pop esi
je 0x41084f
cmp dword [ebp + 8], 0
jne 0x41084f
push 0x528
lea eax, [edi + 4]
push 0
push eax
call fcn.00417930
push 0x9dc
lea eax, [edi + 0x52c]
push 0
push eax
call fcn.00417930
mov eax, dword [edi]
add esp, 0x18
neg eax
sbb eax, eax
add eax, 7
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
add eax, 5
call fcn.00416230
mov esp, ebp
pop ebp
ret 4
call fcn.00416f80
int3
Function at 0x410880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], 0x18
mov word [esi], ax
lea eax, [ebp + 8]
push eax
push 1
push 0
push 0x42eb10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push 0x42eae4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4109d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
push 0x528
push 0
lea eax, [esi + 4]
mov dword [esi], 1
push eax
call fcn.00417930
push 0x9dc
lea eax, [esi + 0x52c]
push 0
push eax
call fcn.00417930
push 0x84e
lea eax, [esi + 0x3230]
push 0
push eax
call fcn.00417930
push str.ALLUSERSPROFILE
push 0
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00416749
mov eax, dword [ebp - 0x410]
add esp, 0x34
test eax, eax
je 0x410a7a
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00417498
push str.ALLUSERSPROFILE
push dword [ebp - 0x410]
mov edi, eax
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.00416749
add esp, 0x14
jmp 0x410a95
lea eax, [ebp - 0x40c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [ebp - 0x40c]
lea ecx, [ebp - 0x204]
mov esi, edi
mov eax, ecx
mov edx, 0x100
sub esi, eax
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x410ac4
movzx eax, word [esi + ecx]
test ax, ax
je 0x410ac4
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x410aa6
jmp 0x410ac8
test edx, edx
jne 0x410acb
sub ecx, 2
xor eax, eax
push str.GID
mov word [ecx], ax
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.00401200
push str.IEIsProtectedModeProcess
push str.ieframe
mov dword [ebp - 0x414], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410b14
lea ecx, [ebp - 0x414]
push ecx
call eax
cmp dword [ebp - 0x414], 0
jne 0x410b42
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.004169b3
add esp, 8
cmp eax, 0xffffffff
jne 0x410b42
lea eax, [ebp - 0x204]
push eax
call fcn.0040ed90
add esp, 4
cmp dword [ebp - 0x410], 0
jbe 0x410b54
push edi
call fcn.004174a1
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x413720
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xc
xor bl, bl
mov dword [ebp - 4], 0
push esi
mov esi, ecx
test eax, eax
je 0x413753
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0x42eb48
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
lea eax, [esi + 0xd4]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 6
push eax
mov dword [esi + 8], eax
call fcn.0040fb80
mov eax, dword [esi + 8]
add esp, 8
test eax, eax
je 0x413799
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
movzx ecx, bl
mov edx, 1
cmove ecx, edx
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413820
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
test eax, eax
jne 0x413830
xor al, al
pop ebp
ret 8
push esi
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp + 0xc]
mov esi, eax
push ecx
push dword [ebp + 8]
mov dword [esi], ecx
lea ecx, [esi + 4]
push ecx
call fcn.004184c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x4140d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x4141c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp dword [edx + 0x57c], 0x15f
jl 0x414257
push esi
push edi
mov esi, 0xaf
xor edi, edi
jmp 0x4141e0
mov ecx, dword [edx + edi*4 + 4]
xor ecx, dword [edx + edi*4]
and ecx, 0x7ffff
xor ecx, dword [edx + edi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xeabd75f5
xor eax, dword [edx + esi*4]
inc esi
xor eax, ecx
mov dword [edx + edi*4], eax
xor eax, eax
cmp esi, 0x15f
cmovge esi, eax
inc edi
cmp edi, 0x15e
jl 0x4141e0
mov ecx, dword [edx + 0x578]
xor ecx, dword [edx]
and ecx, 0x7ffff
xor ecx, dword [edx + 0x578]
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xeabd75f5
xor eax, dword [edx + 0x2b8]
xor eax, ecx
pop edi
mov dword [edx + 0x578], eax
mov dword [edx + 0x57c], 0
pop esi
mov eax, dword [edx + 0x57c]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edx + 0x57c], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xcabca5
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffffab
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor eax, ecx
ret
Function at 0x414510
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x604]
mov ecx, 0x17
lea eax, [ebp - 0x5a6]
mov esi, str.HARDWAREDESCRIPTIONSYSTEMCentralProcessor0
rep movsd dword es:[edi], dword [esi]
push 0x1a2
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00417930
add esp, 0xc
lea eax, [ebp - 0x60c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x604]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41458a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
movdqu xmm0, xmmword [str.ProcessorNameString]
push 0x1d8
lea eax, [ebp - 0x1dc]
movdqu xmmword [ebp - 0x204], xmm0
push 0
movdqu xmm0, xmmword [0x42fe10]
push eax
movdqu xmmword [ebp - 0x1f4], xmm0
movq xmm0, qword [0x42fe20]
movq qword [ebp - 0x1e4], xmm0
call fcn.00417930
push 0x200
push 0
push ebx
mov dword [ebp - 0x608], 0x100
call fcn.00417930
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x608]
add esp, 0x18
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x60c]
call edi
test eax, eax
jne 0x41464b
lea esi, [ebp - 0x404]
mov edx, 0x100
mov ecx, ebx
sub esi, ebx
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x41463f
movzx eax, word [esi + ecx]
test ax, ax
je 0x41463f
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x414621
jmp 0x414643
test edx, edx
jne 0x414646
sub ecx, 2
xor eax, eax
mov word [ecx], ax
push 0x4303f8
push 0x100
push ebx
call fcn.00401200
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x608], 0x100
mov esi, str.Identifier
mov eax, ecx
mov edx, 0x100
sub esi, eax
lea esp, [esp]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x41469e
movzx eax, word [esi + ecx]
test ax, ax
je 0x41469e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x414680
jmp 0x4146a2
test edx, edx
jne 0x4146a5
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x60c]
call edi
test eax, eax
jne 0x4146e1
lea eax, [ebp - 0x404]
push eax
push 0x100
push ebx
call fcn.00401200
push dword [ebp - 0x60c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x414740
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa60
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x3a
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push eax
call fcn.00417930
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x10], ax
xorps xmm0, xmm0
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x252]
push edi
push eax
movq qword [ebp - 0xe], xmm0
call fcn.00417930
add esp, 0x18
lea eax, [ebp - 0x254]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x414849
lea esi, [ebp - 0x254]
cmp word [ebp - 0x254], di
je 0x414849
lea ebx, [edi + 1]
test edi, edi
jne 0x414804
push esi
push str.Drive:__s_n
call fcn.00418408
mov eax, esi
add esp, 8
cmp word [esi], 0x43
cmove edi, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4147e6
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], cx
jne 0x4147c8
test edi, edi
je 0x414849
lea ecx, [ebp - 0x10]
mov esi, 0x430368
mov eax, ecx
mov edx, 4
sub esi, eax
lea eax, [edx + 0x7ffffffa]
test eax, eax
je 0x41483b
movzx eax, word [esi + ecx]
test ax, ax
je 0x41483b
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x414815
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x414869
test edx, edx
jne 0x414842
sub ecx, 2
xor eax, eax
mov word [ecx], ax
jmp 0x414869
push 0x1e
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push 3
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x10]
push 5
push eax
call fcn.004170b8
add esp, 0x10
push 0x400
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0xa5c]
push eax
lea eax, [ebp - 0xa60]
push eax
lea eax, [ebp - 0xa58]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa58]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00416230
mov esp, ebp
pop ebp
ret

Function at 0x4148b0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x414936
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x414936
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 4]
mov edi, eax
add ecx, ecx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test edi, edi
je 0x414936
test eax, eax
je 0x414936
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x414936
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x414a90
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call fcn.004152a0
test eax, eax
jne 0x414ac0
mov eax, 0xfffffffd
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00417930
add esp, 0xc
mov dword [ebp - 0x48], 0x40
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
lea eax, [ebp - 0x44]
push eax
push 0x13
push dword [edi + 0x15e4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x414b05
lea eax, [ebp - 0x44]
push eax
call fcn.0041747b
add esp, 4
mov esi, eax
mov dword [edi + 0x15e8], ebx
cmp esi, 0xc8
je 0x414b2b
mov ebx, 0xfffffffe
pop esi
mov eax, ebx
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00415130
mov esi, eax
test esi, esi
je 0x414bbe
cmp esi, 0x2800
jge 0x414bb9
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 3
push eax
push dword [edi + 0x15ec]
mov ecx, edi
call fcn.00415750
mov eax, dword [edi + 0x15ec]
mov ecx, 0xef
cmp word [eax], cx
jne 0x414b86
mov ecx, 0xbb
cmp word [eax + 2], cx
jne 0x414b86
mov ecx, 0xbf
cmp word [eax + 4], cx
jne 0x414b86
xor ecx, ecx
jmp 0x414b8b
mov ecx, 3
lea edx, [ebp - 0x48]
add esi, 0xfffffffd
lea eax, [eax + ecx*2]
mov dword [ebp - 0x48], esi
push edx
push eax
mov ecx, edi
call fcn.00415750
mov dword [edi + 0x15e8], esi
mov eax, ebx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
mov ebx, 0xfffffffc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.00416230
mov esp, ebp
pop ebp
ret

Function at 0x4151e0
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi], 0
mov ecx, dword [esi + 8]
je 0x415201
mov ecx, dword [esi + 4]
push 0
push 0
push 3
lea eax, [esi + 0x136c]
push eax
lea eax, [esi + 0x130c]
push eax
push ecx
lea eax, [esi + 0xc]
push eax
push dword [esi + 0x15dc]
call dword [sym.imp.WININET.dll_InternetConnectW]
push 4
lea ecx, [ebp - 0x808]
mov dword [esi + 0x15e0], eax
push ecx
push 2
push eax
mov dword [ebp - 0x808], 0x7d0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
cmp dword [esi + 0x15e0], 0
jne 0x415288
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push eax
push str.InternetConnect
push str._s_returns_error__u____x
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00401280
lea eax, [ebp - 0x804]
push eax
push str._nSucceeded_:_s
call fcn.00418408
add esp, 0x20
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x15e0]
xor ecx, ebp
pop esi
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x4152a0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0x4000000
push 0
mov ecx, 0x4801000
cmp dword [edi], 0
cmovne eax, ecx
push eax
push 0
push 0
push str.HTTP_1.0
lea eax, [edi + 0x30c]
push eax
push 0x430558
push dword [edi + 0x15e0]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
lea ecx, [ebp - 0x1e4]
mov esi, str.Accept:___n
mov dword [edi + 0x15e4], ebx
mov eax, ecx
mov edx, 0xf0
sub esi, eax
jmp 0x415310
lea eax, [edx + 0x7fffff0e]
test eax, eax
je 0x41532e
movzx eax, word [esi + ecx]
test ax, ax
je 0x41532e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x415310
jmp 0x415332
test edx, edx
jne 0x415335
sub ecx, 2
xor eax, eax
mov word [ecx], ax
mov ecx, 0xf0
lea eax, [ebp - 0x1e4]
cmp word [eax], 0
mov esi, 0xf0
je 0x415382
add eax, 2
dec ecx
jne 0x415345
xor eax, eax
push dword [edi + 0x15d4]
push dword [edi + 0x15d0]
push eax
lea eax, [ebp - 0x1e4]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
cmp dword [edi + 0x15e4], 0
mov ebx, eax
je 0x41538c
xor eax, eax
jmp 0x415392
test ecx, ecx
je 0x415356
mov eax, esi
sub eax, ecx
jmp 0x415358
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 7
push eax
push dword [edi + 0x15e4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x4153f4
mov ecx, esi
lea eax, [ebp - 0x1e4]
lea esp, [esp]
cmp word [eax], 0
je 0x415451
add eax, 2
dec ecx
jne 0x4153c0
xor esi, esi
push dword [edi + 0x15d4]
lea eax, [ebp - 0x1e4]
push dword [edi + 0x15d0]
push esi
push eax
push dword [edi + 0x15e4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov ebx, eax
test ebx, ebx
jne 0x41543a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x2e4]
push esi
push esi
push 0xb
push str.HttpSendRequest__GET__Entries___d__Error__x_d
push 0x80
push eax
call fcn.00401280
add esp, 0x18
mov eax, 0x43d14c
cmp esi, dword [eax]
je 0x41543a
add eax, 4
cmp eax, 0x43d178
jl 0x415422
mov dword [edi + 0x15e4], 0
mov eax, dword [edi + 0x15e4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416230
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x4153d0
sub esi, ecx
jmp 0x4153d2

Function at 0x415460
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x15dc], 0
jne 0x4154dc
push 0
push 0
lea eax, [esi + 0x13cc]
push eax
push dword [esi + 0x15cc]
push str.WSCLIENT
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x15dc], eax
test eax, eax
jne 0x4154dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push eax
push str.InternetOpen
push str._s_returns_error__u____x
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00401280
lea eax, [ebp - 0x804]
push eax
push str._nSucceeded_:_s
call fcn.00418408
add esp, 0x20
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x15dc]
xor ecx, ebp
pop esi
call fcn.00416230
mov esp, ebp
pop ebp
ret
Function at 0x415750
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
add eax, 4
push eax
call fcn.00417498
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebx]
push edi
push dword [esi + 0x15e4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4157c3
mov eax, dword [ebp - 4]
mov byte [edi + eax], 0
mov eax, dword [ebx]
cmp eax, 3
jne 0x4157ac
mov eax, dword [ebp + 8]
mov ecx, 0xbf
mov dword [eax], 0xbb00ef
mov word [eax + 4], cx
jmp 0x4157c3
add eax, 4
push eax
push dword [ebp + 8]
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
call fcn.004174a1
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x424d5b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041c97f
mov dword [ebp - 0x14], eax
cmp dword [0x4408ac], esi
jne 0x424e4e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x424ddb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x424f2e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x424f2e
push 0x434474
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424f2e
push eax
call ebx
push 0x434480
push edi
mov dword [0x4408ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4408b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4408b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4408bc], eax
test eax, eax
je 0x424e4b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4408b8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x424e73
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x424e66
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x424e88
push 4
pop eax
jmp 0x424f30
cmp dword [ebp - 0x14], esi
je 0x424e88
push dword [0x4408ac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x424e6d
mov eax, dword [0x4408b8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x424ee6
cmp dword [0x4408bc], edi
je 0x424ee6
push eax
call ebx
push dword [0x4408bc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x424ee6
test eax, eax
je 0x424ee6
call ecx
test eax, eax
je 0x424edb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x424edb
test byte [ebp - 8], 1
jne 0x424ee6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x424f16
mov eax, dword [0x4408b0]
cmp eax, edi
je 0x424f13
push eax
call ebx
test eax, eax
je 0x424f13
call eax
mov esi, eax
test esi, esi
je 0x424f13
mov eax, dword [0x4408b4]
cmp eax, edi
je 0x424f13
push eax
call ebx
test eax, eax
je 0x424f13
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4408ac]
call ebx
test eax, eax
je 0x424f2e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x424f30
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416230
mov esp, ebp
pop ebp
ret