joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f9b5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x471dd4], ebx
push esi
push edi
jne 0x43fa35
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43fa70
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4613bc
push edi
call esi
test eax, eax
mov dword [0x471dd4], eax
je 0x43fa70
push 0x4613ac
push edi
call esi
push 0x461398
push edi
mov dword [0x471dd8], eax
call esi
cmp dword [0x471998], 2
mov dword [0x471ddc], eax
jne 0x43fa35
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x471de4], eax
je 0x43fa35
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x471de0], eax
mov eax, dword [0x471de0]
test eax, eax
je 0x43fa7a
call eax
test eax, eax
je 0x43fa61
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x471de4]
test eax, eax
je 0x43fa61
test byte [ebp - 8], 1
jne 0x43fa7a
cmp dword [0x4719a4], 4
jb 0x43fa74
or byte [ebp + 0x12], 0x20
jmp 0x43fa99
xor eax, eax
jmp 0x43faa9
or byte [ebp + 0x12], 4
jmp 0x43fa99
mov eax, dword [0x471dd8]
test eax, eax
je 0x43fa99
call eax
mov ebx, eax
test ebx, ebx
je 0x43fa99
mov eax, dword [0x471ddc]
test eax, eax
je 0x43fa99
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x471dd4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x442d99
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00433660
mov eax, dword [0x46e580]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0043c9c0
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x442ecc
push 2
push esi
push dword [ebp + 8]
call fcn.0043c9c0
add esp, 0xc
cmp eax, ebx
je 0x442ecc
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x442e6c
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00436f00
push 0x8000
push dword [ebp + 8]
call fcn.00443a94
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x442e22
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0043c3ce
add esp, 0xc
cmp eax, 0xffffffff
je 0x442e42
sub edi, eax
test edi, edi
jg 0x442e1a
jmp 0x442e5a
call fcn.0043793e
cmp dword [eax], 5
jne 0x442e57
call fcn.00437935
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00443a94
pop ecx
pop ecx
jmp 0x442eb4
jge 0x442eb4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043c9c0
push dword [ebp + 8]
call fcn.004375ef
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x442eb4
call fcn.00437935
mov dword [eax], 0xd
call fcn.0043793e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0043c9c0
add esp, 0xc
mov eax, esi
pop edi
jmp 0x442ece
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004336ce
leave
ret
Function at 0x443192
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x462250
call fcn.004374a8
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x471e58], edi
jne 0x4431d6
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4431c1
mov dword [0x471e58], ebx
jmp 0x4431d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4431d6
mov dword [0x471e58], 2
mov eax, dword [0x471e58]
cmp eax, ebx
jne 0x4431f6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4432b9
cmp eax, 2
je 0x4431ff
cmp eax, edi
jne 0x443227
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x443212
mov eax, dword [0x471dcc]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x44322e
xor eax, eax
jmp 0x4432b9
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.00433660
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x443261
cmp esi, edi
jne 0x443277
push dword [ebp - 0x20]
call fcn.004332f9
pop ecx
mov esi, eax
cmp esi, edi
je 0x443227
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4432aa
cmp dword [ebp + 0x14], edi
jne 0x443294
push edi
push edi
jmp 0x44329a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x4432b6
push esi
call fcn.0043330b
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.004374e3
ret
Function at 0x4432c2
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x462260
call fcn.004374a8
xor esi, esi
cmp dword [0x471e5c], esi
jne 0x443306
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4432f1
mov dword [0x471e5c], edi
jmp 0x443306
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x443306
mov dword [0x471e5c], 2
mov eax, dword [0x471e5c]
cmp eax, 2
je 0x4433e7
cmp eax, esi
je 0x4433e7
cmp eax, 1
jne 0x44334b
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x443334
mov eax, dword [0x471dcc]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x443352
xor eax, eax
jmp 0x4433f9
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00433660
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x443388
cmp edi, esi
jne 0x4433a3
lea eax, [ebx + ebx]
push eax
call fcn.004332f9
pop ecx
mov edi, eax
cmp edi, esi
je 0x44334b
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4433d6
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x4433c0
push esi
push esi
jmp 0x4433c6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x4433e2
push edi
call fcn.0043330b
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x4433f9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.004374e3
ret
Function at 0x4438bf
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4438d8
or eax, 0xffffffff
jmp 0x443939
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x443935
push 0x3d
push esi
call fcn.00437023
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x443935
cmp esi, eax
je 0x443935
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4719b8]
sete cl
cmp eax, dword [0x4719bc]
mov dword [ebp - 8], ecx
jne 0x44391b
mov edi, eax
call fcn.0044385e
mov dword [0x4719b8], eax
cmp eax, ebx
jne 0x443974
cmp dword [ebp + 0xc], ebx
je 0x44393d
cmp dword [0x4719c0], ebx
je 0x44393d
call fcn.00442d09
test eax, eax
je 0x443974
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x443946
xor eax, eax
jmp 0x443938
push 4
call fcn.004332f9
cmp eax, ebx
pop ecx
mov dword [0x4719b8], eax
je 0x443935
mov dword [eax], ebx
cmp dword [0x4719c0], ebx
jne 0x443974
push 4
call fcn.004332f9
cmp eax, ebx
pop ecx
mov dword [0x4719c0], eax
je 0x443935
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4719b8]
call fcn.00443811
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4439d5
cmp dword [esi], ebx
je 0x4439d5
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0043330b
cmp dword [ebp - 8], ebx
pop ecx
jne 0x4439b8
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x443a16
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x4439af
mov eax, edi
shl eax, 2
push eax
push dword [0x4719b8]
call fcn.0043709e
cmp eax, ebx
pop ecx
pop ecx
je 0x443a16
jmp 0x443a11
cmp dword [ebp - 8], ebx
jne 0x443a81
cmp edi, ebx
jge 0x4439e4
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4719b8]
call fcn.0043709e
cmp eax, ebx
pop ecx
pop ecx
je 0x443935
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4719b8], eax
cmp dword [ebp + 0xc], ebx
je 0x443a6b
push dword [ebp - 4]
call fcn.00436c60
inc eax
inc eax
push eax
call fcn.004332f9
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x443a6b
push dword [ebp - 4]
push esi
call fcn.0043b580
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x443a64
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0043330b
pop ecx
cmp dword [ebp - 8], ebx
je 0x443a79
push dword [ebp - 4]
call fcn.0043330b
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x443938
push dword [ebp - 4]
call fcn.0043330b
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x443942
Function at 0x447b7c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x447bb5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042a5c5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403a40
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x448da3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x448de6
call fcn.00451787
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x448de6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x448e01
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00447f08
test ebx, ebx
mov esi, eax
je 0x448dff
test edi, edi
je 0x448dff
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x449ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x449f27
call fcn.00451787
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x449f38
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x449f71
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x449f56
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x449f5e
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x449f6f
test ax, ax
jne 0x449f6f
test si, si
je 0x449f71
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x449f80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x44a1d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x456af2
call fcn.00436cec
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00451787
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x44a220
call fcn.00451787
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44a231
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x44a23d
or eax, 0xffffffff
jmp 0x44a340
mov ecx, esi
call fcn.00449d12
mov dword [ebp - 0x14], eax
call fcn.004471a7
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x44a280
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x44a280
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44a280
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00448437
push dword [ebp - 0x14]
call fcn.004470ff
push edi
push eax
push ebx
mov ecx, esi
call fcn.00449fc5
xor ebx, ebx
cmp eax, ebx
je 0x44a2f4
test byte [esi + 0x38], 0x10
je 0x44a2c2
push 4
pop edi
mov ecx, esi
call fcn.0044a523
test ah, 1
je 0x44a2ba
push 5
pop edi
push edi
mov ecx, esi
call fcn.00446ba3
cmp dword [esi + 0x1c], ebx
je 0x44a2f4
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0044a747
jmp 0x44a2f4
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x44a308
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x44a321
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x44a321
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00449d4c
cmp dword [esi + 0x54], ebx
je 0x44a33d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x44abb3
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x456baa
call fcn.00436cec
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x44abcd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x44ac19
call fcn.0044ac7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401610
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x44b2d8
Capabilities:
Get disk information

Disassembly:
mov eax, 0x456cc7
call fcn.00436cec
sub esp, 0x150
mov eax, dword [0x46e580]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x154]
push eax
push edi
mov esi, 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor ebx, ebx
cmp eax, ebx
jne 0x44b320
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x44b324
cmp eax, esi
jb 0x44b32b
xor eax, eax
jmp 0x44b400
call fcn.0044ac7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0044b296
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x44b3f0
push ebx
push ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x44b37f
xor esi, esi
jmp 0x44b3f3
test byte [ebp - 0x158], 2
jne 0x44b38f
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x158], 4
jne 0x44b3f0
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x44b3f0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x154], ebx
je 0x44b37b
cmp dword [ebp - 0x154], edi
jbe 0x44b37b
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x154]
cmp eax, esi
jge 0x44b37b
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401610
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.004336ce
leave
ret 8
Function at 0x44b738
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.00436f00
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [edi + 4]
cmp eax, dword [0x45e9fc]
je 0x44b83f
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x44b7a8
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x44b7af
cmp ebx, ebx
jne 0x44b7af
xor eax, eax
jmp 0x44b842
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x44b7bc
mov byte [esi + 0x20], bl
jmp 0x44b7d0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042b595
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042b595
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042b595
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x44b82b
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x44b83f
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44d689
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x46e580]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, 0x100
cmp esi, eax
ja 0x44d6d8
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x44d6d8
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x44d6e4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.004336ce
leave
ret 8
Function at 0x44e335
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46e580]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x44e382
push dword [ebp + 8]
call fcn.00451474
mov esi, eax
test esi, esi
je 0x44e3aa
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x44e3aa
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x45baa0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.004336ce
leave
ret 0xc
Function at 0x44ee0e
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov edx, dword [ebp + 0xc]
mov eax, dword [0x46e580]
push ebx
xor ecx, ecx
cmp edx, ecx
push esi
mov dword [ebp - 4], eax
push edi
je 0x44ef2f
cmp dword [ebp + 8], ecx
je 0x44ef2f
mov eax, dword [ebp + 0x18]
mov esi, eax
mov edi, eax
and esi, 0x2e000000
and edi, 0x40000000
test eax, 0x90000000
mov dword [ebp - 0x830], 0x824
mov dword [ebp - 0x82c], ecx
mov dword [ebp + 0x18], ecx
je 0x44ee80
cmp dword [edx + 0x30], ecx
je 0x44ee80
test eax, 0x2000000
je 0x44ee7a
mov dword [ebp + 0x18], 1
jmp 0x44ee80
or edi, 0x80000000
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
push esi
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
push eax
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x44eee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44ef2f
push dword [ebp - 0x830]
call fcn.0044a436
test eax, eax
pop ecx
mov dword [ebp - 0x834], eax
je 0x44ef2f
push esi
lea ecx, [ebp - 0x830]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x82c], 1
call ebx
test eax, eax
jne 0x44eeef
push dword [ebp - 0x834]
jmp 0x44ef29
lea ebx, [ebp - 0x828]
jmp 0x44eef5
mov ebx, dword [ebp - 0x834]
mov esi, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp + 0x18], edi
mov dword [ebp + 8], eax
je 0x44ef4c
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
test eax, eax
jge 0x44ef40
cmp dword [ebp - 0x82c], edi
je 0x44ef2f
push ebx
call fcn.0044a466
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004336ce
leave
ret 0x14
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x82c], edi
je 0x44ef5b
push ebx
call fcn.0044a466
pop ecx
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x44ef6d
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0x1000
jmp 0x44ef31
mov cx, word [esi + 0x18]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov esi, dword [esi + 0xc]
dec esi
mov ecx, dword [ebp + 0x10]
je 0x44efcb
dec esi
je 0x44efc0
dec esi
je 0x44efb5
dec esi
je 0x44efaa
dec esi
je 0x44efa2
dec esi
je 0x44ef9a
dec esi
jne 0x44ef65
mov dword [ecx], 0x1002
jmp 0x44ef31
mov dword [ecx], 0x1006
jmp 0x44ef31
mov dword [ecx], 0x1001
jmp 0x44ef31
mov dword [ecx], 0x100b
jmp 0x44ef31
mov dword [ecx], 3
jmp 0x44ef31
mov dword [ecx], 2
jmp 0x44ef31
mov dword [ecx], 1
jmp 0x44ef31