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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x460f3c], ebx
push esi
push edi
jne 0x42ce12
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42ce4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44e74c
push edi
call esi
test eax, eax
mov dword [0x460f3c], eax
je 0x42ce4d
push 0x44e73c
push edi
call esi
push 0x44e728
push edi
mov dword [0x460f40], eax
call esi
cmp dword [0x460a8c], 2
mov dword [0x460f44], eax
jne 0x42ce12
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x460f4c], eax
je 0x42ce12
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x460f48], eax
mov eax, dword [0x460f48]
test eax, eax
je 0x42ce57
call eax
test eax, eax
je 0x42ce3e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x460f4c]
test eax, eax
je 0x42ce3e
test byte [ebp - 8], 1
jne 0x42ce57
cmp dword [0x460a98], 4
jb 0x42ce51
or byte [ebp + 0x12], 0x20
jmp 0x42ce76
xor eax, eax
jmp 0x42ce86
or byte [ebp + 0x12], 4
jmp 0x42ce76
mov eax, dword [0x460f40]
test eax, eax
je 0x42ce76
call eax
mov ebx, eax
test ebx, ebx
je 0x42ce76
mov eax, dword [0x460f44]
test eax, eax
je 0x42ce76
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x460f3c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42de9f
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 0x42deb8
or eax, 0xffffffff
jmp 0x42df19
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x42df15
push 0x3d
push esi
call fcn.00421c9b
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x42df15
cmp esi, eax
je 0x42df15
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x460aac]
sete cl
cmp eax, dword [0x460ab0]
mov dword [ebp - 4], ecx
jne 0x42defb
mov edi, eax
call fcn.0042de3e
mov dword [0x460aac], eax
cmp eax, ebx
jne 0x42df54
cmp dword [ebp + 0xc], ebx
je 0x42df1d
cmp dword [0x460ab4], ebx
je 0x42df1d
call fcn.0042da3b
test eax, eax
je 0x42df54
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x42df26
xor eax, eax
jmp 0x42df18
push 4
call fcn.0041ff14
cmp eax, ebx
pop ecx
mov dword [0x460aac], eax
je 0x42df15
mov dword [eax], ebx
cmp dword [0x460ab4], ebx
jne 0x42df54
push 4
call fcn.0041ff14
cmp eax, ebx
pop ecx
mov dword [0x460ab4], eax
je 0x42df15
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x460aac]
sub edi, esi
push esi
call fcn.0042ddf1
mov edi, eax
test edi, edi
pop ecx
jl 0x42dfbb
cmp dword [ebx], 0
je 0x42dfbb
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0041ff26
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x42df9b
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x42dffc
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x42df92
mov eax, edi
shl eax, 2
push eax
push dword [0x460aac]
call fcn.004230ce
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x42dffc
jmp 0x42dff7
cmp dword [ebp - 4], 0
jne 0x42e063
test edi, edi
jge 0x42dfcb
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x460aac]
call fcn.004230ce
test eax, eax
pop ecx
pop ecx
je 0x42df15
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x460aac], eax
cmp dword [ebp + 0xc], 0
je 0x42e04e
push esi
call fcn.00422ec0
inc eax
inc eax
push eax
call fcn.0041ff14
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x42e04e
push esi
push edi
call fcn.004298e0
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42e047
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.0041ff26
pop ecx
cmp dword [ebp - 4], 0
je 0x42e05b
push esi
call fcn.0041ff26
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x42df18
push esi
call fcn.0041ff26
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x42df22
Function at 0x431eba
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x431ef3
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.004152e6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040a4a0
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x43321a
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 0x43325d
call fcn.00440691
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43325d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x433278
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00432375
test ebx, ebx
mov esi, eax
je 0x433276
test edi, edi
je 0x433276
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x433cf9
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x444eea
call fcn.00422b00
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x433d13
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x433d5f
call fcn.00435f6b
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.00401ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x435199
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 0x4351d0
call fcn.00440691
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 0x4351e1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x43521a
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x4351ff
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x435207
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x435218
test ax, ax
jne 0x435218
test si, si
je 0x43521a
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x435229
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43547b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x445190
call fcn.00422b00
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.00440691
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x4354c9
call fcn.00440691
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 0x4354da
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4354e6
or eax, 0xffffffff
jmp 0x4355e9
mov ecx, esi
call fcn.00434fbd
mov dword [ebp - 0x14], eax
call fcn.00431243
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x435529
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x435529
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x435529
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.004328ad
push dword [ebp - 0x14]
call fcn.0043119b
push edi
push eax
push ebx
mov ecx, esi
call fcn.0043526e
xor ebx, ebx
cmp eax, ebx
je 0x43559d
test byte [esi + 0x38], 0x10
je 0x43556b
push 4
pop edi
mov ecx, esi
call fcn.0043359b
test ah, 1
je 0x435563
push 5
pop edi
push edi
mov ecx, esi
call fcn.00430c3f
cmp dword [esi + 0x1c], ebx
je 0x43559d
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0043384e
jmp 0x43559d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x4355b1
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x4355ca
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4355ca
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.00434ff7
cmp dword [esi + 0x54], ebx
je 0x4355e6
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 0x435623
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00440691
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43565a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0043526e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4364bd
Capabilities:
Get disk information

Disassembly:
mov eax, 0x445361
call fcn.00422b00
sub esp, 0x154
mov eax, dword [0x45aa58]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x158]
push eax
push edi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x436504
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x436508
cmp eax, esi
jb 0x43650f
xor eax, eax
jmp 0x4365f3
call fcn.00435f6b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x154], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x154]
push eax
push edi
call fcn.0043647b
push dword [ebp - 0x154]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x4365e0
push eax
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x160]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x436570
xor esi, esi
jmp 0x4365e3
test byte [ebp - 0x15c], 2
jne 0x436580
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x15c], 4
jne 0x4365e0
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4365e0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x158], 0
je 0x43656c
cmp dword [ebp - 0x158], edi
jbe 0x43656c
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x158]
cmp eax, esi
jge 0x43656c
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x154]
add ecx, 0xfffffff0
call fcn.00401ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00422af1
leave
ret 8
Function at 0x4368f2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jne 0x436925
push dword [ebp + 8]
call edi
push eax
call fcn.00437101
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x20]
cmp eax, dword [ebp - 4]
je 0x436950
test byte [ebp - 4], 1
je 0x436950
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x436950
push dword [ebp + 8]
call edi
push eax
call fcn.00437101
lea eax, [esi + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x436a00
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00436839
pop ecx
lea eax, [esi + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x436986
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00436839
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x43699f
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00436839
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4369ca
push dword [ebp + 8]
call edi
push eax
call fcn.00437101
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4369ea
push dword [ebp + 8]
call edi
push eax
call fcn.00437101
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x436a00
push dword [ebp + 8]
call edi
push eax
call fcn.00437101
movzx eax, byte [esi + 0x20]
cmp eax, dword [ebp - 4]
je 0x436a28
test byte [ebp - 4], 1
jne 0x436a28
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x436a28
push dword [ebp + 8]
call edi
push eax
call fcn.00437101
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x436a2f
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.00422b20
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 [0x44b7b0]
je 0x436b7d
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 0x436a9f
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 0x436aa6
cmp ebx, ebx
jne 0x436aa6
xor eax, eax
jmp 0x436b80
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x436ab3
mov byte [esi + 0x20], bl
jmp 0x436ac7
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
lea eax, [ebp - 8]
push eax
call fcn.004178d9
test eax, eax
je 0x436aee
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.004171e4
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x436af3
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.004178d9
test eax, eax
je 0x436b1b
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.004171e4
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
jmp 0x436b25
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea eax, [ebp - 0x18]
push eax
call fcn.004178d9
test eax, eax
je 0x436b4d
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.004171e4
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x436b57
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x436b69
mov eax, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x436b7d
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 0x43aec9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x45aa58]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov eax, 0x100
cmp ebx, eax
ja 0x43af1c
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x43af1c
push edi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x43af24
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422af1
leave
ret 8

Function at 0x43b7bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45aa58]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
mov esi, ecx
cmp dword [esi + 0x50], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x43b80d
push edi
call fcn.00441f02
mov esi, eax
test esi, esi
je 0x43b831
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
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
jmp 0x43b831
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x4473f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422af1
leave
ret 0xc
Function at 0x43ea2a
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x45aa58]
mov ecx, dword [ebp + 0x7d4]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
mov eax, dword [ebp + 0x7d8]
push ebx
mov ebx, dword [ebp + 0x7d0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x7dc]
xor edx, edx
cmp ecx, edx
push esi
push edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x7c], eax
je 0x43eb4e
cmp ebx, edx
je 0x43eb4e
mov eax, dword [ebp + 0x7e0]
mov esi, eax
mov edi, eax
and esi, 0x2e000000
and edi, 0x40000000
test eax, 0x90000000
mov dword [ebp - 0x6c], 0x824
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x74], edx
je 0x43eac3
cmp dword [ecx + 0x30], edx
je 0x43eac3
test eax, 0x2000000
je 0x43eabd
mov dword [ebp - 0x74], 1
jmp 0x43eac3
or edi, 0x80000000
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
call ebx
test eax, eax
jne 0x43eb0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43eb4e
push dword [ebp - 0x6c]
call fcn.00433489
test eax, eax
pop ecx
mov dword [ebp - 0x78], eax
je 0x43eb4e
push esi
lea ecx, [ebp - 0x6c]
push ecx
push eax
push dword [ebp - 0x80]
mov dword [ebp - 0x68], 1
call ebx
test eax, eax
jne 0x43eb14
push dword [ebp - 0x78]
jmp 0x43eb48
lea ebx, [ebp - 0x60]
jmp 0x43eb17
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
push esi
push edi
xor edi, edi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x74], edi
mov dword [ebp - 0x70], eax
je 0x43eb76
push 0x2100000
push edi
push edi
push dword [esi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeA]
test eax, eax
jge 0x43eb6a
cmp dword [ebp - 0x68], edi
je 0x43eb4e
push ebx
call fcn.004334b9
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x7c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422af1
add ebp, 0x7c8
leave
ret 0x14
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esi + 0x30], eax
cmp dword [ebp - 0x68], edi
je 0x43eb82
push ebx
call fcn.004334b9
pop ecx
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x43eb94
mov ecx, dword [ebp - 0x64]
mov dword [ecx], 0x1000
jmp 0x43eb50
mov cx, word [esi + 0x18]
mov edx, dword [ebp - 0x7c]
mov word [edx], cx
mov esi, dword [esi + 0xc]
dec esi
mov ecx, dword [ebp - 0x64]
je 0x43ebf5
dec esi
je 0x43ebea
dec esi
je 0x43ebdf
dec esi
je 0x43ebd4
dec esi
je 0x43ebc9
dec esi
je 0x43ebc1
dec esi
jne 0x43eb8c
mov dword [ecx], 0x1002
jmp 0x43eb50
mov dword [ecx], 0x1006
jmp 0x43eb50
mov dword [ecx], 0x1001
jmp 0x43eb50
mov dword [ecx], 0x100b
jmp 0x43eb50
mov dword [ecx], 3
jmp 0x43eb50
mov dword [ecx], 2
jmp 0x43eb50
mov dword [ecx], 1
jmp 0x43eb50