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

Disassembly:
sub esp, 0x608
push ebx
push ebp
push esi
mov edx, ecx
push edi
xor esi, esi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x218]
push eax
push ecx
mov ecx, dword [edx + 0x4c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + 0x48]
push ecx
mov ecx, dword [edx + 0x54]
mov edi, 0x200
push eax
mov dword [esp + 0x24], esi
push ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [esp + 0x61c]
mov edx, dword [0x455050]
lea eax, [esp + 0x218]
test eax, eax
mov dword [ebx], edx
je 0x4212cb
lea ecx, [esp + 0x218]
shr ecx, 0x10
jne 0x42126c
mov eax, dword [0x45b330]
xor ebp, ebp
lea edx, [esp + 0x218]
lea ecx, [esp + 0x18]
mov eax, dword [eax + 8]
mov bp, dx
push pe_nt_image_headers32
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, esi
jne 0x4211ce
mov word [esp + 0x18], si
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x421209
lea eax, [esp + 0x18]
test eax, eax
je 0x4211ed
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
push eax
call fcn.00404a30
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x608
ret 4
push 0x1ff
mov ecx, ebx
call fcn.004048a0
mov esi, eax
test esi, esi
je 0x421254
mov eax, dword [0x45b330]
push edi
push esi
push ebp
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x421234
mov word [esi], ax
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x421254
add edi, 0x100
mov ecx, ebx
lea edx, [edi - 1]
push edx
call fcn.004048a0
mov esi, eax
test esi, esi
jne 0x42121b
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00404960
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x608
ret 4
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4212cb
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.0043649a
add esp, 4
test eax, eax
je 0x4212cb
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
add eax, 0xc
cmp edx, ecx
mov dword [ebx], eax
jb 0x4212cb
mov edi, eax
mov eax, ecx
lea esi, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x608
ret 4
Function at 0x4212e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44b99c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ebx
or eax, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov byte [esi + 0x94], bl
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
lea edi, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.0041c880
mov dword [esi], 0x44d994
mov dword [edi], 0x44d988
mov dword [esi + 0x58], 0x44d960
lea eax, [esi + 0x98]
mov dword [esp + 0x18], 2
cmp eax, ebx
je 0x421372
lea ebx, [eax - 0x98]
push eax
lea ecx, [ebx + 8]
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa0]
mov byte [esp + 0x18], 3
call fcn.0041cd40
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x44d954
mov dword [esi], 0x44d948
mov dword [esi + 0x58], 0x44d920
mov dword [esi + 0x74], 4
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4215f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x42177d
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 0xf
jne 0x421648
push 1
call fcn.004215a0
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], edi
call fcn.00421840
mov ecx, esi
mov dword [ebp], 0
call fcn.00421590
test eax, eax
je 0x4216ae
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x110
jne 0x42168c
push 1
mov ecx, esi
call fcn.004215a0
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040a490
mov ecx, esi
call fcn.00421790
mov ecx, esi
mov dword [ebp], eax
call fcn.00421590
test eax, eax
je 0x4216ae
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x4216ae
cmp di, 0x402
jne 0x4216ae
mov ecx, esi
call fcn.004218e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push ebp
push ecx
push edi
push ebx
push edx
lea ecx, [esi + 0x1c]
call fcn.0041c940
test eax, eax
jne 0x421771
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x421746
test eax, eax
je 0x4216de
lea esi, [eax - 0x78]
jmp 0x4216e0
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x421715
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x421706
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42171a
test edi, edi
jne 0x421715
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42171a
cmp edi, 1
je 0x42176a
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.00421f40
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x42177d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x42176a
cmp dword [eax + 0x18], ecx
je 0x42176a
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x4231d0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x423206
pop edi
xor eax, eax
pop esi
ret 4
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push ecx
push edx
push esi
call fcn.00423240
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x423240
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.004364f0
mov eax, dword [esp + 0x1010]
push ebx
push ebp
push esi
cmp eax, 0xffffffff
push edi
je 0x42336c
mov ebp, dword [esp + 0x1024]
xor esi, esi
cmp ebp, esi
je 0x42336c
mov ecx, dword [esp + 0x1028]
cmp ecx, esi
jle 0x42336c
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
mov ebx, eax
mov eax, ecx
sar ebx, 0xc
and eax, 0x80000fff
jns 0x42329e
dec eax
or eax, 0xfffff000
inc eax
cmp ebx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
jle 0x42330e
mov edx, dword [esp + 0x1020]
mov ecx, 0x400
mov esi, ebp
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x24]
push 0x1000
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42336c
mov eax, dword [esp + 0x102c]
test eax, eax
je 0x4232f7
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
add edx, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x14]
add ebp, 0x1000
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x4232ae
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x42335c
mov ecx, eax
mov esi, ebp
mov edx, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
lea edx, [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x102c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42336c
mov eax, dword [esp + 0x102c]
test eax, eax
je 0x42335c
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
add edx, ecx
mov dword [eax], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x100c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x100c
ret
Function at 0x423820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, ebp
xor eax, eax
push esi
push edi
mov edi, dword [esp + 0x14]
mov dword [ecx], eax
push edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x423853
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x423870
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
mov dword [ebp], eax
mov dword [ebp + 4], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10

Function at 0x423890
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00423700
add esp, 8
test eax, eax
jne 0x4238ad
pop esi
ret
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
ret

Function at 0x4244a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44bbc4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004240c0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
lea ecx, [esi + 0x5c]
cmp ecx, edi
je 0x4244e5
lea eax, [ecx - 0x5c]
jmp 0x4244e7
xor eax, eax
push ebx
push ebp
push ecx
add eax, 0x44
push 0x40
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cl, byte [esp + 0x13]
mov dword [esi + 0x68], edi
mov byte [esi + 0x64], cl
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dl, byte [esp + 0x13]
mov dword [esi + 0x78], edi
mov byte [esi + 0x74], dl
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
lea ecx, [esi + 0x84]
mov byte [esp + 0x20], 4
call fcn.0040f320
mov eax, dword [0x455050]
mov dword [esi + 0xb0], eax
mov dword [esi], 0x44d9f8
mov dword [esi + 0x3c], 0x44d9ec
mov dword [esi + 0xa4], 0x3f800000
mov dword [esi + 0xac], 1
mov dword [esi + 0xb4], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xb8], 0x6501
mov dword [esi + 0xa8], edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 0xc
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push ebx
push edi
mov ebp, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp ebp, 0x20
pop ebp
pop ebx
jge 0x4245a6
mov dword [esi + 0xb4], 1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x426110
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x42630d
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 0xf
jne 0x42614f
push 1
call fcn.004260c0
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], edi
call fcn.00426780
jmp 0x426220
cmp ebx, 0x110
jne 0x426197
push 1
mov ecx, esi
call fcn.004260c0
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.0040a490
mov ecx, esi
call fcn.00426a40
mov ecx, esi
mov dword [ebp], eax
call fcn.004260b0
test eax, eax
je 0x42623e
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x426207
cmp di, 0x3ea
jne 0x4261b9
mov ecx, esi
call fcn.00426320
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f4
jne 0x4261d3
mov ecx, esi
call fcn.00426b00
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f3
jne 0x4261ed
mov ecx, esi
call fcn.00427080
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x405
jne 0x42623e
mov ecx, esi
call fcn.004270e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x113
jne 0x42623e
push 1
mov ecx, esi
call fcn.004260c0
push edi
mov ecx, esi
call fcn.00426720
mov ecx, esi
mov dword [ebp], 0
call fcn.004260b0
test eax, eax
je 0x42623e
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push ebp
push ecx
push edi
push ebx
push edx
lea ecx, [esi + 0x1c]
call fcn.0041c940
test eax, eax
jne 0x426301
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x4262d6
test eax, eax
je 0x42626e
lea esi, [eax - 0x78]
jmp 0x426270
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x4262a5
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x426296
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4262aa
test edi, edi
jne 0x4262a5
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4262aa
cmp edi, 1
je 0x4262fa
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.00428090
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x42630d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x4262fa
cmp dword [eax + 0x18], ecx
je 0x4262fa
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
mov dword [ebp], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x428a70
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.004364f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x201c]
test esi, esi
push edi
je 0x428b63
mov ebx, dword [esp + 0x2024]
test ebx, ebx
je 0x428b63
mov ebp, dword [esp + 0x2028]
cmp ebp, 0x80
jl 0x428b63
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x428b63
cmp eax, 0x1fff
ja 0x428b63
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x428b63
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x455860
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x428b63
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
shr edx, 0x10
push ecx
push edx
push str._d._d._d._d
push ebx
call fcn.00437f89
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x200c
ret
Function at 0x429420
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
push 0
rep stosd dword es:[edi], eax
push 0
push 0
push 0
push 0
stosw word es:[edi], ax
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x429608
mov eax, dword [0x455050]
mov ecx, str.update.360safe.com
test ecx, ecx
mov dword [esp + 0xc], eax
je 0x4294c9
mov edx, ecx
shr edx, 0x10
jne 0x429488
xor eax, eax
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.004015b0
jmp 0x4294c9
push str.update.360safe.com
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4294c9
push esi
lea ecx, [esp + 0x10]
call fcn.00401820
test eax, eax
je 0x4294c9
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x4294c9
mov edi, dword [esp + 0xc]
mov eax, ecx
mov esi, str.update.360safe.com
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
test esi, esi
jne 0x4294f0
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x429523
mov ecx, dword [esp + 0x58]
push 0
push 0x8440c100
push 0
push 0
push str.HTTP_1.1
push ecx
push 0x4565c8
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
jne 0x42954f
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push esi
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x455054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x429608
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429608
jmp 0x4295f8
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4295ad
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push esi
call ebx
push edi
call ebx
mov eax, dword [esp + 0xc]
mov edx, dword [0x455054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429608
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429608
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x13
push edi
mov dword [esp + 0x24], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
push ebx
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x455054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x429608
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429608
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0042ac06
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
Function at 0x429640
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x4297f0
push 0
push 0
mov dword [esi], 0
mov dword [esp + 0x1c], 0
call fcn.0043801f
add esp, 0x18
mov dword [esi + 8], eax
pop esi
pop ecx
ret

Function at 0x42a790
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x14]
pop edi
cmp eax, 2
jne 0x42a7d4
cmp dword [esp + 4], 6
jb 0x42a7d4
mov eax, 1
add esp, 0x11c
ret
xor eax, eax
add esp, 0x11c
ret
Function at 0x42daf0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x42eda0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x45b818
jmp fcn.0042edb0
Function at 0x430d10
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x430d3f
push str.GetFileSizeEx__
push eax
push 0x112
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042b7e0
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x430f90
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x430fcc
push str.SetFilePointerEx__
push eax
push 0xed
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042b7e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x431005
push str.ReadFile__
push eax
push 0xf0
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042b7e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x431029
push 0x457088
push 1
push 0xf2
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042bcb0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x431490
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4314cc
push str.SetFilePointerEx__
push eax
push 0x102
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042b7e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x431505
push str.WriteFile__
push eax
push 0x105
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042b7e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x431529
push 0x457144
push 1
push 0x107
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042bcb0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x432460
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43248a
push str.SetEndOfFile__
push eax
push 0x126
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042b7e0
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x432e40
Capabilities:
Hash data with md5

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