joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1410
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa74
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xa0c]
push 0x800
push 0
push eax
mov dword [ebp - 0xa74], 1
mov dword [ebp - 0xa70], 0x800
call fcn.004bcaf0
add esp, 0xc
lea eax, [ebp - 0xa70]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa74]
push eax
push str.NString
push str.SoftwareMicrosoftWindowsCurrentVersionFLYSVR
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a14ee
mov dword [ebp - 0xa14], eax
mov word [ebp - 0xa24], ax
lea eax, [ebp - 0xa0c]
mov dword [ebp - 0xa10], 7
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a14a0
sub eax, edx
lea ecx, [ebp - 0xa24]
sar eax, 1
push eax
lea eax, [ebp - 0xa0c]
push eax
call fcn.0041a5b0
lea eax, [ebp - 0xa24]
push eax
push esi
call fcn.004a0e20
add esp, 8
lea ecx, [ebp - 0xa24]
call fcn.0041a210
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004bcaf0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4a1676
xor eax, eax
mov dword [ebp - 0xa2c], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0xa28], 7
mov word [ebp - 0xa3c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1546
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa3c]
call fcn.0041a5b0
lea eax, [ebp - 0xa3c]
push eax
lea ecx, [ebp - 0xa54]
call fcn.00498a60
lea ecx, [ebp - 0xa3c]
call fcn.0041a210
lea eax, [ebp - 0xa6c]
push eax
lea ecx, [ebp - 0xa54]
call fcn.00498d30
push eax
lea ecx, [ebp - 0xa3c]
call fcn.0041a300
lea ecx, [ebp - 0xa6c]
call fcn.0041a210
xor eax, eax
mov dword [ebp - 0xa14], 0
mov word [ebp - 0xa24], ax
mov eax, dword [ebp - 0xa2c]
mov dword [ebp - 0xa10], 7
lea ecx, [eax - 4]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xa28], 8
lea eax, [ebp - 0xa3c]
cmovae eax, dword [ebp - 0xa3c]
push ecx
push eax
lea ecx, [ebp - 0xa24]
call fcn.0041a5b0
mov eax, dword [ebp - 0xa14]
lea ecx, [ebp - 0xa24]
cmp dword [ebp - 0xa10], 8
cmovae ecx, dword [ebp - 0xa24]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push str.NString
push str.SoftwareMicrosoftWindowsCurrentVersionFLYSVR
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0xa24]
push eax
push esi
call fcn.004a0e20
add esp, 8
lea ecx, [ebp - 0xa24]
call fcn.0041a210
lea ecx, [ebp - 0xa3c]
call fcn.0041a210
lea ecx, [ebp - 0xa54]
call fcn.0041a210
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x51ca34
mov byte [esi], 0
call fcn.00420560
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
Function at 0x4a2360
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push fcn.004a2810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
pop esi
setne al
ret
Function at 0x4a3660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1001c
call fcn.004fa330
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004998b0
test al, al
jne 0x4a3883
push 0x509838
push edi
call fcn.004a0a40
add esp, 8
mov dword [ebp - 0x10018], eax
test eax, eax
je 0x4a3883
push ebx
push eax
push 0x10000
lea eax, [ebp - 0x10004]
push 1
push eax
call fcn.004cd08f
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4a3862
nop dword [eax]
test esi, esi
je 0x4a383c
mov edx, dword [esi + 0x14]
mov eax, edx
mov edi, dword [esi + 0x10]
sub eax, edi
mov dword [ebp - 0x1001c], edi
mov dword [ebp - 0x1000c], edx
cmp ebx, eax
ja 0x4a371d
lea eax, [edi + ebx]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x4a3701
mov eax, dword [esi]
add edi, eax
lea eax, [ebp - 0x10004]
push ebx
push eax
push edi
call fcn.004bd2e0
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x4a383c
mov eax, 0x7fffffff
sub eax, edi
cmp eax, ebx
jb 0x4a389a
lea ecx, [edi + ebx]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4a3741
mov ecx, 0x7fffffff
jmp 0x4a376e
mov eax, edx
shr eax, 1
mov dword [ebp - 0x10008], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x10008]
cmp edx, eax
jbe 0x4a3761
mov ecx, 0x7fffffff
jmp 0x4a376e
mov eax, dword [ebp - 0x10008]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x10008], ecx
push eax
mov ecx, esi
call fcn.004208f0
lea ecx, [edi + ebx]
mov dword [ebp - 0x10014], eax
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x10008]
mov dword [esi + 0x14], ecx
lea ecx, [eax + edi]
mov dword [ebp - 0x10008], ecx
add ecx, ebx
cmp dword [ebp - 0x1000c], 0x10
mov dword [ebp - 0x10010], ecx
jb 0x4a380d
push dword [ebp - 0x1001c]
mov edi, dword [esi]
push edi
push eax
call fcn.004bcd60
push ebx
lea eax, [ebp - 0x10004]
push eax
push dword [ebp - 0x10008]
call fcn.004bcd60
mov eax, dword [ebp - 0x10010]
add esp, 0x18
mov ecx, dword [ebp - 0x1000c]
inc ecx
mov byte [eax], 0
cmp ecx, 0x1000
jb 0x4a3801
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4a3895
mov edi, edx
push ecx
push edi
call fcn.0048e9ad
add esp, 8
jmp 0x4a3834
push edi
push esi
push eax
call fcn.004bcd60
push ebx
lea eax, [ebp - 0x10004]
push eax
push dword [ebp - 0x10008]
call fcn.004bcd60
mov eax, dword [ebp - 0x10010]
add esp, 0x18
mov byte [eax], 0
mov eax, dword [ebp - 0x10014]
mov dword [esi], eax
push dword [ebp - 0x10018]
lea eax, [ebp - 0x10004]
push 0x10000
push 1
push eax
call fcn.004cd08f
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4a36d0
push dword [ebp - 0x10018]
call fcn.004cc0b5
add esp, 4
mov al, 1
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
call fcn.004c5929
call fcn.0041b8c0
int3
Function at 0x4a4a70
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004fa330
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x1010], eax
mov dword [ebp - 0x1008], ebx
call fcn.004ab060
cmp eax, 1
jne 0x4a4ae5
call fcn.004aab10
cmp eax, 3
jg 0x4a4ae5
test edi, edi
jne 0x4a4ae5
push 3
push 0xca
push str.c:qtgivememoney_basewin_registry.cc
lea ecx, [ebp - 0xb4]
call fcn.004aa480
add eax, 8
push str.Check_failed:_out_value.
push eax
call fcn.00495050
add esp, 8
mov ebx, 1
test bl, 1
je 0x4a4af5
lea ecx, [ebp - 0xb4]
call fcn.004aa5a0
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x100c], 1
push eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 0x800
push eax
lea eax, [ebp - 0x100c]
push eax
push 0
push dword [ebp - 0x1010]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4a4b6e
mov ecx, dword [ebp - 0x100c]
cmp ecx, 1
jne 0x4a4b83
lea edx, [ebp - 0x1004]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4a4b50
sub edx, ecx
lea eax, [ebp - 0x1004]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.0041a5b0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x4a4bda
push 0x400
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x4a4bc2
cmp eax, 0x400
ja 0x4a4bc2
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.0041a1b0
jmp 0x4a4b6e
pop edi
pop esi
mov eax, 0xea
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 0x3f4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 8

Function at 0x4a4c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 4], ebx
call fcn.004ab060
mov esi, dword [ebp + 0xc]
cmp eax, 1
jne 0x4a4c5b
call fcn.004aab10
cmp eax, 3
jg 0x4a4c5b
test esi, esi
jne 0x4a4c5b
push 3
push 0xa9
push str.c:qtgivememoney_basewin_registry.cc
lea ecx, [ebp - 0xbc]
call fcn.004aa480
add eax, 8
push str.Check_failed:_out_value.
push eax
call fcn.00495050
add esp, 8
mov ebx, 1
test bl, 1
je 0x4a4c6b
lea ecx, [ebp - 0xbc]
call fcn.004aa5a0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x4a4cb7
mov ecx, dword [ebp - 8]
cmp ecx, 4
je 0x4a4cac
cmp ecx, 3
jne 0x4a4cc2
cmp dword [ebp - 0xc], 4
jne 0x4a4cc2
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, 0x3f4
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a68d0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edx, edx
push 0x10000000
push 0
lea eax, [esi + 0x61850]
mov dword [ebp - 0xc], esi
xor ecx, ecx
cmp dx, word [eax]
push 0
push 0
cmove eax, ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [eax + 0x14], ecx
test ecx, ecx
je 0x4a6ac1
mov edi, dword [eax + 0x20]
mov dword [ebp - 0x10], edi
lea ebx, [edi + 0x2348]
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6930
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove ebx, eax
add edi, 0x2048
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6952
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove edi, eax
test ebx, ebx
jne 0x4a6997
lea edx, [esi + 0x60608]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6980
sub ecx, ebx
mov ebx, 0
sar ecx, 1
cmovne ebx, edx
test edi, edi
jne 0x4a69bd
lea edx, [esi + 0x60708]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a69a6
sub ecx, esi
mov edi, 0
sar ecx, 1
cmovne edi, edx
mov esi, dword [ebp - 0x10]
push 0x4a7880
push dword [ebp - 0x14]
mov esi, dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push edx
mov ecx, dword [edx + 0x20]
push dword [eax + 0x26d4]
xor eax, eax
cmp esi, 1
setne al
lea eax, [eax*2 + 1]
push eax
movzx eax, word [ecx]
push edi
push ebx
push eax
lea eax, [ecx + 0x2148]
push eax
push dword [edx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], eax
test eax, eax
je 0x4a6ac1
mov edi, dword [ebp - 0xc]
add edi, 0x60808
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6a23
sub ecx, edx
sar ecx, 1
je 0x4a6aba
mov dword [ebp - 0x20], 3
test edi, edi
jne 0x4a6a48
mov dword [ebp - 0x1c], edi
jmp 0x4a6aa2
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6a50
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x4a6a9d
add ebx, ebx
mov eax, ebx
call fcn.004fa150
mov esi, esp
test esi, esi
je 0x4a6a9a
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp + 8]
jmp 0x4a6a9f
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0x51ca34
push eax
push 0x26
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, 1
jmp 0x4a6ac3
xor eax, eax
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 4
Function at 0x4a6ae0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x2454
push 0
push esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
call fcn.004bcaf0
mov edx, dword [ebp + 8]
lea eax, [esi + 8]
mov dword [ebp - 0x38], eax
mov ecx, edx
lea eax, [esi + 0x2148]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [esi + 0x48]
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x10], eax
lea edi, [ecx + 2]
lea eax, [esi + 0x1048]
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 8], eax
lea eax, [esi + 0x2348]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x2048]
mov dword [ebp - 0xc], 0x800
mov dword [ebp - 4], 0x800
mov dword [ebp - 0x1c], 0x80
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6b72
lea eax, [ebp - 0x3c]
sub ecx, edi
push eax
push dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4a6bd9
mov ecx, dword [ebp - 0x30]
cmp ecx, 3
je 0x4a6ba6
cmp ecx, 4
je 0x4a6ba6
cmp ecx, 1
jne 0x4a6bd9
mov ax, word [ebp - 0x24]
mov word [esi], ax
mov eax, 1
pop edi
mov dword [esi + 0x2448], 0
mov dword [esi + 0x244c], 0
mov dword [esi + 4], ecx
mov dword [esi + 0x2450], 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a7560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x214], 0
call fcn.004bcaf0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push 0
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x4a765a
mov ecx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a760b
test dx, dx
je 0x4a7607
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a760b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a75e5
xor eax, eax
jmp 0x4a7610
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a765a
push 1
push eax
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
Function at 0x4a8760
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26d8]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 0x20]
cmp dword [eax + 4], 1
je 0x4a88d5
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4a87c1
lea ecx, [ebp - 4]
mov dword [ebp + 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 8], 4
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4a87c1
mov eax, dword [ebp + 8]
jmp 0x4a87c3
xor eax, eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4a87d0
mov dword [ecx + 0x2450], eax
cmp dword [esi], 0
jne 0x4a8894
cmp eax, 0xce
jne 0x4a8894
cmp dword [edi + 0x5d100], 0xffffffff
jne 0x4a87fa
cmp dword [edi + 0x5d104], 0xffffffff
je 0x4a895d
push esi
mov ecx, edi
call fcn.004a8e60
test eax, eax
je 0x4a8972
cmp dword [esi + 0x38], 0xffffffff
mov edx, dword [esi + 0x3c]
jne 0x4a881c
cmp edx, 0xffffffff
je 0x4a8972
mov eax, dword [esi + 0x8040]
mov ecx, dword [eax + 8]
add ecx, dword [esi + 0x38]
mov eax, dword [eax + 0xc]
adc eax, edx
cmp dword [edi + 0x5d108], 0
mov edx, dword [edi + 0x5d10c]
jne 0x4a8840
test edx, edx
je 0x4a884c
cmp dword [edi + 0x5d108], ecx
jne 0x4a8869
cmp edx, eax
jne 0x4a8869
cmp dword [edi + 0x5d100], ecx
jne 0x4a8972
cmp dword [edi + 0x5d104], eax
jne 0x4a8972
mov eax, dword [esi + 0x20]
jmp 0x4a88e4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4a887a
mov dword [eax + 0x244c], 1
push ebx
mov ecx, edi
call fcn.004a6740
push 4
mov ecx, edi
call fcn.004a6f90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x1f4
je 0x4a8948
cmp eax, 0x194
jne 0x4a895d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4a88bb
mov dword [eax + 0x244c], 1
push ebx
mov ecx, edi
call fcn.004a6740
push 4
mov ecx, edi
call fcn.004a6f90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi], 0
jne 0x4a8948
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4a8948
mov dword [esi + 0x1c], ecx
cmp dword [eax + 0x2448], 0xffffffff
jne 0x4a88ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x20]
sub eax, dword [esi + 8]
mov dword [ecx + 0x2448], eax
cmp dword [edi + 0x26f0], 0
je 0x4a8920
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x4e20
push eax
push 6
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [esi + 0x8040]
cmp dword [eax + 4], 0
jne 0x4a8972
mov dword [eax + 4], 1
mov eax, 1
pop edi
mov dword [esi + 0x28], 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.004a97b0
test eax, eax
jne 0x4a897a
cmp dword [edi + 0x26f0], 0
je 0x4a8972
push 0x15f90
mov ecx, edi
call fcn.004a98b0
push ebx
mov ecx, edi
call fcn.004a6740
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a9260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc], 0
jne 0x4a9323
lea edi, [esi + 0x5d530]
push 0x50d2b0
push edi
call fcn.004be8c1
add esp, 8
test eax, eax
je 0x4a92a1
xor ecx, ecx
mov word [eax], cx
add eax, 0x1a
push eax
call fcn.004cf43f
add esp, 4
mov dword [esi + 0x2694], eax
mov ecx, dword [esi + 0x62ce0]
mov eax, 0xe1800e19
sub ecx, dword [esi + 0x62cdc]
imul ecx
add edx, ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4a92d4
push eax
lea eax, [esi + 0x10]
push eax
push edi
call fcn.004a6ae0
add esp, 0xc
test eax, eax
je 0x4a9323
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
test eax, eax
je 0x4a9318
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push esi
push 0x4a9330
push 0
push 0
mov dword [esi + 0x5d0f8], 8
call fcn.004cf3ac
add esp, 0x18
mov dword [esi + 0xc], eax
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a95c0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.004fa330
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1004]
mov ebx, ecx
mov dword [ebp - 0x1018], 0x50d31c
push 0x1000
push 0
push eax
mov esi, dword [ebx + 0x2480]
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x1014], 0
call fcn.004bcaf0
mov ecx, dword [edi + 0x20]
lea eax, [ecx + 0x1048]
push eax
lea eax, [ecx + 0x48]
push eax
push str._s_s
lea eax, [ebp - 0x1004]
push 0x7ff
push eax
call fcn.004a5680
add esp, 0x20
mov eax, 0x8400c300
cmp dword [ebx + 0x62cb4], 0
mov edx, 0x8408c300
cmove edx, eax
mov eax, dword [edi + 0x20]
push edi
mov ecx, edx
or ecx, 0x803000
cmp dword [eax + 4], 4
lea eax, [ebp - 0x1018]
cmovne ecx, edx
test esi, esi
push ecx
push eax
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x1004]
mov ecx, 0x50cf20
push eax
mov eax, 0x50cf2c
cmovne eax, ecx
push eax
push dword [edi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x4a978e
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x1008]
push 4
push ecx
push 2
push eax
mov dword [ebp - 0x1008], 0x3a98
call esi
push 4
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 1
push eax
push 0x41
push dword [edi + 0x1c]
call esi
xorps xmm0, xmm0
mov ebx, eax
movups xmmword [ebp - 0x1040], xmm0
push 0xa2d0
movups xmmword [ebp - 0x1030], xmm0
mov dword [ebp - 0x1040], 0x28
movq qword [ebp - 0x1020], xmm0
call fcn.0048f04d
mov esi, eax
add esp, 4
test esi, esi
je 0x4a9755
push 0xa2d0
push 0
push esi
call fcn.004bcaf0
mov ecx, dword [ebp - 0x1010]
add esp, 0xc
push ebx
push 0x5167
push esi
push edi
call fcn.004a6bf0
mov eax, esi
mov dword [ebp - 0x1038], esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9740
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1034], eax
push edi
push 1
push 0
lea eax, [ebp - 0x1040]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov edi, eax
test esi, esi
je 0x4a9779
push esi
call fcn.0048edb4
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 4
Function at 0x4a9970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push 2
push 0
push 0
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], 0
je 0x4a9a3f
push ebx
push edi
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
xor edi, edi
sub eax, dword [esi + 0x26e4]
mov ebx, 4
sar eax, 2
test eax, eax
je 0x4a9a11
nop dword [eax]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x26e4]
push 0x20
push dword [eax + edi*4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
inc edi
sub eax, dword [esi + 0x26e4]
add ebx, 0x20
sar eax, 2
cmp edi, eax
jb 0x4a99e0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call ebx
push 0
lea eax, [ebp - 8]
push eax
push 0x6a
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push dword [esi + 8]
call ebx
pop edi
pop ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
mov esp, ebp
pop ebp
ret