joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71ff4d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x83e264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, 0x49e7b0
lea ecx, [ebp - 0x10]
call fcn.0049d1e0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp - 0x10]
push 0x49d210
push 0
push 0
call fcn.00532bb0
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x49e77e
cmp dword [esi + 8], 0
jne 0x49e78c
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.0051b121
call fcn.00532a18
int3
Function at 0x4a59b0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x720ec5
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push 0x24
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.Trend_Micro_Web_Service_Communicator
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00481410
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.00482720
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004813b0
lea ecx, [ebp - 0x4c]
call fcn.004c4200
test al, al
jne 0x4a5b28
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.004c42b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004813b0
push 0x48
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.Facilitates_communication_between_endpoints_and_Trend_Micro_web_servers.
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00481410
push 2
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
push eax
movlpd qword [ebp - 0x34], xmm0
call fcn.004c50f0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x34]
push 1
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x4a5b93
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4a5b00
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4a5b00
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4a5b00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004813b0
lea ecx, [ebp - 0x4c]
call fcn.004c4b00
lea ecx, [ebp - 0x4c]
call fcn.004c4c10
lea ecx, [ebp - 0x4c]
call fcn.004c4640
mov byte [ebx + 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004813b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
push 0xc
lea ecx, [ebp - 0xa8]
call fcn.004c4070
push 0x83a27c
lea eax, [ebp - 0xa8]
push eax
call fcn.00520690
int3
Function at 0x4a5f40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x721005
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax]
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004a61f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00509f30
push eax
call fcn.004a5d30
test al, al
je 0x4a6083
lea eax, [ebp - 0x28]
push eax
call fcn.004a7e80
mov bl, al
add esp, 4
test bl, bl
je 0x4a600f
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x58]
call fcn.00482720
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
push eax
cmovae esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.00482720
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 9
cmovae eax, dword [ebp - 0x40]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004813b0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004813b0
test esi, esi
je 0x4a60b0
lea eax, [ebp - 0x28]
push eax
call fcn.00509f30
push eax
call fcn.004a5df0
test bl, bl
je 0x4a6083
test al, al
jne 0x4a6083
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004a7670
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004812f0
mov esi, eax
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x58]
push eax
call fcn.004a7670
mov ecx, eax
call fcn.004812f0
push 9
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00481300
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00481300
xor ecx, ecx
cmp esi, 1
setne cl
add ecx, 0x7541
push ecx
jmp 0x4a60b5
lea ecx, [ebp - 0x80]
call fcn.004813b0
lea ecx, [ebp - 0x28]
call fcn.004813b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
push 0x7540
lea ecx, [ebp - 0x68]
call fcn.00489d60
push 0x839ed8
mov eax, ecx
push eax
call fcn.00520690
int3
Function at 0x4a87a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7216d5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x83e264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.004a9120
mov dword [ebp - 4], 0
push dword [edi + 8]
mov ecx, dword [ebp - 0x10]
push str.123546af_a574_49ed_a517_2d94cd95bdfe
call fcn.0050af50
test al, al
jne 0x4a8835
lea ecx, [ebp - 0x1c]
call fcn.004a9b80
mov ecx, dword [eax]
call fcn.004c56d0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4a8835
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4a8835
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4a8835
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [edi + 8]
mov edx, 0x4a89a0
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a9640
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0
push dword [ebp - 0x14]
push 0x4a9680
push 0
push 0
call fcn.00532bb0
mov ecx, eax
add esp, 0x20
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x4a88ce
mov byte [ebp - 4], 0
cmp dword [edi + 4], 0
jne 0x4a88dc
mov eax, dword [ebp - 0x18]
push str.start_listen_succeed
push 0x28
push 0x812f30
push str.IoT_Listener::Start
push 0x44
push 0
mov dword [edi], ecx
mov dword [edi + 4], eax
call fcn.0050ef60
mov esi, dword [ebp - 0x10]
add esp, 0x18
test esi, esi
je 0x4a88bc
mov ecx, esi
call fcn.0050a590
push 0x21f8
push esi
call fcn.0051def4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.0051b121
call fcn.00532a18
int3
Function at 0x4a8b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72176d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x83e264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4a8b8a
mov eax, dword [esi]
push eax
push str.new_cmd___s
push 0x53
push 0x812f30
push str.IoT_Listener::Dispatch
push 0x44
push 0
call fcn.0050ef60
lea eax, [ebx + 0x6c]
mov edx, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.004b5ca0
add esp, 0x20
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x4c]
mov esi, dword [edi]
cmp esi, edi
je 0x4a8cc7
lea eax, [ebx + 0x8c]
mov dword [ebp + 8], eax
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
lea eax, [ebx + 0x18]
mov dword [ebp - 0x20], eax
mov eax, ebx
jb 0x4a8be6
mov eax, dword [ebx]
push eax
push str.cmd_key___s
push 0x60
push 0x812f30
push str.IoT_Listener::Dispatch
push 0x44
push 0
call fcn.0050ef60
add esp, 0x1c
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4a8c0e
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.004827f0
mov ecx, dword [ebp + 8]
add esp, 8
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
call fcn.00482470
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x4a8c35
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
cmp ebx, dword [eax + 0x90]
je 0x4a8cbd
lea ecx, [eax + 0x10]
mov edx, 1
call fcn.00481650
lock xadd dword [eax], edx
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x44]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x20]
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a9710
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
push 0
push dword [ebp - 0x14]
push 0x4a9860
push 0
push 0
call fcn.00532bb0
add esp, 0x28
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4a8d3b
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004a9ac0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x24], 0
jne 0x4a8d36
mov esi, dword [esi]
cmp esi, edi
jne 0x4a8bd3
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
sub ecx, edx
and ecx, 0xfffffffc
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8cec
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8d31
push ecx
push edx
call fcn.0051def4
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call fcn.00481dd0
push 0x2c
push dword [ebp - 0x4c]
call fcn.0051def4
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0052981f
call fcn.00532a18
push 6
mov dword [ebp - 0x24], 0
call fcn.0051b121
int3
Function at 0x4ab0e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x721c6f
mov eax, dword fs:[0]
push eax
mov eax, 0x13b4
call fcn.0051e700
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c0], edi
mov dword [ebp - 0x13b4], 0
call fcn.0051c5c4
mov edx, eax
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x13ac], edx
mov eax, 1
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [ebp + eax*4 - 0x13ac], edx
inc eax
cmp eax, 0x270
jb 0x4ab145
push 0x3e
xor eax, eax
mov dword [ebp - 0x28], 0
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x13b0], 0x270
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00481410
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
dec eax
mov dword [edi], 0
mov dword [ebp - 0x13b8], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 0x13bc], 0
mov word [edi], ax
mov ebx, dword [ebp + 0xc]
mov ecx, edi
push eax
push ebx
mov dword [ebp - 0x13b4], 1
call fcn.004904e0
xor esi, esi
test ebx, ebx
je 0x4ab226
nop word [eax + eax]
lea eax, [ebp - 0x13b0]
push eax
lea ecx, [ebp - 0x13bc]
call fcn.004ac090
cmp dword [ebp - 0x14], 8
mov ecx, eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
movzx ecx, word [eax + ecx*2]
mov eax, edi
jb 0x4ab21d
mov eax, dword [edi]
mov word [eax + esi*2], cx
inc esi
cmp esi, ebx
jb 0x4ab1f0
lea ecx, [ebp - 0x28]
call fcn.004813b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
Function at 0x4ac180
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x4ac1de
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4ac1a0
mov eax, dword [edi]
jmp 0x4ac2c9
cmp eax, 0x4e0
jb 0x4ac2c9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x4ac200
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x4ac250
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4af6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71ff4d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x83e264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, 0x4af7b0
lea ecx, [ebp - 0x10]
call fcn.0049d1e0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp - 0x10]
push 0x49d210
push 0
push 0
call fcn.00532bb0
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4af75d
cmp dword [esi + 4], 0
jne 0x4af76b
mov eax, dword [ebp - 0x14]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call fcn.0051b121
call fcn.00532a18
int3
Function at 0x4b4780
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7238ce
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004b4460
test al, al
je 0x4b48eb
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], 0
jne 0x4b4860
push 0
push 0x8102bc
push eax
call fcn.004826c0
add esp, 0xc
test eax, eax
jne 0x4b4860
push 7
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x5c]
push str._local_
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00481410
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x78], 1
jmp 0x4b487d
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00482720
mov esi, eax
lea ecx, [ebp - 0x2c]
mov eax, 2
mov dword [ebp - 0x78], eax
cmp ecx, esi
je 0x4b48ac
lea ecx, [ebp - 0x2c]
call fcn.004813b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov word [esi], ax
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test al, 2
je 0x4b48c1
and eax, 0xfffffffd
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
call fcn.004813b0
mov eax, dword [ebp - 0x78]
test al, 1
je 0x4b48cd
lea ecx, [ebp - 0x5c]
call fcn.004813b0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 0
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
push 3
jmp 0x4b48f3
push 0
push 0
push 0
push 1
push str.WinHTTP_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea ecx, [ebp - 0x2c]
mov dword [edi], eax
call fcn.004813b0
lea ecx, [ebp - 0x44]
call fcn.004813b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4b4980
Capabilities:
Prepare http request
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi]
test ecx, ecx
je 0x4b49bd
cmp dword [eax + 0x14], 8
jb 0x4b49ab
mov eax, dword [eax]
push 0
push 0x1bb
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4b49e7
cmp dword [edi + 0x14], 8
jb 0x4b49cc
mov edi, dword [edi]
push 0x800000
push 0
push 0
push 0
push edi
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x4b4a67
push 0
push 0
push 0x2f
push eax
call edi
test eax, eax
mov eax, dword [esi + 8]
setne bl
test eax, eax
je 0x4b4a67
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push 0x1f
push eax
call edi
test eax, eax
setne bl
cmp dword [esi + 8], 0
je 0x4b4a67
cmp dword [esi + 0x38], 0x10
lea eax, [esi + 0x24]
jb 0x4b4a31
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00490580
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
lea ecx, [ebp - 0x1c]
setne bl
call fcn.004813b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0xffffffffffffffff
push 0x4b5440
push dword [esi + 8]
mov dword [esi + 0x90], eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 8

Function at 0x4b4d50
Capabilities:
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push 0
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne bl
test eax, eax
je 0x4b4dd8
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20000013
push dword [esi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
setne bl
test eax, eax
je 0x4b4dc0
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.004b4e10
test al, al
je 0x4b4e05
mov ecx, esi
call fcn.004b4fc0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpModule::ParseResponse
push str._s___Error_of_WinHttpQueryHeaders:__u
push 0xf6
jmp 0x4b4dee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinHttpModule::ParseResponse
push str._s___Error_of_WinHttpReceiveResponse:__u
push 0xfc
push 0x815510
push 0x46
mov dword [esi + 0x90], eax
call fcn.0050ff70
mov al, bl
add esp, 0x18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4e10
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72396d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, 1
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x29], al
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
cmp dword [edi + 8], 0
je 0x4b4f91
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4b4ebf
call ebx
push eax
push str.WinHttpModule::CollectResponseData
push str._s___Error__u_in_WinHttpQueryDataAvailable.
push 0x112
push 0x815510
push 0x46
mov dword [edi + 0x90], eax
call fcn.0050ff70
add esp, 0x18
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4b4f43
push eax
call fcn.0051e499
push dword [ebp - 0x30]
mov esi, eax
push 0
push esi
call fcn.00520480
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push esi
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4b4f12
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push esi
call fcn.00489000
push esi
call fcn.0051e494
add esp, 4
cmp dword [ebp - 0x30], 0
ja 0x4b4e80
jmp 0x4b4f43
mov byte [ebp - 0x29], 0
call ebx
push eax
push str.WinHttpModule::CollectResponseData
push str._s___Error__u_in_WinHttpReadData.
push 0x126
push 0x815510
push 0x46
mov dword [edi + 0x90], eax
call fcn.0050ff70
push esi
call fcn.0051e494
add esp, 0x1c
lea ecx, [edi + 0xc]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4b4f5e
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00489500
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4b4f8e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4f84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b4fad
push edx
push ecx
call fcn.0051def4
add esp, 8
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
call fcn.0052981f
int3