joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408102
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2020]
mov eax, 0x2020
call fcn.00428ac0
push 0xffffffffffffffff
push 0x43a7bf
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x44bd78]
xor eax, ebp
mov dword [ebp + 0x201c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
call fcn.00405ec8
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00407f7c
xor eax, eax
push 0x1ffe
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call fcn.00428300
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
push 0x80000001
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40827c
push str.123374DE290_123F_4565_9164_39C4925E467B
lea ecx, [ebp]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0x2000
call fcn.004059cf
push 0x43e9e0
push 3
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004080d6
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x4081ca
lea eax, [ebp + 4]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408271
mov edi, str._USERPROFILE_
push edi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, ebx
je 0x408266
lea ecx, [ebp + 0x1c]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x10], eax
mov eax, ecx
push eax
mov ecx, esi
call fcn.004059ab
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004056e0
push ebx
push 0x28
lea eax, [ebp + 0x1c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004080ae
cmp dword [esi + 0x18], 8
jb 0x40824a
mov eax, dword [esi + 4]
jmp 0x40824d
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40825d
test al, 0x10
jne 0x408271
mov ecx, esi
call fcn.00407f7c
jmp 0x408271
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.004059ab
push ebx
push 1
lea ecx, [ebp]
call fcn.00405695
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x201c]
xor ecx, ebp
call fcn.0042778b
add ebp, 0x2020
leave
ret

Function at 0x408351
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x408382
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
jmp 0x40838e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
pop edi
setne al
pop esi
ret 8
Function at 0x40863b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push 0x38
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00428300
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x100
test esi, esi
je 0x408672
mov dword [ebp - 0x44], 0x140
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x3c], str.open
mov dword [ebp - 0x38], ebx
test esi, esi
je 0x40868d
and dword [esi], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4086ad
test esi, esi
je 0x408752
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
jmp 0x408752
cmp dword [ebp - 0x28], 0x1b
je 0x4086bd
cmp dword [ebp - 0x28], 0x1f
jne 0x408752
push edi
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.shell32.dll
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 0x24
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SHOpenWithDialog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
cmp eax, edi
jne 0x40874a
push 0x38
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00428300
add esp, 0xc
mov dword [ebp - 0x84], 0x3c
mov dword [ebp - 0x80], 0x100
cmp esi, edi
je 0x408717
mov dword [ebp - 0x80], 0x140
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x78], str.openas
mov dword [ebp - 0x74], ebx
cmp esi, edi
je 0x40872e
mov dword [esi], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x408751
cmp esi, edi
je 0x408751
mov eax, dword [ebp - 0x4c]
mov dword [esi], eax
jmp 0x408751
lea ecx, [ebp - 0xc]
push ecx
push edi
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4087e2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push edx
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x408842
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x40880c
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push dword [ebp + 0xc]
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x408835
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x408844
xor al, al
pop ebx
leave
ret 8
Function at 0x409343
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x34
mov eax, 0x43a97f
call fcn.00427803
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x34]
push ecx
push 0x20019
xor esi, esi
push esi
push eax
mov dword [ebp - 0x34], esi
push edx
mov dword [ebp - 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40940f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x3c]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push ebx
push dword [ebp - 0x34]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
call edi
test eax, eax
jne 0x40940f
cmp dword [ebp - 0x38], 1
jne 0x40940f
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.004055f1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], esi
cmp eax, esi
jbe 0x4093f6
push esi
shr eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408cbb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4093d8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
push esi
push ebx
push dword [ebp - 0x34]
call edi
mov eax, dword [ebp - 0x18]
push esi
dec eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408cbb
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.00407193
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405695
jmp 0x40941a
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
call fcn.004059cf
mov eax, dword [ebp - 0x30]
call fcn.00427886
ret 0xc
Function at 0x40cf9e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc0
mov eax, dword [0x44bd78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3b8
lea eax, [ebp - 0xbbc]
push 0
push eax
mov esi, ecx
call fcn.00428300
mov edi, dword [esi + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0xbc0], 0x3bc
mov dword [ebp - 0xbbc], edi
mov dword [ebp - 0xbb8], 1
mov dword [ebp - 0xbb4], 7
mov dword [ebp - 0xbb0], 0x401
call fcn.00428300
add esp, 0x18
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0xba8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
movzx ecx, word [esi + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0xbac], eax
lea eax, [ebp - 0xbc0]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042778b
leave
ret

Function at 0x40d075
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc0
mov eax, dword [0x44bd78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3b8
lea eax, [ebp - 0xbbc]
push 0
push eax
mov esi, ecx
call fcn.00428300
mov edi, dword [esi + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0xbc0], 0x3bc
mov dword [ebp - 0xbbc], edi
mov dword [ebp - 0xbb8], 1
mov dword [ebp - 0xbb4], 6
call fcn.00428300
add esp, 0x18
push 0x400
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0xba8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
movzx ecx, word [esi + 0x18]
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0xbac], eax
lea eax, [ebp - 0xbc0]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042778b
leave
ret

Function at 0x40d8c8
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
xor edi, edi
mov esi, ecx
test bl, 1
je 0x40d8dd
mov edi, 0x80000000
and ebx, 2
je 0x40d901
cmp dword [esi + 0x40], 8
jb 0x40d8ed
mov eax, dword [esi + 0x2c]
jmp 0x40d8f0
lea eax, [esi + 0x2c]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
or edi, 0x40000000
cmp dword [esi + 0x5c], 8
jb 0x40d90c
mov eax, dword [esi + 0x48]
jmp 0x40d90f
lea eax, [esi + 0x48]
push 0
push 0x80
push ebx
push 0
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
mov dword [esi + 0x24], eax
setne cl
pop esi
mov al, cl
pop ebx
ret 4
Function at 0x40e27f
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 8], 0xffffffff
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x13
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
cmp eax, edi
jne 0x40e2b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40e30f
mov eax, dword [ebp - 4]
push ebx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b30
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x40e30e
mov eax, dword [ebp - 4]
add eax, eax
push eax
push edi
push ebx
call fcn.00428300
add esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x13
push dword [ebp + 8]
call esi
test eax, eax
je 0x40e307
lea eax, [ebp - 8]
push eax
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_StrToIntExW]
test eax, eax
jne 0x40e307
or dword [ebp - 8], 0xffffffff
push ebx
call fcn.004278a4
pop ecx
pop ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 4

Function at 0x40e41b
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x84]
mov eax, dword [edi]
xor ebx, ebx
cmp eax, ebx
je 0x40e43c
push eax
call fcn.004278a4
pop ecx
mov dword [edi], ebx
mov dword [esi + 0x88], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40e4f6
push dword [esi + 0x88]
mov ecx, esi
call fcn.0040e05b
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00426b30
mov edi, eax
pop ecx
cmp edi, ebx
je 0x40e4cc
mov eax, dword [ebp - 4]
inc eax
push eax
push ebx
push edi
call fcn.00428300
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40e4c5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp - 8]
push edi
call fcn.0040e318
test al, al
je 0x40e502
mov ecx, dword [esi + 0x1a4]
cmp dword [ecx + 0x20], ebx
je 0x40e502
push dword [ebp - 8]
push edi
call fcn.0040daba
push edi
call fcn.004278a4
pop ecx
cmp dword [ebp - 4], ebx
ja 0x40e442
push dword [esi + 0x88]
mov ecx, esi
call fcn.0040e05b
mov ecx, dword [esi + 0x1a4]
call fcn.0040daac
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x114], eax
xor al, al
jmp 0x40e4ef

Function at 0x40e8bb
Capabilities:
Initialize winhttp library

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
jne 0x40e8fc
lea eax, [esi + 0x120]
cmp dword [eax + 0x18], 8
jb 0x40e8d7
mov eax, dword [eax + 4]
jmp 0x40e8da
add eax, 4
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 4], eax
cmp eax, edi
jne 0x40e8fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x114], eax
xor al, al
jmp 0x40e8fe
mov al, 1
pop edi
pop esi
ret
Function at 0x40e901
Capabilities:
Set http header

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x40e942
cmp dword [eax + 0x18], 8
jb 0x40e91a
mov eax, dword [eax + 4]
jmp 0x40e91d
add eax, 4
push 0x1000000
push ecx
push eax
push dword [esp + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x40e942
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x114], eax
xor al, al
jmp 0x40e944
mov al, 1
pop esi
ret 8

Function at 0x40fe7c
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x16
push dword [ebp + 8]
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
call esi
cmp eax, ebx
jne 0x40feae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40ff04
mov eax, dword [ebp - 8]
push edi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b30
mov edi, eax
pop ecx
cmp edi, ebx
je 0x40ff03
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push edi
call fcn.00428300
add esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x16
push dword [ebp + 8]
call esi
test eax, eax
je 0x40fefc
mov ecx, dword [ebp + 0xc]
push edi
call fcn.004059ab
mov byte [ebp - 1], 1
push edi
call fcn.004278a4
pop ecx
pop edi
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 8
Function at 0x410645
Capabilities:
Prepare http request

Disassembly:
push 0x60
mov eax, 0x43ae99
call fcn.00427803
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov byte [ebp - 0x66], bl
call fcn.0040e51d
mov ecx, dword [esi + 0x1a4]
push 2
call fcn.0040dabf
test al, al
jne 0x410680
mov dword [esi + 0x114], 2
jmp 0x41080c
push edi
lea ecx, [ebp - 0x64]
call fcn.00407193
mov dword [ebp - 4], ebx
cmp dword [esi + 0x28], ebx
je 0x4107f7
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.0040fe24
test al, al
je 0x4107f7
mov ecx, esi
call fcn.0040e8bb
test al, al
je 0x410801
push dword [esi + 0x1a0]
push dword [esi + 0x19c]
push dword [esi + 0x198]
push dword [esi + 0x194]
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
push ebx
push 0x10000
push 0x40e54d
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push 7
pop edi
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], edi
call fcn.004055f1
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.004055f1
lea eax, [ebp - 0x65]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
sub esp, 0x1c
lea eax, [esi + 0x14]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
mov byte [ebp - 4], 2
call fcn.00407193
mov ecx, esi
call fcn.00410023
cmp al, bl
je 0x4107df
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x410747
lea eax, [ebp - 0x44]
push ebx
push dword [ebp - 0x6c]
push eax
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x4107d8
movzx ecx, byte [ebp - 0x65]
mov edi, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0x800000
cmp dword [ebp - 0x14], 8
jae 0x410776
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x4c], 8
mov edx, dword [ebp - 0x60]
jae 0x410782
lea edx, [ebp - 0x60]
push ecx
push ebx
push ebx
push ebx
push edi
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x4107d8
cmp byte [esi + 0x10], bl
jne 0x4107a8
cmp byte [ebp - 0x65], bl
je 0x4107a8
push eax
mov ecx, esi
call fcn.0040e126
lea eax, [esi + 0xdc]
push eax
push dword [esi + 0xc]
mov ecx, esi
call fcn.0040e901
test al, al
je 0x4107d8
lea eax, [esi + 0xb8]
push eax
push dword [esi + 0xc]
mov ecx, esi
call fcn.004105eb
test al, al
je 0x4107d8
mov byte [ebp - 0x66], 1
jmp 0x4107df
mov ecx, esi
call fcn.0040e51d
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405695
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00405695
jmp 0x410801
mov dword [esi + 0x114], 0x57
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00405695
mov al, byte [ebp - 0x66]
call fcn.00427886
ret 4
Function at 0x411952
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov byte [ebp - 1], bl
call fcn.00410645
test al, al
je 0x411a06
lea eax, [esi + 0x15c]
cmp dword [eax + 0x18], 8
jb 0x411981
mov edx, dword [eax + 4]
jmp 0x411984
lea edx, [eax + 4]
lea eax, [esi + 0x140]
cmp dword [eax + 0x18], 8
jb 0x411995
mov ecx, dword [eax + 4]
jmp 0x411998
lea ecx, [eax + 4]
lea eax, [esi + 0xf8]
cmp dword [eax + 0x18], 8
jb 0x4119a9
mov eax, dword [eax + 4]
jmp 0x4119ac
add eax, 4
push edx
push ecx
push eax
push dword [esi + 0xc]
mov ecx, esi
call fcn.0040e185
cmp byte [ebp + 0xc], bl
je 0x4119c8
push dword [esi + 0xc]
mov ecx, esi
call fcn.0040e14b
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0xc]
call edi
test eax, eax
jne 0x411a1d
push dword [esi + 0xc]
mov ecx, esi
call fcn.0040e833
test al, al
je 0x411a06
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0xc]
call edi
test eax, eax
jne 0x411a1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x114], eax
push dword [esi + 0x114]
mov ecx, esi
call fcn.0040e03e
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [esi + 0xc]
mov ecx, esi
call fcn.0040e23b
test al, al
je 0x411a06
push ebx
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x411a4e
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [esi + 0xc]
call fcn.00411903
mov byte [ebp - 1], al
jmp 0x411a5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x114], eax
cmp byte [ebp - 1], bl
je 0x411a06
mov ecx, esi
call fcn.0040e027
jmp 0x411a13

Function at 0x4123a6
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00411c5f
xor eax, eax
push eax
push eax
push esi
push 0x41237c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
pop esi
ret

Function at 0x412aee
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi + 0x2c], ebp
jne 0x412b66
mov ecx, dword [esi + 0x10]
cmp ecx, ebp
jle 0x412b66
mov edx, dword [esi + 0x14]
cmp edx, ebp
jle 0x412b66
push ebx
push ebp
push 1
call fcn.00407a54
mov ebx, eax
cmp ebx, ebp
je 0x412b61
push edi
push ebp
push 0x80
push 2
push ebp
push 1
push 0x40000000
mov ecx, esi
call fcn.004073aa
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x412b59
push ebp
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x4c], 1
push ebx
call fcn.004278a4
pop ecx
pop edi
mov al, 1
pop ebx
jmp 0x412b68
xor al, al
pop esi
pop ebp
pop ecx
ret
Function at 0x413067
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call fcn.0041dae4
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor edi, edi
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0x1c], eax
call ebx
push edi
push edi
push esi
push 0x413059
push edi
push edi
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push 0x190
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4176fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.00428ac0
mov eax, dword [0x44bd78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
call fcn.00415232
mov ecx, esi
call fcn.004173e1
mov ecx, esi
call fcn.0040cace
lea edi, [esi + 0xcc]
mov eax, dword [edi]
push dword [eax + 0x368]
mov ecx, esi
call fcn.0040cd31
mov eax, dword [edi]
add eax, 0x350
push eax
mov ecx, esi
call fcn.0040cd93
xor eax, eax
push 0x1ffe
push eax
mov word [ebp - 0x2004], ax
lea eax, [ebp - 0x2002]
push eax
call fcn.00428300
lea edi, [esi + 0xb0]
add esp, 0xc
mov ecx, edi
call fcn.00408311
cmp dword [esi + 0xc4], 0
jne 0x4177a3
push 0
push 0x10
lea eax, [ebp - 0x2004]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x2004]
push eax
mov ecx, edi
call fcn.004059ab
cmp dword [edi + 0x18], 8
mov dword [ebp - method.LabelTextSetter.virtual_0], vtable.LabelTextSetter.0
jb 0x4177b8
mov edi, dword [edi + 4]
jmp 0x4177bb
add edi, 4
mov esi, dword [esi + 8]
push edi
push 0xf
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebp - 0x2008]
call fcn.00405d8c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042778b
leave
ret

Function at 0x417b23
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a8], 0
jne 0x417b76
push edi
push 0xfffffffffffffff0
lea edi, [esi + 0xec]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x1e
push 0x1d20
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [esi + 0x1a8], 1
pop edi
pop esi
ret

Function at 0x417b78
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a8], 0
je 0x417bc7
push edi
push 0xfffffffffffffff0
lea edi, [esi + 0xec]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffff7
push eax
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1d20
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x1a8], 0
pop edi
pop esi
ret

Function at 0x417bc9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3d], 1
push 0
jne 0x417be1
call fcn.0040cf20
mov ecx, esi
pop esi
jmp fcn.0040cf9e
call fcn.0040d263
pop esi
ret