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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
push esi
push edi
test eax, eax
je 0x435423
cmp word [eax], cx
je 0x435423
push ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00437e7f
mov esi, eax
test esi, esi
js 0x4354ab
lea eax, [ebp - 4]
push eax
call fcn.004350af
mov esi, eax
test esi, esi
js 0x4354ab
mov edi, dword [ebp + 0x14]
push ebx
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x10], ebx
jb 0x43549e
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00437bd9
mov esi, eax
add esp, 0xc
test esi, esi
js 0x4354aa
push dword [ebp - 8]
push dword [ebp - 4]
push str._s_s
push edi
call fcn.00437bd9
mov esi, eax
add esp, 0x10
test esi, esi
js 0x4354aa
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43549c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43547a
inc ebx
mov esi, 0x800700b7
cmp ebx, dword [ebp + 0x10]
jbe 0x4353bc
jmp 0x4354aa
mov edi, 0x104
lea eax, [ebp - 4]
push edi
push eax
call fcn.00437acc
mov esi, eax
test esi, esi
js 0x4354ab
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4353ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x2d2
push str.pathutil.cpp
call fcn.00433f1c
jmp 0x4354ab
cmp eax, 3
jne 0x43548c
push 0
push dword [edi]
call fcn.0043b76e
mov esi, eax
jmp 0x43549e
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x43549e
xor esi, esi
test esi, esi
js 0x4354aa
push edi
call fcn.004350af
mov esi, eax
pop ebx
cmp dword [ebp - 8], 0
je 0x4354b9
push dword [ebp - 8]
call fcn.0043bfd9
cmp dword [ebp - 4], 0
je 0x4354c7
push dword [ebp - 4]
call fcn.0043bfd9
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435d29
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00426ad0
xor eax, eax
lea edi, [ebp - 0x14]
cmp dword [ebp + 0xc], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x440580
cmovne eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push str.__ls___ls
push eax
call fcn.00437bd9
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x435dda
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x44
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov word [ebp - 0x28], cx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x435dcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xa9
push str.procutil.cpp
call fcn.00433f1c
jmp 0x435dda
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [eax], ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x435ded
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x435dfa
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], ebx
je 0x435e07
push dword [ebp - 4]
call fcn.0043bfd9
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x43a005
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
xor ebx, ebx
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call fcn.0043a193
cmp dword [ebp - 0x14], ebx
je 0x43a041
mov dword [esi], 1
jmp 0x43a075
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esi], eax
test eax, eax
je 0x43a075
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x43a075
mov dword [esi], ebx
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x43a085
push dword [ebp - 0x10]
call fcn.0043bfd9
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00426ab9
mov esp, ebp
pop ebp
ret 4
Function at 0x43a097
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x120]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 0x11c
push ebx
push 0
push eax
call fcn.00426ad0
mov eax, dword [0x45d39c]
add esp, 0xc
test eax, eax
jne 0x43a177
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0xa]
shl ecx, 0x10
push 4
or ecx, eax
pop edx
mov dword [0x45d3a0], ecx
cmp dword [ebp - 0x11c], edx
jne 0x43a10d
xor eax, eax
inc eax
jmp 0x43a172
cmp dword [ebp - 0x11c], 5
jne 0x43a138
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x43a124
push 2
jmp 0x43a171
cmp ecx, 1
jne 0x43a12d
push 3
jmp 0x43a171
push 9
cmp ecx, 2
pop eax
cmove eax, edx
jmp 0x43a172
cmp dword [ebp - 0x11c], 6
jne 0x43a16f
cmp dword [ebp - 0x118], 0
jne 0x43a158
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 5
jmp 0x43a172
cmp dword [ebp - 0x118], 1
jne 0x43a16f
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 7
jmp 0x43a172
push 9
pop eax
mov dword [0x45d39c], eax
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov eax, dword [0x45d3a0]
mov dword [edi], eax
pop edi
pop esi
pop ebx
call fcn.00426ab9
mov esp, ebp
pop ebp
ret 8
Function at 0x43a49d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0042fef0
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
movlpd qword [ebp - 0x100c], xmm0
xor esi, esi
mov ecx, dword [ebp - 0x1008]
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp - 0x100c]
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1010], ecx
cmp dword [ebp + 0x10], 0
jne 0x43a4fe
cmp dword [ebp + 0x14], 0
jne 0x43a4fe
mov eax, 0x1000
jmp 0x43a529
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edi
sbb edx, ecx
test edx, edx
jb 0x43a523
ja 0x43a515
cmp eax, 0x1000
jbe 0x43a523
and dword [ebp - 0x1008], 0
mov eax, 0x1000
jmp 0x43a529
mov dword [ebp - 0x1008], edx
push 0
lea ecx, [ebp - 0x1008]
mov dword [ebp - 0x1008], eax
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43a5a9
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x43a579
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1018]
call fcn.0043b2bd
mov esi, eax
test esi, esi
js 0x43a5d7
mov eax, dword [ebp - 0x1008]
mov ecx, dword [ebp - 0x1010]
add edi, eax
adc ecx, 0
mov dword [ebp - 0x1010], ecx
cmp ecx, dword [ebp + 0x14]
ja 0x43a59e
jb 0x43a596
cmp edi, dword [ebp + 0x10]
jae 0x43a59e
test eax, eax
jne 0x43a4eb
test ebx, ebx
je 0x43a5d7
mov dword [ebx], edi
mov dword [ebx + 4], ecx
jmp 0x43a5d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x40d
push str.fileutil.cpp
call fcn.00433f1c
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426ab9
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43a5ec
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
sete al
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43a6c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x43a632
cmp eax, 0x50
je 0x43a62a
cmp eax, 0xb7
jne 0x43a632
xor esi, esi
inc esi
jmp 0x43a6c3
cmp eax, 3
jne 0x43a6b5
movzx eax, word [ebx]
mov edi, esi
mov ecx, ebx
test ax, ax
je 0x43a6ae
push 0x5c
pop edx
cmp ax, dx
cmove edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x43a646
test edi, edi
je 0x43a6ae
push esi
xor eax, eax
push ebx
mov word [edi], ax
call fcn.0043b76e
mov esi, eax
push 0x5c
pop eax
mov word [edi], ax
test esi, esi
js 0x43a6c3
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x43a6c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43a6c3
push esi
push 0x452
push str.fileutil.cpp
call fcn.00433f1c
jmp 0x43a6c3
mov esi, 0x80070003
jmp 0x43a6c3
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x43a71d
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.0043aa02
test eax, eax
je 0x43a7a4
test byte [ebp - 4], 7
push ebx
mov ebx, 0x80070000
je 0x43a772
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43a772
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, ebx
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43a772
push esi
push 0x5c2
jmp 0x43a799
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43a7a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, ebx
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43a7a3
push esi
push 0x5c8
push str.fileutil.cpp
call fcn.00433f1c
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43a7ad
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
xor eax, eax
mov ebx, esi
inc eax
cmp dword [ebp + 0x10], ebx
cmovne ebx, eax
cmp dword [ebp + 0x14], esi
je 0x43a7c7
or ebx, 2
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43a8b6
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [ebp + 0x10], esi
jne 0x43a7ff
cmp edi, 0x50
je 0x43a7f7
cmp edi, 0xb7
jne 0x43a7ff
xor esi, esi
inc esi
jmp 0x43a8b5
cmp edi, 2
jne 0x43a818
push esi
push dword [ebp + 8]
call fcn.0043aa02
test eax, eax
je 0x43a8a7
push 3
pop edi
cmp edi, 3
jne 0x43a8a7
mov eax, dword [ebp + 0xc]
mov edi, esi
mov edx, eax
movzx ecx, word [eax]
test cx, cx
je 0x43a8a0
mov dword [ebp + 0x10], 0x5c
cmp cx, word [ebp + 0x10]
cmove edi, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x43a837
test edi, edi
je 0x43a8a0
push esi
xor ecx, ecx
push eax
mov word [edi], cx
call fcn.0043b76e
mov esi, eax
mov eax, dword [ebp + 0x10]
mov word [edi], ax
test esi, esi
js 0x43a8b5
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x43a8b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43a8b5
push esi
push 0x4d2
push str.fileutil.cpp
call fcn.00433f1c
jmp 0x43a8b5
mov esi, 0x80070003
jmp 0x43a8b5
movzx esi, di
or esi, 0x80070000
test edi, edi
cmovle esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x43b020
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push dword [ebp + 8]
mov esi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x43b075
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43b075
push esi
push 0x120
push str.fileutil.cpp
call fcn.00433f1c
jmp 0x43b11c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x43b090
mov esi, 0x8007000e
push esi
push 0x124
jmp 0x43b066
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43b0c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43b0c1
push esi
push 0x128
jmp 0x43b0f6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x457d40
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43b102
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43b102
push esi
push 0x12d
push str.fileutil.cpp
call fcn.00433f1c
jmp 0x43b115
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx + 0xc]
mov dword [ecx], edx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43b2bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
and dword [ebp - 4], esi
push edi
xor edi, edi
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43b303
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x43b30d
add edi, dword [ebp - 4]
cmp edi, dword [ebp + 0x10]
jb 0x43b2ce
jmp 0x43b31d
push esi
push 0x3ed
push str.fileutil.cpp
call fcn.00433f1c
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43b76e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43b834
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43b7a7
cmp eax, 3
je 0x43b7ae
push esi
push edi
call fcn.0043b83c
test eax, eax
je 0x43b7ae
xor esi, esi
jmp 0x43b834
movzx eax, word [edi]
mov ecx, edi
push ebx
xor ebx, ebx
test ax, ax
je 0x43b821
push 0x5c
pop edx
cmp ax, dx
cmove ebx, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x43b7be
test ebx, ebx
je 0x43b821
push dword [ebp + 0xc]
xor eax, eax
push edi
mov word [ebx], ax
call fcn.0043b76e
mov esi, eax
push 0x5c
pop eax
mov word [ebx], ax
test esi, esi
js 0x43b833
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43b81d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43b80d
xor esi, esi
inc esi
jmp 0x43b833
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x43b833
xor esi, esi
jmp 0x43b833
mov esi, 0x80070003
push esi
push 0x7d
push str.dirutil.cpp
call fcn.00433f1c
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x43b83c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b860
test al, 0x10
je 0x43b860
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43b85d
mov dword [ecx], eax
xor esi, esi
inc esi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x43c14e
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0042fef0
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1014], eax
xor eax, eax
push 0x1000
push eax
mov esi, eax
mov dword [ebp - 0x100c], eax
mov dword [ebp - 0x1008], eax
mov dword [ebp - 0x1010], eax
lea eax, [ebp - 0x1004]
push eax
call fcn.00426ad0
add esp, 0xc
lea eax, [ebp - 0x100c]
push 0xf0000040
push dword [ebp + 0xc]
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43c1e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x94
jmp 0x43c29d
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x100c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43c259
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x9a
jmp 0x43c29d
push 0
cmp dword [ebp - 0x1010], esi
je 0x43c30e
push dword [ebp - 0x1010]
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43c2e8
push 0
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c22a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xa2
push str.cryputil.cpp
call fcn.00433f1c
cmp dword [ebp - 0x1008], 0
je 0x43c2bc
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x100c], 0
je 0x43c2d3
push 0
push dword [ebp - 0x100c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426ab9
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xad
jmp 0x43c29d
lea eax, [ebp + 0x18]
push eax
push dword [ebp - 0x1014]
push 2
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x43c353
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xb4
jmp 0x43c29d
test ebx, ebx
je 0x43c2a7
push 1
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43c2a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xbb
jmp 0x43c29d
Function at 0x43c5d4
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], 4
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x43c625
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43c625
push esi
push 0x23
push str.inetutil.cpp
call fcn.00433f1c
jmp 0x43c631
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
and dword [edx + 4], 0
mov dword [edx], ecx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43c76b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x246c
call fcn.0042fef0
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2430], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x242c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x241c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x2428], eax
xor esi, esi
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x2424], eax
mov eax, dword [ebp + 0x1c]
push 0x3c
mov dword [ebp - 0x2420], eax
lea eax, [ebp - 0x246c]
push esi
push eax
call fcn.00426ad0
add esp, 0xc
mov dword [ebp - 0x246c], 0x3c
cmp dword [ebp - 0x241c], esi
je 0x43c7fd
lea eax, [ebp - 0x410]
mov dword [ebp - 0x2458], 0x101
mov dword [ebp - 0x245c], eax
mov ecx, 0x81
cmp dword [ebp - 0x2424], esi
je 0x43c81c
lea eax, [ebp - 0x108]
mov dword [ebp - 0x244c], ecx
mov dword [ebp - 0x2450], eax
cmp dword [ebp - 0x2420], esi
je 0x43c836
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x2444], ecx
mov dword [ebp - 0x2448], eax
mov ecx, 0x801
test ebx, ebx
je 0x43c851
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x243c], ecx
mov dword [ebp - 0x2440], eax
test edi, edi
je 0x43c867
lea eax, [ebp - 0x2418]
mov dword [ebp - 0x2434], ecx
mov dword [ebp - 0x2438], eax
lea eax, [ebp - 0x246c]
push eax
push 0x90000000
push esi
push dword [ebp - 0x2430]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x43c8b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x61
push str.uriutil.cpp
call fcn.00433f1c
jmp 0x43c978
mov ecx, dword [ebp - 0x242c]
test ecx, ecx
je 0x43c8c6
mov eax, dword [ebp - 0x2460]
mov dword [ecx], eax
mov eax, dword [ebp - 0x241c]
test eax, eax
je 0x43c8ec
push dword [ebp - 0x2458]
push dword [ebp - 0x245c]
push eax
call fcn.00437e7f
mov esi, eax
test esi, esi
js 0x43c978
mov eax, dword [ebp - 0x2428]
test eax, eax
je 0x43c900
mov cx, word [ebp - 0x2454]
mov word [eax], cx
mov eax, dword [ebp - 0x2424]
test eax, eax
je 0x43c922
push dword [ebp - 0x244c]
push dword [ebp - 0x2450]
push eax
call fcn.00437e7f
mov esi, eax
test esi, esi
js 0x43c978
mov eax, dword [ebp - 0x2420]
test eax, eax
je 0x43c944
push dword [ebp - 0x2444]
push dword [ebp - 0x2448]
push eax
call fcn.00437e7f
mov esi, eax
test esi, esi
js 0x43c978
test ebx, ebx
je 0x43c960
push dword [ebp - 0x243c]
push dword [ebp - 0x2440]
push ebx
call fcn.00437e7f
mov esi, eax
test esi, esi
js 0x43c978
test edi, edi
je 0x43c978
push dword [ebp - 0x2434]
push dword [ebp - 0x2438]
push edi
call fcn.00437e7f
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426ab9
mov esp, ebp
pop ebp
ret 0x20
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219