joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3dc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d254
mov eax, dword [0x46cbac]
cmp byte [eax], 0
je 0x40d458
mov eax, dword [0x46c9d0]
call fcn.004033e4
call fcn.00402fdc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409e38
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d4a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d48e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46c98c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46f7f8]
call fcn.00406298
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x41b1a4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041aeb4
dec esi
jne 0x41b1c6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41d5d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x41d668
push 0
mov eax, ebx
call fcn.00404f78
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x41d643
mov ebx, esi
test ebx, ebx
je 0x41d619
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, esi
call fcn.00404f78
push eax
push 1
push 0
mov eax, edi
call fcn.00404f78
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x41d65e
mov ecx, dword [0x46c9e8]
mov dl, 1
mov eax, dword [0x41bbf0]
call fcn.0040d560
call fcn.004043fc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x41d684
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404b0c
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f78
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x41d72b
xor eax, eax
push ebp
push 0x41d724
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00405208
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404f78
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x41d706
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.00405208
jmp 0x41d70d
mov eax, ebx
call fcn.00404b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d72b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x429094
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42916e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00404d04
mov edx, dword [ebp - 0x18]
mov eax, dword [0x471f68]
call fcn.00428554
test al, al
je 0x4290da
mov ebx, 1
jmp 0x429158
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x429107
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x429158
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x42913b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x42913b
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle
movzx eax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429175
lea eax, [ebp - 0x18]
call fcn.00404b0c
ret
Function at 0x429180
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x4291c8
lea eax, [esp + 0x105]
push eax
push 0
push 0x429200
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x4291c8
lea eax, [esp + 0x105]
call fcn.00409e38
cmp ebx, eax
jg 0x4291cc
xor eax, eax
jmp 0x4291ce
mov al, 1
mov ebx, eax
test bl, bl
je 0x4291e8
lea edx, [esp + 0x105]
mov eax, esi
call fcn.00409e78
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x46c95c]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x429b80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x429b89
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x429cc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 8]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00429a0c
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x22]
call fcn.00409ee4
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.00429878
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x122]
call fcn.00409ee4
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00429954
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x222]
call fcn.00409ee4
cmp word [esi + 0x42], 0
je 0x429c16
push edi
lea eax, [ebp - 1]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
cmp byte [ebp - 1], 0
jne 0x429c87
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00404d7c
mov eax, dword [ebp - 0x14]
call fcn.004097f8
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00404d7c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.00404d7c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov edx, 1
call fcn.00428aa8
mov eax, dword [ebp - 0x18]
call fcn.00404f78
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
mov dword [esi + 0x3a2], eax
xor eax, eax
mov dword [esi + 0x3a6], eax
movzx ebx, byte [ebp - 1]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429ccd
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404b30
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404b30
ret
Function at 0x42bfd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f68
xor eax, eax
push ebp
push 0x42c208
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00404b60
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x42c1e0
cmp dword [0x46c0c4], 0
je 0x42c1e0
xor eax, eax
push ebp
push 0x42c1d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42c1c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x42c224
call fcn.00404ba4
mov edx, dword [ebp - 4]
mov eax, 0x42c234
call fcn.004050c4
mov esi, eax
test esi, esi
jle 0x42c086
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404fe0
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00405020
cmp dword [ebp - 4], 0
jne 0x42c0a6
mov dl, 1
mov eax, ebx
call fcn.00421364
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.004092e4
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x46c0c4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004263d4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00404b60
mov eax, dword [0x46c0c4]
cmp byte [eax + 0x13], 0
je 0x42c112
push 0x42c240
push dword [ebp - 4]
push 0x42c254
push ebx
push 0x42c254
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404e7c
mov eax, dword [ebp - 0x1c]
call fcn.00404f78
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x42c15f
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00404b60
mov eax, dword [0x46c0c4]
cmp byte [eax + 0x11], 0
je 0x42c149
push dword [ebp - 4]
push 0x42c260
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404e7c
mov byte [ebp - 0xd], 0
call fcn.004044a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42c1e0
mov byte [ebp - 0xd], 1
mov eax, dword [0x46c0c4]
cmp byte [eax + 0x11], 0
je 0x42c188
push dword [ebp - 4]
push 0x42c26c
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404e7c
lea eax, [ebp - 8]
call fcn.00404b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c1cc
mov eax, dword [0x46c0c4]
cmp dword [eax + 0x16], 0
je 0x42c1c4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x46c0c4]
call dword [ebx + 0x16]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00404b60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c20f
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404b30
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b30
ret
Function at 0x42cdd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42cec6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x42cedc
call fcn.00404ba4
push 5
lea eax, [ebp - 0xe]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete bl
test bl, bl
je 0x42ce36
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x42ce3a
xor eax, eax
jmp 0x42ce3c
mov al, 1
mov ebx, eax
test bl, bl
je 0x42ce57
lea eax, [ebp - 4]
lea edx, [ebp - 0xe]
call fcn.00404d04
mov eax, esi
lea edx, [ebp - 9]
call fcn.00404d04
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004089e0
mov eax, dword [ebp - 0x14]
mov edx, 0x42cee8
call fcn.00404f10
jne 0x42ce99
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.004089e0
mov eax, dword [ebp - 0x18]
mov edx, 0x42cef4
call fcn.00404f10
jne 0x42ce99
mov eax, edi
mov edx, dword [0x46c0c8]
call fcn.00404b60
jmp 0x42cea3
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cecd
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404b30
lea eax, [ebp - 4]
call fcn.00404b0c
ret
Function at 0x433c20
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x433e00
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_GetClientRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
jne 0x433c7d
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_BeginPaint
mov ebx, eax
jmp 0x433c90
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_WindowFromDC
test eax, eax
jne 0x433c90
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x433ce0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf9], 0
jne 0x433ce0
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x14], eax
jmp 0x433cf0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf9]
test eax, eax
je 0x433cf0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x433def
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xf9], edx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x14
mov eax, dword [ebp - 4]
push eax
call fcn.00436e18
cmp dword [0x472064], 0
je 0x433d32
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call dword [0x472064]
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0xf
mov eax, dword [ebp - 4]
push eax
call fcn.00436e18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x43f]
test eax, eax
je 0x433d57
xor edx, edx
call fcn.0042f560
push 0
push ebx
call sub.gdi32.dll_SelectClipRgn
cmp ebx, dword [ebp - 0xc]
je 0x433d83
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
push 0
push 0
push ebx
call sub.gdi32.dll_BitBlt
cmp dword [ebp - 8], 0
jne 0x433d9c
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433df6
cmp dword [ebp - 0x10], 0
je 0x433ddb
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf9], edx
jmp 0x433dee
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x433dee
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xf9], edx
ret
Function at 0x434a5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x808], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x434b0f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x5c3], 0
jne 0x434aa6
lea edx, [ebp - 0x808]
mov eax, ebx
call fcn.00434c48
mov edx, dword [ebp - 0x808]
mov eax, esi
call fcn.0040545c
jmp 0x434af6
mov eax, dword [ebx + 0x407]
test eax, eax
je 0x434af6
cmp byte [ebx + 0x431], 0
jne 0x434af6
push eax
call sub.user32.dll_GetWindowTextLengthW
cmp eax, 0x400
jle 0x434acb
mov eax, 0x400
test eax, eax
jle 0x434af6
inc eax
push eax
lea eax, [ebp - 0x802]
push eax
mov eax, dword [ebx + 0x407]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, esi
lea edx, [ebp - 0x802]
mov ecx, 0x401
call fcn.00405440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434b16
lea eax, [ebp - 0x808]
call fcn.00404b0c
ret

Function at 0x434c48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x434d03
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x5c3], 0
je 0x434c87
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00434a5c
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.00434be0
jmp 0x434ced
mov eax, dword [ebx + 0x407]
test eax, eax
je 0x434ce0
cmp byte [ebx + 0x431], 0
jne 0x434ce0
push eax
call sub.user32.dll_GetWindowTextLengthA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434cad
xor esi, esi
jmp 0x434cca
mov eax, dword [ebp - 4]
inc eax
call fcn.00402e80
mov esi, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push esi
mov eax, dword [ebx + 0x407]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, edi
mov edx, esi
call fcn.00404d04
test esi, esi
je 0x434ced
mov eax, esi
call fcn.00402e9c
jmp 0x434ced
mov eax, edi
mov edx, dword [ebx + 0x425]
call fcn.00404d04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434d0a
lea eax, [ebp - 8]
call fcn.0040529c
ret

Function at 0x442fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x44303c
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x44300b
call fcn.0040ed18
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00403070
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x44303c
call fcn.0040ed18
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x445294
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffffbfc
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b0c
push 0x400
lea eax, [esp + 4]
push eax
mov eax, esi
call fcn.00404f78
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
test eax, eax
je 0x4452cb
mov eax, ebx
mov edx, esp
call fcn.00404d04
add esp, 0x404
pop esi
pop ebx
ret

Function at 0x445c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x445dc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46c8d4]
cmp byte [eax], 9
jb 0x445d3b
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405208
xor edx, edx
push ebp
push 0x445d34
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
push 0
push 0
push 0x23
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x445d1c
mov eax, dword [ebp - 4]
call fcn.00404f78
mov edx, dword [ebp - 8]
call fcn.00409fb8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x445cf6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x445d12
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e1d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00404b60
call fcn.004044a8
jmp 0x445da3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445d3b
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405208
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x46c9dc]
mov eax, dword [eax]
mov ecx, 0x445dd4
mov edx, 0x445dec
call fcn.0042488c
test al, al
je 0x445da3
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x445d6f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x445da3
mov eax, dword [ebp - 8]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x445d87
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x445da3
mov eax, dword [ebp - 8]
mov edx, 0x445e38
call fcn.00404db4
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445dc8
lea eax, [ebp - 0x10]
call fcn.00404b0c
lea eax, [ebp - 4]
call fcn.00404b0c
ret
Function at 0x445e3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x445fa6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x46c8d4]
cmp byte [eax], 9
jb 0x445f03
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405208
xor edx, edx
push ebp
push 0x445efc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x445ee4
mov eax, dword [ebp - 4]
call fcn.00404f78
mov edx, dword [ebp - 8]
call fcn.00409fb8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x445ebe
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x445eda
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e1d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00404b60
call fcn.004044a8
jmp 0x445f83
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445f03
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405208
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x46ca64]
mov eax, dword [eax]
mov ecx, 0x445fbc
mov edx, 0x445fcc
call fcn.0042488c
test al, al
je 0x445f83
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004452dc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00404b60
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x445f4f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x445f83
mov eax, dword [ebp - 8]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x445f67
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x445f83
mov eax, dword [ebp - 8]
mov edx, 0x446018
call fcn.00404db4
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445fad
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404b30
lea eax, [ebp - 4]
call fcn.00404b0c
ret

Function at 0x44908c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f68
xor eax, eax
push ebp
push 0x449126
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040353c
lea eax, [ebp - 0x44]
call fcn.004499f0
xor eax, eax
push ebp
push 0x449109
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x44], 0x3c
lea eax, [ebp - 0x44]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f78
push eax
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449110
lea eax, [ebp - 0x44]
call fcn.00449b00
ret