joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47de27
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov edx, ebx
test ecx, ecx
je 0x47dfb2
cmp dword [ebp + 0x10], edx
je 0x47dfb2
cmp dword [ebp + 0x18], edx
je 0x47dfb2
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x47df96
dec eax
mov dword [ebp + 0xc], eax
mov al, byte [ecx]
mov byte [ebp + edx - 4], al
inc edx
inc ecx
mov dword [ebp + 8], ecx
cmp edx, 3
jne 0x47dee0
cmp edi, 4
jb 0x47df9f
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
movzx edx, byte [ebp - 2]
shr eax, 2
shr ecx, 4
mov al, byte [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov al, byte [ebp - 4]
shl al, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov cl, byte [ebp - 3]
mov byte [esi + 1], al
mov eax, edx
shl cl, 2
and edx, 0x3f
shr eax, 6
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp + 8]
mov byte [esi + 2], al
mov al, byte [edx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, ebx
mov byte [esi + 3], al
add esi, 4
sub edi, 4
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x47de61
test edx, edx
jle 0x47df94
cmp edi, 4
jb 0x47df92
movzx ecx, byte [ebp - 3]
cmp edx, 1
push 0x3d
cmovle ecx, eax
and dword [ebp + 8], ebx
movzx eax, byte [ebp - 2]
cmp edx, 2
mov dword [ebp - 8], ecx
cmovle eax, dword [ebp + 8]
mov dword [ebp + 8], eax
movzx eax, byte [ebp - 4]
shr eax, 2
movzx ecx, cl
shr ecx, 4
mov al, byte [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov al, byte [ebp - 4]
shl al, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
pop eax
cmp edx, 1
jle 0x47df6d
mov eax, dword [ebp + 8]
movzx ecx, al
mov al, byte [ebp - 8]
shr ecx, 6
shl al, 2
or ecx, eax
and ecx, 0x3f
push 0x3d
pop eax
mov cl, byte [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x47df6f
mov cl, al
mov byte [esi + 2], cl
cmp edx, 2
jle 0x47df87
mov eax, dword [ebp + 8]
movzx eax, al
and eax, 0x3f
mov al, byte [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], al
mov edx, ebx
add esi, 4
sub edi, 4
test edx, edx
jne 0x47df9f
cmp edi, 1
jb 0x47df9f
mov byte [esi], bl
jmp 0x47dfa4
mov ebx, 0x800700ea
mov eax, dword [ebp + 0x18]
sub esi, dword [ebp + 0x10]
pop edi
mov dword [eax], esi
mov eax, ebx
pop esi
jmp 0x47dfb7
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47eef1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push edi
je 0x47ef32
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push edi
mov ecx, dword [eax]
push ecx
push 0x47f100
push edi
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x47ef26
xor ecx, ecx
mov dword [0], 1
int 0x29
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47efbb
call fcn.004823d8
xor edi, edi
sub eax, edi
je 0x47ef18
sub eax, 1
je 0x47ef51
sub eax, 1
jne 0x47ef18
push dword [ebp + 8]
call fcn.00482011
jmp 0x47efbb
push esi
push dword [ebp + 8]
lea eax, [ebp + 8]
mov dword [ebp + 0xc], edi
push eax
call fcn.0047ed39
call fcn.0047f5bb
mov esi, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push esi
mov ecx, dword [eax]
push 0x2820
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x47ef88
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp 0x47efa0
call fcn.0047f5bb
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
je 0x47ef18
lea eax, [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test esi, esi
je 0x47efaa
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 0xc]
pop esi
test ecx, ecx
je 0x47efbb
mov dword [ebp + 0xc], edi
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
pop ebp
ret 8

Function at 0x4838df
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55da1c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62485c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [eax + 8], 0x5b4e70
lea ebx, [eax + 0x10]
xor ecx, ecx
mov dword [ebx], method.std::_Ref_count_base.virtual_0
push ecx
lea edi, [eax + 0x14]
mov dword [edi], method.std::_Ref_count_base.virtual_0
lea esi, [eax + 0x18]
push ecx
push esi
mov dword [eax], 0x5a90a8
mov dword [eax + 4], 0x5a90bc
mov dword [eax + 8], 0x5a90d0
mov dword [eax + 0xc], 0x5a90e0
mov dword [ebx], 0x5a90f0
mov dword [edi], 0x5a9104
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
push esi
push edi
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0x30]
call fcn.00483f72
push esi
push ebx
lea ecx, [edi + 0xb8]
call fcn.004832c3
and dword [edi + 0xd0], 0
mov ecx, dword [ebp + 8]
mov dword [edi + 0xd4], ecx
test ecx, ecx
je 0x48398c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, edi
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
Function at 0x489308
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62485c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [edi + 8]
mov dword [ebp - 0x24], eax
cmp eax, dword [edx + 4]
jne 0x48937e
mov ecx, dword [edi + 8]
mov ecx, dword [ecx]
and ecx, 0x7ff
cmp ecx, dword [edi + 0x14]
jne 0x48937e
mov eax, dword [edi + 8]
inc dword [eax + 8]
test byte [0x62c600], 0x80
je 0x48936b
mov eax, dword [edi + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push edi
push 0x5a92b0
push dword [0x62c60c]
push dword [0x62c608]
call fcn.00491772
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050b568
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov byte [ebp - 8], 0
push ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x15], al
push esi
mov ecx, dword [edi + 8]
mov ecx, dword [ecx]
nop dword [eax + eax]
nop dword [eax]
mov eax, ecx
xor ebx, ebx
and eax, 0x7ff
mov edx, ecx
cmp eax, 0x7fb
sete bl
test ebx, ebx
jne 0x4893da
test eax, eax
je 0x4893da
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ebx
cmp byte [ebp - 0x15], bl
jne 0x489404
and ecx, 0xfffff800
add ecx, 0x800
and ecx, 0xfffff800
jmp 0x489402
mov eax, dword [edi + 0x14]
xor eax, ecx
mov dword [ebp - 0x20], 1
and eax, 0x7ff
xor ecx, eax
cmp byte [ebp - 0x15], 0
je 0x489404
mov eax, ecx
shr eax, 0xb
dec eax
shl eax, 0xb
and ecx, 0x7ff
or ecx, eax
mov esi, dword [edi + 8]
mov eax, edx
lock cmpxchg dword [esi], ecx
mov ecx, eax
cmp ecx, edx
jne 0x4893a0
cmp dword [ebp - 0x20], 0
mov eax, dword [edi + 8]
jne 0x4894c9
mov eax, dword [eax]
and eax, 0xfffff800
cmp eax, 0x28f5800
jb 0x489438
push 0x1c124c
call fcn.004114d9
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
je 0x489470
cmp byte [ebp - 0x15], 0
jne 0x489457
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0x1c], esi
test ebx, ebx
jne 0x489470
jmp 0x48945a
mov esi, dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, ebx
jae 0x48948d
sub ebx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x10], ebx
call fcn.0048965e
jmp 0x48938c
mov eax, dword [edi + 8]
mov eax, dword [eax]
mov esi, dword [edi + 8]
mov ecx, eax
shr ecx, 0xb
mov edx, eax
dec ecx
and eax, 0x7ff
shl ecx, 0xb
or ecx, eax
mov eax, edx
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x489492
pop esi
pop ebx
mov eax, 0x102
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050b568
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov eax, dword [edi + 8]
mov dword [eax + 8], 1
test byte [0x62c600], 0x80
je 0x489502
mov eax, dword [edi + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push edi
push 0x5a92b0
push dword [0x62c60c]
push dword [0x62c608]
call fcn.00491772
mov ecx, dword [ebp - 4]
neg ebx
pop esi
sbb ebx, ebx
xor ecx, ebp
and ebx, 0x80
mov eax, ebx
pop ebx
pop edi
call fcn.0050b568
mov esp, ebp
pop ebp
ret 8
Function at 0x48bcf2
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
test byte [0x62c600], 0x20
push esi
push edi
mov esi, ecx
je 0x48bd33
push dword [ebx + 0xc]
push dword [ebx + 8]
push 0x5a9230
push dword [0x62c60c]
push dword [0x62c608]
call fcn.004a1a68
push 0x1c135e
call fcn.004114d9
lea eax, [esi + 8]
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 0xc
dec eax
mov dword [ebp - 0x10], esi
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, esi
mov esi, dword [ebp - 4]
push ebx
mov ebx, ecx
mov ecx, edi
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x10]
jne 0x48bd7b
cmp ecx, edi
je 0x48bdab
mov esi, eax
mov dword [ebp - 0x10], ecx
shr esi, 0xc
mov edi, eax
dec esi
mov edx, ecx
shl esi, 0xc
xor esi, eax
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
mov esi, dword [ebp - 4]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, edi
jne 0x48bd7b
cmp ecx, dword [ebp - 0x10]
jne 0x48bd7b
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x48d2bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x20], ebx
jne 0x48d2d7
mov eax, 0x80004005
jmp 0x48d4a7
cmp byte [esi + 0x180], bl
je 0x48d2e6
xor eax, eax
jmp 0x48d4a7
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1c]
call fcn.004a497d
test al, al
jne 0x48d313
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
test eax, eax
je 0x48d313
push 0x1c1417
call fcn.004114d9
push edi
call fcn.004d882a
test al, al
jne 0x48d395
push 0x2710
lea ecx, [esi + 0x38]
call fcn.0048ac2b
test eax, eax
je 0x48d395
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x48d370
sub eax, 1
je 0x48d38b
sub eax, 1
je 0x48d370
sub eax, 1
je 0x48d358
push 0x1c1418
call fcn.004114d9
jmp 0x48d366
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x80004005
jmp 0x48d4a6
or ecx, 0xffffffff
mov eax, 0x4e20
cmp dword [ebp + 8], ebx
cmove eax, ecx
lea ecx, [esi + 0x38]
push eax
call fcn.0048ac2b
test eax, eax
je 0x48d395
mov eax, 0x80004004
jmp 0x48d4a6
mov ecx, dword [esi + 0x24]
mov byte [esi + 0x180], 1
mov eax, dword [ecx]
call dword [eax + 0x24]
lea edi, [esi + 0x124]
cmp dword [edi + 8], ebx
je 0x48d3d7
cmp dword [edi], ebx
je 0x48d3d7
jmp 0x48d3c8
mov ecx, dword [ebp - 8]
push 1
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.004a46d0
test al, al
jne 0x48d3b5
push 0x5a9804
lea eax, [esi + 0x10]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 4]
call fcn.004c74b8
test eax, eax
js 0x48d3fb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x48d40b
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x48d417
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x48d423
call fcn.0048a7c3
lea edi, [esi + 0x7c]
cmp dword [edi + 8], ebx
je 0x48d452
cmp dword [edi], ebx
je 0x48d452
jmp 0x48d443
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.004a46d0
test al, al
jne 0x48d431
lea edi, [esi + 0xd0]
cmp dword [edi + 8], ebx
je 0x48d47b
cmp dword [edi], ebx
je 0x48d47b
jmp 0x48d46c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.004a46d0
test al, al
jne 0x48d463
cmp dword [esi + 0x17c], ebx
je 0x48d4a4
call fcn.004a497d
test al, al
je 0x48d49a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi + 0x17c], ebx
jmp 0x48d4a4
push 0x1c141d
call fcn.004114d9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48fe82
Capabilities:
Encode data using xor

Disassembly:
push esi
lea esi, [ecx + 0x10]
mov edx, dword [esi]
mov eax, edx
mov ecx, edx
and eax, 0xffffc000
add eax, 0x4000
xor eax, edx
and eax, 0xfffc000
xor edx, eax
mov eax, ecx
lock cmpxchg dword [esi], edx
mov edx, eax
cmp edx, ecx
jne 0x48fe88
pop esi
ret

Function at 0x490d58
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x490d74
mov ebx, 0x80004005
jmp 0x490e2c
mov eax, dword [esi + 0x38]
push edi
cmp eax, dword [esi + 0x34]
ja 0x490da4
lea eax, [eax*4 + 0x14]
push eax
lea edi, [esi + 0x2c]
push edi
call fcn.0041716f
pop ecx
pop ecx
test eax, eax
jne 0x490d9e
mov ebx, 0x8007000e
jmp 0x490e2b
add dword [esi + 0x38], 5
mov dword [edi], eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00490e34
mov ebx, eax
test ebx, ebx
js 0x490e1d
mov ecx, dword [esi + 0x40]
or ecx, dword [esi + 0x44]
jne 0x490dc9
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov edi, dword [ebp - 4]
lock inc dword [edi + 0x908]
lea eax, [edi + 0x8f0]
push eax
xor eax, eax
push eax
push edi
push 0x4911dd
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x490dfd
mov ecx, edi
call fcn.00490ff5
mov ebx, 0x80004005
jmp 0x490e20
mov dword [edi + 0x8ec], eax
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x2c]
push 0x3e
mov dword [eax + ecx*4], edi
xor edi, edi
inc dword [esi + 0x34]
lea eax, [esi + 0x30]
pop ecx
lock xadd dword [eax], ecx
jmp 0x490e20
mov edi, dword [ebp - 4]
test edi, edi
je 0x490e2b
mov ecx, edi
call fcn.00490ff5
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x494478
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x62485c]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
inc ecx
cmp byte [ebp + 0xc], 0
mov word [ebp - 0x28], cx
je 0x4944a7
xor eax, eax
mov dword [ebp - 0x24], 0x20
mov word [ebp - 0x26], ax
mov eax, dword [ebp + 8]
jmp 0x4944e1
and dword [ebp - 0x24], 0
and dword [ebp - 0x18], 0
push 2
pop eax
push 6
mov word [ebp - 0x1c], cx
pop ecx
push 0xd
mov word [ebp - 0x1a], cx
pop ecx
mov word [ebp - 0x10], cx
xor ecx, ecx
mov word [ebp - 0x26], ax
mov eax, dword [ebp + 8]
push 3
mov word [ebp - 0xe], cx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 8], eax
pop ecx
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.0050b568
mov esp, ebp
pop ebp
ret 8
Function at 0x4a1b63
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x62485c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x23c], ecx
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.0050e5e3
mov eax, dword [0x5ac984]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, edi
mov eax, dword [0x5ac988]
mov esi, edi
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x214]
push 0x104
push eax
push edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
mov dword [ebp - 0x218], ecx
test ecx, ecx
je 0x4a1cb7
lea eax, [ebp - 0x214]
push 0x5c
push eax
call fcn.0050e72d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x4a1c18
lea ebx, [ebp - 0x214]
jmp 0x4a1c1d
push 2
pop eax
add ebx, eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x214]
push eax
push 3
call sub.VERSION.dll_GetFileVersionInfoSizeExW
mov dword [ebp - 0x220], eax
test eax, eax
je 0x4a1cb1
push eax
call fcn.0041c6ae
mov esi, eax
pop ecx
test esi, esi
je 0x4a1cb1
push esi
push dword [ebp - 0x220]
lea eax, [ebp - 0x214]
push edi
push eax
push 3
call sub.VERSION.dll_GetFileVersionInfoExW
test eax, eax
je 0x4a1cb1
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x56a38c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4a1cb1
cmp dword [ebp - 0x224], 0x34
jne 0x4a1cb1
mov eax, dword [ebp - 0x228]
movzx ecx, word [eax + 8]
movzx edi, word [eax + 0xa]
mov dword [ebp - 0x234], ecx
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x218]
test ecx, ecx
mov eax, ecx
push 7
pop edx
cmove eax, edx
xor ecx, ecx
add eax, 0x1d
push 2
pop edx
mov dword [ebp - 0x220], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c6ae
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x23c]
mov dword [eax + 4], ecx
test ecx, ecx
jne 0x4a1cf5
mov edi, 0x8007000e
jmp 0x4a1d48
cmp dword [ebp - 0x218], 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x22c]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x230]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x234]
movzx eax, ax
push eax
movzx eax, di
push eax
mov eax, 0x569b40
cmovne eax, ebx
push eax
push str._s__d._d._d._d__s_s
push dword [ebp - 0x220]
push ecx
call fcn.004a1ef8
add esp, 0x28
mov edi, eax
test esi, esi
je 0x4a1d53
push esi
call fcn.0053b830
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050b568
mov esp, ebp
pop ebp
ret
Function at 0x4a9d4e
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax]
call fcn.004aa032
mov esi, dword [ebp + 8]
test al, al
je 0x4a9d88
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x4a9d75
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push str.Mso::Http__s_:_calling_WinHttpReadData
push 3
call fcn.004a9c0e
mov eax, dword [esi + 8]
push 0
push dword [esi + 4]
push dword [eax + 8]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
mov eax, dword [esi]
pop edi
setne cl
pop esi
mov byte [eax], cl
pop ebp
ret 8
Function at 0x4aec36
Capabilities:
Receive http response

Disassembly:
push 0x5c
mov eax, 0x55e6c7
call fcn.0050b5a6
mov esi, ecx
cmp byte [esi + 0x4c], 0
je 0x4aec6c
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x98]
mov dword [eax], edx
mov ecx, dword [esi + 0xa0]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xa4]
mov dword [eax + 0xc], ecx
jmp 0x4aedd7
cmp byte [esi + 0x11], 0
jne 0x4aec98
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 6
push eax
push dword [ebp + 8]
xorps xmm0, xmm0
lea ecx, [esi + 0x84]
movlpd qword [ebp - 0x30], xmm0
call fcn.004a6744
jmp 0x4aedd4
mov eax, dword [esi + 0x3c]
xor ebx, ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov edi, ebx
cmp dword [esi + 0x34], 0
mov dword [ebp - 0x18], ebx
je 0x4aed8e
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4aecdf
xorps xmm0, xmm0
mov dword [ebp - 0x38], ebx
movlpd qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x38]
jmp 0x4aecf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004ac098
mov ecx, eax
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
test ebx, ebx
jne 0x4aeda5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
test eax, eax
je 0x4aed77
add eax, edi
push eax
call fcn.004529a7
and dword [ebp - 0x1c], ebx
cmp dword [esi + 0x34], ebx
je 0x4aed8e
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
add eax, edi
push eax
push dword [esi + 0x34]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4aed4b
and dword [ebp - 0x48], ebx
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
jmp 0x4aed5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004ac098
mov ecx, eax
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
test ebx, ebx
jne 0x4aeda5
add edi, dword [ebp - 0x1c]
jmp 0x4aecb1
push edi
call fcn.004529a7
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x3c]
call fcn.00421e70
mov dword [esi + 0x48], edi
jmp 0x4aeda5
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
push 6
mov dword [ebp - 0x10], eax
pop ebx
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0x98]
mov byte [esi + 0x4c], 1
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [eax + 0xc], ecx
lea ecx, [esi + 0x84]
mov dword [eax], ebx
call fcn.004a6744
lea ecx, [ebp - 0x28]
call fcn.0041d6d2
mov eax, dword [ebp + 8]
call fcn.0050b577
ret 4
Function at 0x4b0845
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax]
call fcn.004aa032
mov esi, dword [ebp + 8]
test al, al
je 0x4b087f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x28]
add eax, 0x1c
cmp dword [eax + 0x14], 8
jb 0x4b086c
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push str.Mso::Http__s_:_calling_WinHttpReceiveResponse
push 3
call fcn.004b066e
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
mov eax, dword [esi]
pop edi
setne cl
pop esi
mov byte [eax], cl
pop ebp
ret 8

Function at 0x4b284a
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push dword [ecx + 0x3c]
lea ecx, [ebp - 0x14]
call fcn.004b22b0
lea ecx, [ebp - 0x14]
call fcn.004b5177
xor ebx, ebx
test al, al
je 0x4b28e3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
test eax, eax
je 0x4b28e3
push edi
mov edi, dword [ebp - 0xc]
cmp edi, 1
jbe 0x4b28e2
add edi, 0xb
mov dword [ebp - 4], ebx
push esi
lea ecx, [ebp - 4]
lea eax, [edi + edi]
push eax
call fcn.0041a7db
mov esi, dword [ebp - 4]
test al, al
je 0x4b28d6
push edi
push esi
push str.Cookie:
call fcn.00416be3
push edi
push esi
push dword [ebp - 8]
call fcn.0041a186
push edi
push esi
push 0x59e9b4
call fcn.0041a186
push 0xa0000000
push 0xffffffffffffffff
push esi
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4b28d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, esi
je 0x4b28e1
push esi
call fcn.0053b830
pop ecx
pop esi
pop edi
lea ecx, [ebp - 0x14]
call fcn.004b2332
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4