joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431cee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
push 0x44
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004265e0
xor eax, eax
cmp dword [ebp + 0xc], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x43b580
cmovne eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push str.__ls___ls
push eax
call fcn.00433b0a
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x431da0
mov cx, word [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x58], 0x44
push dword [ebp + 8]
mov word [ebp - 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x431d95
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.0042fef9
jmp 0x431da0
mov ecx, dword [ebp - 0x14]
mov eax, 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 0x431db3
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x431dc0
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], ebx
je 0x431dcd
push dword [ebp - 4]
call fcn.00434266
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x435f35
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4560d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
mov dword [ebp - 0x10], ebx
call fcn.004360bf
cmp dword [ebp - 0x14], ebx
je 0x435f71
mov dword [esi], 1
jmp 0x435fa5
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 0x435fa5
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x435fa5
mov dword [esi], ebx
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x435fb5
push dword [ebp - 0x10]
call fcn.00434266
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004265cb
leave
ret 4
Function at 0x435fc5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4560d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 0x11c
push ebx
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004265e0
mov eax, dword [0x457f4c]
add esp, 0xc
test eax, eax
jne 0x4360a5
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], ebx
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 [0x457f50], ecx
cmp dword [ebp - 0x11c], edx
jne 0x43603b
xor eax, eax
inc eax
jmp 0x4360a0
cmp dword [ebp - 0x11c], 5
jne 0x436066
mov ecx, dword [ebp - 0x118]
test ecx, ecx
jne 0x436052
push 2
jmp 0x43609f
cmp ecx, 1
jne 0x43605b
push 3
jmp 0x43609f
push 9
pop eax
cmp ecx, 2
cmove eax, edx
jmp 0x4360a0
cmp dword [ebp - 0x11c], 6
jne 0x43609d
cmp dword [ebp - 0x118], 0
jne 0x436086
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 5
jmp 0x4360a0
cmp dword [ebp - 0x118], 1
jne 0x43609d
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 7
jmp 0x4360a0
push 9
pop eax
mov dword [0x457f4c], eax
mov ecx, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [0x457f50]
mov dword [edi], eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265cb
leave
ret 8
Function at 0x4363bb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0042f550
mov eax, dword [0x4560d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
xorps xmm0, xmm0
push esi
movlpd qword [ebp - 0x100c], xmm0
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
xor esi, esi
mov dword [ebp - 0x1010], ecx
cmp dword [ebp + 0x10], 0
jne 0x436415
cmp dword [ebp + 0x14], 0
je 0x43642c
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edi
sbb edx, ecx
test edx, edx
jb 0x43643a
ja 0x43642c
cmp eax, 0x1000
jbe 0x43643a
and dword [ebp - 0x1008], 0
mov eax, 0x1000
jmp 0x436440
mov dword [ebp - 0x1008], edx
push 0
lea ecx, [ebp - 0x1008]
push ecx
push eax
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4364c0
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x436490
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1018]
call fcn.004371c4
mov esi, eax
test esi, esi
js 0x4364ee
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 0x4364b5
jb 0x4364ad
cmp edi, dword [ebp + 0x10]
jae 0x4364b5
test eax, eax
jne 0x436409
test ebx, ebx
je 0x4364ee
mov dword [ebx], edi
mov dword [ebx + 4], ecx
jmp 0x4364ee
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.0042fef9
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265cb
leave
ret 0x14

Function at 0x436501
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
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 0x4365d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x436547
cmp eax, 0x50
je 0x43653f
cmp eax, 0xb7
jne 0x436547
xor esi, esi
inc esi
jmp 0x4365d8
cmp eax, 3
jne 0x4365ca
movzx eax, word [ebx]
mov edi, esi
mov ecx, ebx
test ax, ax
je 0x4365c3
push 0x5c
pop edx
cmp ax, dx
cmove edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x43655b
test edi, edi
je 0x4365c3
push esi
xor eax, eax
push ebx
mov word [edi], ax
call fcn.00437671
mov esi, eax
push 0x5c
pop eax
mov word [edi], ax
test esi, esi
js 0x4365d8
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4365d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x4365d8
push esi
push 0x452
push str.fileutil.cpp
call fcn.0042fef9
jmp 0x4365d8
mov esi, 0x80070003
jmp 0x4365d8
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 0x436632
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.00436918
test eax, eax
je 0x4366b9
test byte [ebp - 4], 7
push ebx
mov ebx, 0x80070000
je 0x436687
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x436687
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, ebx
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x436687
push esi
push 0x5ba
jmp 0x4366ae
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4366b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, ebx
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x4366b8
push esi
push 0x5c0
push str.fileutil.cpp
call fcn.0042fef9
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x4366c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
xor esi, esi
inc eax
push edi
test ebx, ebx
mov edi, esi
cmovne edi, eax
cmp dword [ebp + 0x14], esi
je 0x4366dd
or edi, 2
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4367ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x436710
cmp eax, 0x50
je 0x436708
cmp eax, 0xb7
jne 0x436710
xor esi, esi
inc esi
jmp 0x4367ad
cmp eax, 3
jne 0x43679f
mov eax, dword [ebp + 0xc]
mov ebx, esi
movzx ecx, word [eax]
mov edx, eax
test cx, cx
je 0x436798
mov dword [ebp + 0x10], 0x5c
cmp cx, word [ebp + 0x10]
cmove ebx, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x43672f
test ebx, ebx
je 0x436798
push esi
xor ecx, ecx
push eax
mov word [ebx], cx
call fcn.00437671
mov esi, eax
mov eax, dword [ebp + 0x10]
mov word [ebx], ax
test esi, esi
js 0x4367ad
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4367ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x4367ad
push esi
push 0x4c5
push str.fileutil.cpp
call fcn.0042fef9
jmp 0x4367ad
mov esi, 0x80070003
jmp 0x4367ad
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x436f2b
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 0x436f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x436f80
push esi
push 0x120
push str.fileutil.cpp
call fcn.0042fef9
jmp 0x437027
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x436f9b
mov esi, 0x8007000e
push esi
push 0x124
jmp 0x436f71
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x436fcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x436fcc
push esi
push 0x128
jmp 0x437001
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x452bdc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43700d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x43700d
push esi
push 0x12d
push str.fileutil.cpp
call fcn.0042fef9
jmp 0x437020
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
leave
ret 0xc

Function at 0x4371c4
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 0x43720a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x437214
add edi, dword [ebp - 4]
cmp edi, dword [ebp + 0x10]
jb 0x4371d5
jmp 0x437224
push esi
push 0x3ed
push str.fileutil.cpp
call fcn.0042fef9
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x437671
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x437737
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4376aa
cmp eax, 3
je 0x4376b1
push esi
push edi
call fcn.0043773f
test eax, eax
je 0x4376b1
xor esi, esi
jmp 0x437737
movzx eax, word [edi]
push ebx
xor ebx, ebx
mov ecx, edi
test ax, ax
je 0x437724
push 0x5c
pop edx
cmp ax, dx
cmove ebx, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4376c1
test ebx, ebx
je 0x437724
push dword [ebp + 0xc]
xor eax, eax
push edi
mov word [ebx], ax
call fcn.00437671
mov esi, eax
push 0x5c
pop eax
mov word [ebx], ax
test esi, esi
js 0x437736
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x437720
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x437710
xor esi, esi
inc esi
jmp 0x437736
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x437736
xor esi, esi
jmp 0x437736
mov esi, 0x80070003
push esi
push 0x7d
push str.dirutil.cpp
call fcn.0042fef9
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x43773f
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 0x437763
test al, 0x10
je 0x437763
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x437760
mov dword [ecx], eax
xor esi, esi
inc esi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x438034
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.0042f550
mov eax, dword [0x4560d0]
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.004265e0
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 0x4380cc
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 0x438183
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 0x43813f
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 0x438183
push 0
cmp dword [ebp - 0x1010], esi
je 0x4381f2
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 0x4381cc
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 0x438110
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.0042fef9
cmp dword [ebp - 0x1008], 0
je 0x4381a2
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x100c], 0
je 0x4381b9
push 0
push dword [ebp - 0x100c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265cb
leave
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 0x438183
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 0x438237
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 0x438183
test ebx, ebx
je 0x43818d
push 1
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43818d
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 0x438183
Function at 0x4384b0
Capabilities:
Get http content length

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x246c
call fcn.0042f550
mov eax, dword [0x4560d0]
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]
mov dword [ebp - 0x241c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov dword [ebp - 0x2428], eax
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
xor esi, esi
lea eax, [ebp - 0x246c]
push esi
push eax
call fcn.004265e0
add esp, 0xc
mov dword [ebp - 0x246c], 0x3c
cmp dword [ebp - 0x241c], esi
je 0x4386d3
lea eax, [ebp - 0x410]
mov dword [ebp - 0x245c], eax
mov dword [ebp - 0x2458], 0x101
mov ecx, 0x81
cmp dword [ebp - 0x2424], esi
je 0x4386f2
lea eax, [ebp - 0x108]
mov dword [ebp - 0x2450], eax
mov dword [ebp - 0x244c], ecx
cmp dword [ebp - 0x2420], esi
je 0x43870c
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x2448], eax
mov dword [ebp - 0x2444], ecx
mov ecx, 0x801
test ebx, ebx
je 0x438727
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x2440], eax
mov dword [ebp - 0x243c], ecx
test edi, edi
je 0x43873d
lea eax, [ebp - 0x2418]
mov dword [ebp - 0x2438], eax
mov dword [ebp - 0x2434], ecx
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 0x43878a
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.0042fef9
jmp 0x43884e
mov ecx, dword [ebp - 0x242c]
test ecx, ecx
je 0x43879c
mov eax, dword [ebp - 0x2460]
mov dword [ecx], eax
mov eax, dword [ebp - 0x241c]
test eax, eax
je 0x4387c2
push dword [ebp - 0x2458]
push dword [ebp - 0x245c]
push eax
call fcn.00433da8
mov esi, eax
test esi, esi
js 0x43884e
mov eax, dword [ebp - 0x2428]
test eax, eax
je 0x4387d6
mov cx, word [ebp - 0x2454]
mov word [eax], cx
mov eax, dword [ebp - 0x2424]
test eax, eax
je 0x4387f8
push dword [ebp - 0x244c]
push dword [ebp - 0x2450]
push eax
call fcn.00433da8
mov esi, eax
test esi, esi
js 0x43884e
mov eax, dword [ebp - 0x2420]
test eax, eax
je 0x43881a
push dword [ebp - 0x2444]
push dword [ebp - 0x2448]
push eax
call fcn.00433da8
mov esi, eax
test esi, esi
js 0x43884e
test ebx, ebx
je 0x438836
push dword [ebp - 0x243c]
push dword [ebp - 0x2440]
push ebx
call fcn.00433da8
mov esi, eax
test esi, esi
js 0x43884e
test edi, edi
je 0x43884e
push dword [ebp - 0x2434]
push dword [ebp - 0x2438]
push edi
call fcn.00433da8
mov esi, eax
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265cb
leave
ret 0x20
Function at 0x101be9dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101d9b20]
jne 0x101be9e7
repz ret
jmp fcn.101c03c3

Function at 0x101c007e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.101bf466
and dword [ebp - 4], 0
cmp dword [0x101db490], 0
mov ebx, eax
jne 0x101c012f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101c01e0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101c01e0
push eax
call fcn.101bf3f4
mov dword [esp], 0x101c6e10
push edi
mov dword [0x101db490], eax
call esi
push eax
call fcn.101bf3f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101db494], eax
call esi
push eax
call fcn.101bf3f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101db498], eax
call esi
push eax
call fcn.101bf3f4
pop ecx
mov dword [0x101db4a0], eax
test eax, eax
je 0x101c012f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101bf3f4
pop ecx
mov dword [0x101db49c], eax
mov eax, dword [0x101db49c]
cmp eax, ebx
je 0x101c0187
cmp dword [0x101db4a0], ebx
je 0x101c0187
push eax
call fcn.101bf46f
push dword [0x101db4a0]
mov esi, eax
call fcn.101bf46f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101c0187
test edi, edi
je 0x101c0187
call esi
test eax, eax
je 0x101c017e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101c017e
test byte [ebp - 0xc], 1
jne 0x101c0187
or dword [ebp + 0x10], 0x200000
jmp 0x101c01c0
mov eax, dword [0x101db494]
cmp eax, ebx
je 0x101c01c0
push eax
call fcn.101bf46f
pop ecx
test eax, eax
je 0x101c01c0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101c01c0
mov eax, dword [0x101db498]
cmp eax, ebx
je 0x101c01c0
push eax
call fcn.101bf46f
pop ecx
test eax, eax
je 0x101c01c0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101db490]
call fcn.101bf46f
pop ecx
test eax, eax
je 0x101c01e0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101c01e2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret