joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422ead
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x441ef0
call fcn.00413634
xor esi, esi
cmp dword [0x44fc14], esi
jne 0x422ef1
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x422edc
mov dword [0x44fc14], edi
jmp 0x422ef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x422ef1
mov dword [0x44fc14], 2
mov eax, dword [0x44fc14]
cmp eax, 2
je 0x422fd2
cmp eax, esi
je 0x422fd2
cmp eax, 1
jne 0x422f36
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x422f1f
mov eax, dword [0x44fb78]
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 0x422f3d
xor eax, eax
jmp 0x422fe4
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00413790
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x422f73
cmp edi, esi
jne 0x422f8e
lea eax, [ebx + ebx]
push eax
call fcn.004134cc
pop ecx
mov edi, eax
cmp edi, esi
je 0x422f36
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 0x422fc1
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x422fab
push esi
push esi
jmp 0x422fb1
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 0x422fcd
push edi
call fcn.004134de
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x422fe4
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.0041366f
ret
Function at 0x423757
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 0x423770
or eax, 0xffffffff
jmp 0x4237d1
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x4237cd
push 0x3d
push esi
call fcn.0041630a
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4237cd
cmp esi, eax
je 0x4237cd
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x44f75c]
sete cl
cmp eax, dword [0x44f760]
mov dword [ebp - 8], ecx
jne 0x4237b3
mov edi, eax
call fcn.004236f6
mov dword [0x44f75c], eax
cmp eax, ebx
jne 0x42380c
cmp dword [ebp + 0xc], ebx
je 0x4237d5
cmp dword [0x44f764], ebx
je 0x4237d5
call fcn.00422ced
test eax, eax
je 0x42380c
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4237de
xor eax, eax
jmp 0x4237d0
push 4
call fcn.004134cc
cmp eax, ebx
pop ecx
mov dword [0x44f75c], eax
je 0x4237cd
mov dword [eax], ebx
cmp dword [0x44f764], ebx
jne 0x42380c
push 4
call fcn.004134cc
cmp eax, ebx
pop ecx
mov dword [0x44f764], eax
je 0x4237cd
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x44f75c]
call fcn.004236a9
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x42386d
cmp dword [esi], ebx
je 0x42386d
lea esi, [esi + edi*4]
push dword [esi]
call fcn.004134de
cmp dword [ebp - 8], ebx
pop ecx
jne 0x423850
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4238ae
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x423847
mov eax, edi
shl eax, 2
push eax
push dword [0x44f75c]
call fcn.00416147
cmp eax, ebx
pop ecx
pop ecx
je 0x4238ae
jmp 0x4238a9
cmp dword [ebp - 8], ebx
jne 0x423919
cmp edi, ebx
jge 0x42387c
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x44f75c]
call fcn.00416147
cmp eax, ebx
pop ecx
pop ecx
je 0x4237cd
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 [0x44f75c], eax
cmp dword [ebp + 0xc], ebx
je 0x423903
push dword [ebp - 4]
call fcn.004141f0
inc eax
inc eax
push eax
call fcn.004134cc
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x423903
push dword [ebp - 4]
push esi
call fcn.00414280
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 0x4238fc
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.004134de
pop ecx
cmp dword [ebp - 8], ebx
je 0x423911
push dword [ebp - 4]
call fcn.004134de
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4237d0
push dword [ebp - 4]
call fcn.004134de
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4237da
Function at 0x425f19
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43afd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x44fc1c
mov dword [esp + 8], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], 0x43cd78
mov dword [esp + 0x14], ebx
mov dword [ecx], 0x44fc1c
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x43cd4f
mov byte [esp + 0x1c], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.004273d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42a77a
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push 0x128
push 0x443290
call fcn.00413634
mov eax, dword [0x44c360]
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x124]
xor ebx, ebx
mov dword [ebp - 0x130], ebx
or dword [ebp - 0x12c], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x42a887
mov eax, edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
mov dword [ebp - 0x134], esi
cmp esi, 0x104
jle 0x42a838
mov dword [ebp - 4], ebx
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.00413790
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x138], edi
jmp 0x42a825
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x42a887
push edi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, eax
cmp esi, ebx
je 0x42a887
mov al, byte [edi]
cmp al, 0x5c
je 0x42a846
cmp al, 0x2f
jne 0x42a84b
cmp al, byte [edi + 1]
je 0x42a881
mov byte [ebp - 0x128], 0x3d
movzx eax, byte [edi]
push eax
call fcn.0042aabc
pop ecx
mov byte [ebp - 0x127], al
mov byte [ebp - 0x126], 0x3a
mov byte [ebp - 0x125], bl
push edi
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x42a887
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00414ff8
pop ecx
cmp dword [ebp - 0x130], ebx
je 0x42a8a3
push edi
call fcn.004134de
pop ecx
mov eax, dword [ebp - 0x12c]
lea esp, [ebp - 0x144]
mov ecx, dword [ebp - 0x1c]
call fcn.004137fe
call fcn.0041366f
ret
Function at 0x42ae7d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00413790
mov eax, dword [0x44c360]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0041c8ce
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x42afb0
push 2
push esi
push dword [ebp + 8]
call fcn.0041c8ce
add esp, 0xc
cmp eax, ebx
je 0x42afb0
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42af50
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00413810
push 0x8000
push dword [ebp + 8]
call fcn.0042afbe
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x42af06
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0041c298
add esp, 0xc
cmp eax, 0xffffffff
je 0x42af26
sub edi, eax
test edi, edi
jg 0x42aefe
jmp 0x42af3e
call fcn.00414fef
cmp dword [eax], 5
jne 0x42af3b
call fcn.00414fe6
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0042afbe
pop ecx
pop ecx
jmp 0x42af98
jge 0x42af98
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c8ce
push dword [ebp + 8]
call fcn.00417275
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 0x42af98
call fcn.00414fe6
mov dword [eax], 0xd
call fcn.00414fef
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.0041c8ce
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42afb2
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004137fe
leave
ret

Function at 0x42ed9e
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 0x42ede1
call fcn.0043733f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42ede1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42edfc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042df03
test ebx, ebx
mov esi, eax
je 0x42edfa
test edi, edi
je 0x42edfa
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x430113
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x43a752
call fcn.00413db0
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x43012d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x430179
call fcn.00430b94
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.004011d2
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x430665
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 0x43069c
call fcn.0043733f
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 0x4306ad
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x4306e6
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x4306cb
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x4306d3
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x4306e4
test ax, ax
jne 0x4306e4
test si, si
je 0x4306e6
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x4306f5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x430947
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43a79a
call fcn.00413db0
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.0043733f
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x430995
call fcn.0043733f
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 0x4309a6
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4309b2
or eax, 0xffffffff
jmp 0x430ab5
mov ecx, esi
call fcn.00430487
mov dword [ebp - 0x14], eax
call fcn.0042d229
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x4309f5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4309f5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4309f5
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.0042e432
push dword [ebp - 0x14]
call fcn.0042d181
push edi
push eax
push ebx
mov ecx, esi
call fcn.0043073a
xor ebx, ebx
cmp eax, ebx
je 0x430a69
test byte [esi + 0x38], 0x10
je 0x430a37
push 4
pop edi
mov ecx, esi
call fcn.0042fad2
test ah, 1
je 0x430a2f
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042cc25
cmp dword [esi + 0x1c], ebx
je 0x430a69
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0042fca7
jmp 0x430a69
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x430a7d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x430a96
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x430a96
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.004304c1
cmp dword [esi + 0x54], ebx
je 0x430ab2
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 0x4310f1
Capabilities:
Get disk information

Disassembly:
mov eax, 0x43a841
call fcn.00413db0
sub esp, 0x150
mov eax, dword [0x44c360]
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 0x431139
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x43113d
cmp eax, esi
jb 0x431144
xor eax, eax
jmp 0x431219
call fcn.00430b94
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.004310af
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x431209
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 0x431198
xor esi, esi
jmp 0x43120c
test byte [ebp - 0x158], 2
jne 0x4311a8
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x158], 4
jne 0x431209
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x431209
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x154], ebx
je 0x431194
cmp dword [ebp - 0x154], edi
jbe 0x431194
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 0x431194
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.004011d2
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.004137fe
leave
ret 8
Function at 0x431445
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.00413810
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 [0x43e61c]
je 0x43154c
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 0x4314b5
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 0x4314bc
cmp ebx, ebx
jne 0x4314bc
xor eax, eax
jmp 0x43154f
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x4314c9
mov byte [esi + 0x20], bl
jmp 0x4314dd
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.0040b8b7
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.0040b8b7
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.0040b8b7
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 0x431538
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 0x43154c
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 0x4332fc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x44c360]
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 0x43334b
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x43334b
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x433357
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.004137fe
leave
ret 8
Function at 0x43400f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44c360]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x43405c
push dword [ebp + 8]
call fcn.004374a1
mov esi, eax
test esi, esi
je 0x434084
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 0x434084
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x43ea04
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.004137fe
leave
ret 0xc
Function at 0x4347f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov edx, dword [ebp + 0xc]
mov eax, dword [0x44c360]
push ebx
xor ecx, ecx
cmp edx, ecx
push esi
mov dword [ebp - 4], eax
push edi
je 0x434911
cmp dword [ebp + 8], ecx
je 0x434911
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 0x434862
cmp dword [edx + 0x30], ecx
je 0x434862
test eax, 0x2000000
je 0x43485c
mov dword [ebp + 0x18], 1
jmp 0x434862
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 0x4348c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x434911
push dword [ebp - 0x830]
call fcn.0043019f
test eax, eax
pop ecx
mov dword [ebp - 0x834], eax
je 0x434911
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 0x4348d1
push dword [ebp - 0x834]
jmp 0x43490b
lea ebx, [ebp - 0x828]
jmp 0x4348d7
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 0x43492e
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
test eax, eax
jge 0x434922
cmp dword [ebp - 0x82c], edi
je 0x434911
push ebx
call fcn.004301cf
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004137fe
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 0x43493d
push ebx
call fcn.004301cf
pop ecx
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x43494f
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0x1000
jmp 0x434913
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 0x4349ad
dec esi
je 0x4349a2
dec esi
je 0x434997
dec esi
je 0x43498c
dec esi
je 0x434984
dec esi
je 0x43497c
dec esi
jne 0x434947
mov dword [ecx], 0x1002
jmp 0x434913
mov dword [ecx], 0x1006
jmp 0x434913
mov dword [ecx], 0x1001
jmp 0x434913
mov dword [ecx], 0x100b
jmp 0x434913
mov dword [ecx], 3
jmp 0x434913
mov dword [ecx], 2
jmp 0x434913
mov dword [ecx], 1
jmp 0x434913