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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c6cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1024
call fcn.00419ca0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.0041bc50
mov dword [ebp - 4], 0
push 0x1000
push 0
lea eax, [ebp - 0x1030]
push eax
call fcn.0043ad10
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1030]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x426f62
lea eax, [ebp - 0x1030]
push eax
call fcn.00446496
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401490
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041bbf0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041fbb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4279a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c77d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea ecx, [ebp - 0x6c]
call fcn.0041bc50
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4279da
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x427a35
lea edx, [ebp - 0x6c]
push edx
push 0
call fcn.00426e60
add esp, 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x427a06
mov dword [ebp - 0x24], 1
jmp 0x427a0d
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x427a29
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp + 8], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x427b82
mov edx, dword [ebp - 0x14]
add edx, 0x20
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00443a3c
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x427a89
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041fbb0
mov eax, dword [ebp - 0x34]
jmp 0x427b9b
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x427b76
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x479778
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x427b76
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
and ecx, 0xffff
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
push str._d._d._d._d
lea ecx, [ebp - 0x84]
push ecx
call fcn.0041e230
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004141c0
lea ecx, [ebp - 0x84]
call fcn.0041fac0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00443885
add esp, 4
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041fbb0
mov eax, dword [ebp - 0x50]
jmp 0x427b9b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00443885
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0041fbb0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42a630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c09d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp dword [ebp + 8], 0
je 0x42a669
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x42a669
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a66d
xor eax, eax
jmp 0x42a6c9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00429a60
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042a480
test eax, eax
je 0x42a6b0
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041fac0
mov eax, dword [ebp - 0x10]
jmp 0x42a6c9
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041fac0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x42a7d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c96d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp dword [ebp + 8], 0
je 0x42a809
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x42a809
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a810
xor al, al
jmp 0x42a89d
mov eax, dword [ebp + 8]
push eax
call fcn.0042a8b0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040c380
mov dword [ebp - 4], 0
push 1
lea edx, [ebp - 0x2c]
push edx
call fcn.0042f280
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041fbb0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 8], 0
je 0x42a87d
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test edx, edx
je 0x42a87d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a87d
mov dword [ebp - 0x10], 1
jmp 0x42a884
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x42a893
mov dword [ebp - 0x14], 1
jmp 0x42a89a
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42a920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x42a94b
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x42a94b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a952
xor al, al
jmp 0x42a9db
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042a9e0
add esp, 0x14
movzx edx, al
test edx, edx
je 0x42a9b6
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042ac90
add esp, 0x14
movzx edx, al
test edx, edx
jne 0x42a9af
jmp 0x42a9b6
mov dword [ebp - 0x14], 1
cmp dword [ebp - 8], 0
je 0x42a9c8
mov eax, dword [ebp - 8]
push eax
call fcn.00443885
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x42a9d4
mov byte [ebp - 1], 1
jmp 0x42a9d8
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x431ad0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x431af2
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jbe 0x431af2
mov eax, 1
jmp 0x431bc2
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x18], 3
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x431b3d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.00443a3c
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x431b90
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x6f
jne 0x431b88
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call fcn.00443885
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
jmp 0x431b90
cmp dword [ebp - 8], 0
jne 0x431b90
jmp 0x431ba5
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x18]
jl 0x431b1f
cmp dword [ebp - 8], 0
jne 0x431bc0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx + 0xc], ecx
mov eax, 1
jmp 0x431bc2
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x431f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp dword [ebp + 8], 0
je 0x431f6c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x431f6c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431f73
xor eax, eax
jmp 0x43204a
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00429a60
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x431f9f
mov dword [ebp - 0x14], 1
jmp 0x431fa6
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x432031
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x431fcc
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004245f0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.0045a070
mov byte [ebp - 4], 1
push 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004623c0
movzx ecx, al
cmp ecx, 1
jne 0x432001
mov dword [ebp - 0x18], 1
jmp 0x432008
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.00410a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041fac0
mov eax, dword [ebp - 0x20]
jmp 0x43204a
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041fac0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x433610
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret
Function at 0x434490
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d0bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
lea ecx, [ebp - 0x68]
call fcn.00428340
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
cmp dword [ebp + 0xc], 0
je 0x4344d6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x4344dd
mov dword [ebp - 0x10], 0x47e3d0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00446496
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00401490
cmp dword [ebp + 0x10], 0
je 0x434510
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
jmp 0x434517
mov dword [ebp - 0x14], 0x47e3d4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00446496
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x50]
call fcn.00401490
cmp dword [ebp + 8], 0
jne 0x434553
lea ecx, [ebp - 0x68]
push ecx
push 0x4341c0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x434566
lea edx, [ebp - 0x68]
push edx
push 0x4341c0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [ebp + 0x14], 0
je 0x434578
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004340f0
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00428440
lea ecx, [ebp - 0x50]
call fcn.0041fbb0
lea ecx, [ebp - 0x68]
call fcn.0041fbb0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x436020
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x437c40
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x495070
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov esi, dword [ebp - 0x10]
adc esi, 0
mov edi, dword [ebp - 8]
mov ebx, ecx
mov ecx, esi
lock cmpxchg8b qword [edi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jne 0x437c57
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jne 0x437c57
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov edx, dword [ebp - 0x10]
adc edx, 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
cmp dword [0x4938d8], 0
je 0x437d0a
push 0x495090
push 0x495080
push 0x495088
push 0x495078
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov dword [ebp - 4], 0xff
lea eax, [ebp - 4]
push eax
push 0x495098
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [ebp - 4], 0x100
jae 0x437d00
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx*2 + 0x495098], cx
mov dword [0x4938d8], 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x495098
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [0x49507c]
push eax
mov ecx, dword [0x495078]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
movzx ecx, word [ebp - 0x2a]
push ecx
movzx edx, word [ebp - 0x2c]
push edx
movzx eax, word [ebp - 0x2e]
push eax
movzx ecx, word [ebp - 0x32]
push ecx
movzx edx, word [ebp - 0x34]
push edx
push str._04d__02d__02d__02d:_02d:_02d:_04d_016I64X_06d__06d__016I64X__016I64d__s
lea eax, [ebp - 0x4c]
push eax
call fcn.0041e600
add esp, 0x48
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041bbf0
mov edx, dword [ebp - 0xc]
or edx, 1
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x4c]
call fcn.0041fbb0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438c50
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x50], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x438e08
cmp dword [ebp + 0xc], 0
je 0x438cd9
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x80000016
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x438cd9
push 0
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00439f10
mov ecx, dword [ebp + 0xc]
call fcn.0041f800
mov dword [ebp - 0x34], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0x80000016
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
je 0x438e08
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x16
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7a
jne 0x438e08
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
ja 0x438d3b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0041f630
jmp 0x438d4c
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0041fdf0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 8
jb 0x438d6a
mov dword [ebp - 0x24], 1
jmp 0x438d71
mov dword [ebp - 0x24], 0
mov dl, byte [ebp - 0x24]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x438d8d
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x438dbe
mov dword [ebp - 0x2c], 1
jmp 0x438dc5
mov dword [ebp - 0x2c], 0
mov al, byte [ebp - 0x2c]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x438de1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0x16
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x439240
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x439395
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x439395
xor ecx, ecx
je 0x4392c5
push 0
push 0x10000
push 0x439480
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x4392c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47f74c
push str._s:WinHttpSetStatusCallback___failed:_d
mov eax, dword [ebp - 0xc]
push eax
call fcn.00439ee0
add esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0x1f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x439308
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47f7c8
push str._s:WinHttpQueryOption___failed:_d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00439ee0
add esp, 0x10
mov edx, dword [ebp - 4]
or edx, 0x100
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
or eax, 0x2000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
or ecx, 0x1000
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x3300
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 0x1f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x43936a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenRequest
push str._s:WinHttpSetOption___failed:_d
mov edx, dword [ebp - 0xc]
push edx
call fcn.00439ee0
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x439395
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x439395
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00438150
mov ecx, dword [ebp + 0x14]
add ecx, 4
mov dword [ebp + 0x14], ecx
jmp 0x439370
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x20