joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4049a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dae4
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x45506c]
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, dword [ebp + 8]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x11c]
push 0x104
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push eax
mov byte [edi], 0
mov dword [ebp - 0x120], 2
call fcn.00425940
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x102
ja 0x404a58
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404a40
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
mov ecx, edi
call fcn.004068a0
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x120], 1
jb 0x404a73
mov eax, dword [edi]
push 0
push eax
call fcn.00428bf4
add esp, 8
test eax, eax
je 0x404ac7
lea ecx, [ebp - 0x140]
call fcn.004091f0
push eax
mov ecx, edi
call fcn.004058b0
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x404aec
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404ae2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b5f
jmp 0x404ae2
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x404ad1
mov eax, dword [edi]
push 4
push eax
call fcn.00428bf4
add esp, 8
test eax, eax
je 0x404aec
jmp 0x404a82
push edx
push ecx
call fcn.0040d92d
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x14
jb 0x404b23
lea eax, [ecx + 0x14]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404b0a
mov eax, dword [edi]
push 0x14
lea esi, [eax + ecx]
push str.TempAltRemoveKeyPath
push esi
call fcn.004253c0
add esp, 0xc
mov byte [esi + 0x14], 0
jmp 0x404b40
push 0x14
push str.TempAltRemoveKeyPath
mov byte [ebp - 0x124], 0
mov ecx, edi
push dword [ebp - 0x124]
push 0x14
call fcn.00407460
mov eax, edi
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.0040d917
mov esp, ebp
pop ebp
ret 4
call fcn.00428920
int3
Function at 0x405a40
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dc82
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x44dd14
mov dword [edi + 0x10], 0x44dcac
mov dword [edi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00402b70
push ecx
lea ebx, [edi + 0x18]
mov dword [esi + 0x3c], 0
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.00406ac0
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x405af8
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00402af0
lea edx, [edi + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov dword [ebp - 4], 5
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040db62
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 6
call fcn.0040c15e
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0xc], eax
add esp, 4
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, edi
mov dword [ebx], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408cc0
Capabilities:
Access peb ldr_data
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43df93
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x45506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x88
mov dword [ebp - 4], 1
call fcn.0040db62
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x24]
mov dword [edi], vtable.CWinHttp.0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x1388
mov dword [edi + 0x1c], 0x1388
mov dword [edi + 0x20], 0x1388
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CHttpHeader.0
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xf
mov byte [esi + 0x38], 0
add esi, 0x50
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040b24a
push 0
push 0
push 0
mov dword [esi], eax
xorps xmm0, xmm0
push 0
movq qword [edi + 0x7c], xmm0
push str.Microsoft_Internet_Explorer
mov dword [edi + 0x84], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x408dda
mov dword [edi + 0x84], 1
jmp 0x408dec
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov byte [ebp - 4], 1
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 8]
mov eax, dword [edi]
cmovae edx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push edx
cmovae ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, edi
call eax
test al, al
mov ecx, edi
mov eax, dword [edi]
jne 0x408e27
call dword [eax + 0x10]
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xc]
jmp 0x408e2c
call dword [eax + 0xc]
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x408e62
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408e58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ebf
push edx
push ecx
call fcn.0040d92d
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x408eac
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ea2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408ec4
push edx
push ecx
call fcn.0040d92d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00428920
call fcn.00428920
int3
Function at 0x4092d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x45506c]
xor eax, esp
mov dword [esp + 0x68], eax
cmp dword [edx + 0x14], 0x10
xorps xmm0, xmm0
mov eax, dword [edx + 0x10]
push esi
mov esi, ecx
movlpd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x54], 0x67452301
mov dword [esp + 0x58], 0xefcdab89
mov dword [esp + 0x5c], 0x98badcfe
mov dword [esp + 0x60], 0x10325476
jb 0x40932b
mov edx, dword [edx]
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00401890
push esi
lea ecx, [esp + 0xc]
call fcn.00401940
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040d917
mov esp, ebp
pop ebp
ret
Function at 0x409700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e0c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
push edx
push 0x84
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x409815
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x409815
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409815
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x409815
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov ebx, eax
push 0x10
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4097d6
lea ecx, [esi + 4]
mov dword [esi + 8], 0
push ecx
mov dword [esi + 0xc], 0
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x4097d8
xor esi, esi
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ebx]
mov dword [eax + 0x4c], esi
mov eax, dword [ecx]
call dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x409815
call fcn.00401150
mov ecx, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x4c]
call fcn.00401190
mov ecx, dword [ebx]
mov bl, 1
mov dword [ecx + 4], eax
jmp 0x409817
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40984d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409863
push edx
push ecx
call fcn.0040d92d
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.00428920
int3

Function at 0x40a21c
Capabilities:
Initialize winhttp library

Disassembly:
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40a246
mov dword [esi + 0x84], 1
xor al, al
jmp 0x40a259
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov al, 1
pop edi
pop esi
ret
Function at 0x40a4d2
Capabilities:
Receive http response

Disassembly:
push 0x44
mov eax, 0x43e14c
call fcn.0040e4a8
mov esi, ecx
mov dword [ebp - 0x4c], esi
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
call fcn.0040ab47
test al, al
je 0x40a69d
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0040aa66
test al, al
jne 0x40a533
mov dword [ebp - 0x34], 4
lea eax, [ebp - 0x34]
push 0x453680
jmp 0x40a6ac
mov ecx, esi
call fcn.0040aadb
mov dword [esi + 4], eax
cmp eax, 0x194
jne 0x40a558
mov dword [ebp - 0x38], 5
lea eax, [ebp - 0x38]
push 0x453680
jmp 0x40a6ac
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40a57d
mov dword [ebp - 0x3c], 4
lea eax, [ebp - 0x3c]
push 0x453680
jmp 0x40a6ac
cmp dword [ebp - 0x20], 0x800000
jbe 0x40a59a
mov dword [ebp - 0x40], 0xc
lea eax, [ebp - 0x40]
push 0x453680
jmp 0x40a6ac
push dword [ebp - 0x20]
call fcn.00428759
mov dword [ebp - 0x1c], eax
mov dword [esp], 0x1000
call fcn.00428759
mov edi, eax
mov eax, dword [ebp - 0x18]
pop ecx
mov dword [ebp - 0x28], edi
cmp eax, 0x1000
jbe 0x40a5d9
push edi
call fcn.0042873e
push dword [ebp - 0x18]
call fcn.00428759
mov edi, eax
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x24]
push ecx
push eax
push edi
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x40a600
mov dword [ebp - 0x44], 8
lea eax, [ebp - 0x44]
push 0x453680
jmp 0x40a6ac
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, ebx
push edi
push eax
call fcn.00424e40
add ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x2c], ebx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40a63a
mov dword [ebp - 0x48], 8
lea eax, [ebp - 0x48]
push 0x453680
jmp 0x40a6ac
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40a5ba
mov byte [ebp + 0xb], 1
jmp 0x40a669
test edi, edi
je 0x40a674
push edi
call fcn.0042873e
pop ecx
cmp byte [ebp + 0xb], 0
je 0x40a689
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
jmp 0x40a692
push dword [ebp - 0x1c]
call fcn.0042873e
pop ecx
mov al, byte [ebp + 0xb]
call fcn.0040e417
ret 0xc
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x30]
push 0x453680
push eax
call fcn.00424dd2
int3
Function at 0x40a731
Capabilities:
Receive http response

Disassembly:
push 0x98
mov eax, 0x43e1f5
call fcn.0040e471
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xa0], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], cl
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x58]
push eax
call fcn.00405930
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a0f6
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00401e00
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x40a7b1
xor ecx, ecx
jmp 0x40a7ef
push eax
lea ecx, [ebp - 0x88]
call fcn.00405930
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [ebp - 0x98], 1
call fcn.0040a0f6
mov ecx, eax
push 3
mov dword [ebp - 4], 5
cmp dword [ecx + 0x14], 8
pop ebx
mov dword [ebp - 0x98], ebx
jb 0x40a7ef
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0x40]
mov ecx, edi
push dword [ebp + 0x10]
push eax
call fcn.0040ab47
neg al
sbb al, al
inc al
mov byte [ebp - 0x89], al
test bl, 2
je 0x40a828
lea ecx, [ebp - 0x70]
and ebx, 0xfffffffd
call fcn.00405770
mov dword [ebp - 4], 3
test bl, 1
je 0x40a83f
lea ecx, [ebp - 0x88]
call fcn.00401e00
cmp byte [ebp - 0x89], 0
je 0x40a86a
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00401e50
lea ecx, [ebp - 0x40]
call fcn.00405770
lea ecx, [ebp - 0x28]
call fcn.00401e00
mov eax, esi
jmp 0x40a933
mov ecx, edi
call fcn.0040aadb
mov dword [edi + 4], eax
cmp eax, 0x194
je 0x40a93b
push 0x1000
call fcn.00428759
pop ecx
mov esi, eax
xor bl, bl
jmp 0x40a8e1
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x40a8f7
cmp eax, 0x1000
jbe 0x40a8bc
push esi
call fcn.0042873e
push dword [ebp - 0x90]
call fcn.00428759
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x90]
pop ecx
lea ecx, [ebp - 0x9c]
push ecx
push eax
push esi
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40a8f9
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x28]
push esi
call fcn.004069e0
lea eax, [ebp - 0x90]
push eax
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40a890
jmp 0x40a8f9
mov bl, 1
push esi
call fcn.0042873e
pop ecx
test bl, bl
jne 0x40a90e
push 0
lea ecx, [ebp - 0x28]
call fcn.00409c80
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x28]
push eax
call fcn.00401e50
lea ecx, [ebp - 0x40]
call fcn.00405770
lea ecx, [ebp - 0x28]
call fcn.00401e00
mov eax, dword [ebp - 0xa4]
call fcn.0040e42c
ret 0x14
push 0x453680
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 5
push eax
call fcn.00424dd2
int3
Function at 0x40aa66
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0x30
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.00425940
add esp, 0xc
mov dword [ebp - 0x38], 0x30
lea eax, [ebp - 0x38]
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 5
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x40aac8
push 0xa
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ebx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042ead7
add esp, 0xc
mov dword [edi], eax
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d917
leave
ret 4

Function at 0x40aadb
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
xor edi, edi
lea eax, [ebp - 0x34]
push edi
push eax
mov esi, ecx
call fcn.00425940
add esp, 0xc
mov dword [ebp - 0x38], 0x30
lea eax, [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x34]
push eax
push edi
push 0x13
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x40ab37
push 0xa
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042ead7
add esp, 0xc
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040d917
leave
ret
Function at 0x40ab47
Capabilities:
Prepare http request
Receive http response

Disassembly:
push 0x44
mov eax, 0x43e25a
call fcn.0040e471
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
call fcn.0040a25c
mov ecx, esi
call fcn.0040a21c
test al, al
je 0x40ac92
push 7
xor ebx, ebx
xor eax, eax
pop ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x44], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
lea edx, [ebp - 0x44]
call fcn.00409e2c
mov eax, 0x1bb
pop ecx
pop ecx
cmp word [ebp - 0x48], ax
jne 0x40abbd
mov byte [esi + 8], 1
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ebx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x44]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, eax
mov dword [esi + 0x10], edx
test edx, edx
jne 0x40abee
mov dword [esi + 0x84], 2
jmp 0x40ac80
xor ecx, ecx
mov eax, 0x800000
cmp byte [esi + 8], cl
cmovne ecx, eax
cmp dword [ebp - 0x18], 8
push ecx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
mov ecx, str.POST
cmovae eax, dword [ebp - 0x2c]
cmp dword [ebp + 0xc], 0
push eax
mov eax, 0x44df28
cmovne eax, ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0x14], eax
test eax, eax
je 0x40ac72
cmp byte [esi + 8], 0
je 0x40ac47
push 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x3301
push ecx
push 0x1f
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x50]
call fcn.0040ac9a
test al, al
jne 0x40ac64
mov dword [esi + 0x84], 3
jmp 0x40ac80
push ebx
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x40ac7e
mov dword [esi + 0x84], 1
jmp 0x40ac80
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.00405770
lea ecx, [ebp - 0x44]
call fcn.00405770
mov al, bl
call fcn.0040e42c
ret 0x10
Function at 0x410697
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20