joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c0ad
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 0x46c97d
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.0040c5a0
mov dword [ebp - 4], 0
push 1
lea edx, [ebp - 0x2c]
push edx
call fcn.0042f600
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.00443895
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 0x42afc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
cmp dword [ebp + 8], 0
je 0x42affc
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x42affc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b003
xor eax, eax
jmp 0x42b0da
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 0x42b02f
mov dword [ebp - 0x14], 1
jmp 0x42b036
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x42b0c1
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x42b05c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004245e0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.0045a080
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.004623d0
movzx ecx, al
cmp ecx, 1
jne 0x42b091
mov dword [ebp - 0x18], 1
jmp 0x42b098
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.004038b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041fac0
mov eax, dword [ebp - 0x20]
jmp 0x42b0da
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 0x431e50
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 0x431e72
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jbe 0x431e72
mov eax, 1
jmp 0x431f42
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 0x431ebd
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.00443a4c
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x431f10
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 0x431f08
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call fcn.00443895
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
jmp 0x431f10
cmp dword [ebp - 8], 0
jne 0x431f10
jmp 0x431f25
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x18]
jl 0x431e9f
cmp dword [ebp - 8], 0
jne 0x431f40
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx + 0xc], ecx
mov eax, 1
jmp 0x431f42
xor eax, eax
mov esp, ebp
pop ebp
ret 4

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 0x46d0cd
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], 0x47e4a0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004464a6
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], 0x47e4a4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004464a6
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.0041bbe0
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 0x438150
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0xa0000000
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x438186
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
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.0041fde0
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 0x47f844
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 0x47f8c0
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
Function at 0x4393a0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4393c9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x439411
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47f574
push str._s:WinHttpOpen___failed:_d
mov eax, dword [ebp - 4]
push eax
call fcn.00439ee0
add esp, 0x10
jmp 0x43945a
mov dword [ebp - 8], 0x2a0
mov ecx, dword [ebp - 8]
or ecx, 0x800
mov dword [ebp - 8], ecx
push 4
lea edx, [ebp - 8]
push edx
push 0x54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x43945a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenSession
push 0x47f608
mov edx, dword [ebp - 4]
push edx
call fcn.00439ee0
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x43946c
mov dword [ebp - 0xc], 1
jmp 0x439473
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x439e00
Capabilities:
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x439ed0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x439ed0
cmp dword [ebp - 0x10], 0
je 0x439ebb
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x439e73
mov dword [ebp - 0x14], 1
jmp 0x439e7a
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x14]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x439e96
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x439ed0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x45eea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c2e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
and ecx, 1
je 0x45ef6e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x45eef3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jmp 0x45ef06
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1000
jb 0x45ef57
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0041f310
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00419c57
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov dword [edx], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret