joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d376
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp dword [edi + 0xc], 0xffffffff
jne 0x40d3cb
push esi
lea esi, [ebp - 4]
call fcn.0040d3d1
push dword [eax]
push 0
push 0x4c6edc
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040dae8
test esi, esi
pop esi
je 0x40d3bc
push edi
call fcn.0040d4fb
test eax, eax
jne 0x40d3c5
call fcn.0040d72e
test eax, eax
je 0x40d3c8
xor eax, eax
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
pop edi
leave
ret

Function at 0x40d662
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x18], 0
jne 0x40d698
push esi
lea esi, [ebp - 4]
call fcn.0040d3d1
push dword [eax]
push 2
push 0x4c6eec
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040dae8
pop esi
mov eax, dword [edi + 0x18]
leave
ret

Function at 0x40d72e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 4], 0xffffffff
jne 0x40d764
push esi
lea esi, [ebp - 4]
call fcn.0040d3d1
push dword [eax]
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040dae8
pop esi
mov eax, dword [edi + 4]
leave
ret

Function at 0x40ecc2
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4bae72
call fcn.004b89d0
push ecx
and dword [ebp - 0x10], 0
push edi
mov edi, ecx
add edi, 0x14
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x40ed36
push esi
lea esi, [ebp - 0x10]
call fcn.0040d3d1
and dword [ebp - 4], 0
push dword [eax]
mov eax, 0x104
push eax
push eax
mov esi, edi
call fcn.0042771e
push eax
push str.kxetray
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, dword [edi]
test eax, eax
pop esi
je 0x40ed2f
push eax
call fcn.00486c84
pop ecx
mov edx, edi
call fcn.00414cbf
mov eax, dword [edi]
sub eax, 0x10
call fcn.004278fb
mov ecx, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
pop edi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f24d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, edi
call fcn.0040ec49
test eax, eax
jne 0x40f261
push 0x60
pop eax
leave
ret
cmp dword [edi + 8], 0xffffffff
jne 0x40f293
push esi
lea esi, [ebp - 4]
call fcn.0040d3d1
push dword [eax]
push 0x60
push str.debugdpi
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040dae8
pop esi
mov eax, dword [edi + 8]
leave
ret
Function at 0x40f30d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4bba64
call fcn.004b89d0
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
add edi, 0x1c
xor ebx, ebx
cmp eax, ebx
je 0x40f339
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
jne 0x40f461
mov eax, dword [0x4ed5f0]
mov ecx, 0x4ed5f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0040d3d1
mov byte [ebp - 4], 1
push dword [eax]
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x14]
call fcn.0042771e
push eax
push str.1.01.21.5
push str.supportrate
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040dae8
cmp dword [ebp - 0x14], ebx
jne 0x40f399
xor eax, eax
jmp 0x40f3a2
push dword [ebp - 0x14]
call fcn.00486c84
pop ecx
lea edx, [ebp - 0x14]
call fcn.00414cbf
mov esi, 0x4c6e6c
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push eax
lea ecx, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
call fcn.0040f472
jmp 0x40f43d
push eax
call fcn.00485b0a
fstp qword [ebp - 0x24]
mov edx, dword [edi + 4]
test edx, edx
pop ecx
jne 0x40f3d9
xor ecx, ecx
jmp 0x40f3e1
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x40f401
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x40f401
mov eax, dword [edi + 8]
fld qword [ebp - 0x24]
fstp qword [eax]
add eax, 8
mov dword [edi + 8], eax
jmp 0x40f41e
mov ebx, dword [edi + 8]
cmp edx, ebx
jbe 0x40f40d
call fcn.004864d2
push ebx
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.0040f728
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040dae8
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
call fcn.0040f472
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x40f3c4
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x40f5e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40f5fa
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40f62f
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x40f62b
cmp edi, eax
jae 0x40f62f
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x40f61d
cmp edi, eax
jb 0x40f633
xor eax, eax
jmp 0x40f63d
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x411af8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411b5b
cmp dword [ebp + 0xc], 1
je 0x411b34
cmp dword [ebp + 0xc], 2
je 0x411b34
push 0xd
pop eax
jmp 0x411b5b
test edi, edi
mov eax, dword [ebp - 4]
je 0x411b55
test eax, eax
je 0x411b51
test al, 1
jne 0x411b2f
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x411b55
jmp 0x411b2f
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x411c63
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4baa5b
call fcn.004b89d0
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
call fcn.00411a25
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00411d9d
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x411d86
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411d83
lea eax, [ebp - 0x24]
mov ebx, vtable.Gdiplus::PrivateFontCollection.0
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call sub.gdiplus.dll_GdipNewPrivateFontCollection
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipPrivateAddFontFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sub.gdiplus.dll_GdipGetFontCollectionFamilyCount
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jle 0x411d70
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x411d39
mov ecx, dword [ebp - 0x14]
push 0x411a5d
push 0x411fcd
push ecx
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], ecx
call fcn.004857a9
mov eax, edi
jmp 0x411d3b
xor eax, eax
test eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
je 0x411d70
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.00411fd7
test eax, eax
jne 0x411d6b
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x411d6b
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x411d70
call fcn.00411a25
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
call sub.gdiplus.dll_GdipDeletePrivateFontCollection
mov dword [ebp - 0x28], vtable.Gdiplus::FontCollection.0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x411f11
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
xor eax, eax
push 0x20e
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00486640
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call fcn.004279af
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x412517
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x412536
xor eax, eax
jmp 0x412586
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x412532
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x412532
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.00414ce0
test eax, eax
je 0x412572
push edi
push dword [ebp - 4]
push eax
call fcn.00487290
add esp, 0xc
mov eax, ebx
call fcn.0041235b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x41258a
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4ba9fc
call fcn.004b89d0
push ecx
push ecx
mov eax, dword [0x4ed5f0]
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x4ed5f0
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], ebx
lea eax, [edi + 0xc]
jne 0x4125c2
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.00427953
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x4126b8
mov eax, dword [0x4ed5f0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp + 0x14]
push edi
push str._s_d._s
call fcn.0042781d
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x4126ad
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x4126a4
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp + 8], ebx
call fcn.00414ce0
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x41269b
cmp dword [ebp + 8], edi
jne 0x41269b
mov eax, edi
call fcn.0041235b
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040dae8
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040dae8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
xor eax, eax
mov edx, esi
call fcn.00412374
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040dae8
mov esi, dword [ebp - 0x14]
jmp 0x41267d

Function at 0x412859
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x4128b2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x4128a3
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x4128a3
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4128b2
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4
Function at 0x4128b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x4128d6
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x412933
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x412938
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x412938
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x412933
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x41292a
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.0040fdb5
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x412933
cmp dword [edi + 0x18], esi
je 0x412933
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x412947
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
pop edi
leave
ret 8

Function at 0x4146ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea esi, [edi + 0x300]
cmp dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x4146f9
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi], ebx
mov eax, dword [edi + 0x2f4]
cmp eax, ebx
je 0x4147c3
push eax
call fcn.004271e0
mov esi, eax
cmp esi, ebx
pop ecx
je 0x414778
push 2
push ebx
push edi
call fcn.00414323
mov eax, dword [edi + 0x2f4]
cmp eax, dword [edi + 0x2f0]
jne 0x414778
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, esi
push 0x202
call fcn.0042746e
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x414767
cmp word [eax], bx
je 0x414767
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x414778
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x414778
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [edi + 0x2f4], ebx
je 0x4147c3
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [edi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
leave
ret 0xc
Function at 0x4188f5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0041893e
push dword [esi + 0xd0]
call fcn.00426cd1
test eax, eax
pop ecx
je 0x418938
mov edx, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
mov eax, dword [eax + 4]
je 0x41892c
mov dword [edi], ecx
test eax, eax
je 0x418933
mov dword [edi + 4], eax
xor eax, eax
inc eax
jmp 0x41893a
xor eax, eax
leave
ret 4

Function at 0x418937
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0041893e
push dword [esi + 0xd0]
call fcn.00426cd1
test eax, eax
pop ecx
je 0x418938
mov edx, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
mov eax, dword [eax + 4]
je 0x41892c
mov dword [edi], ecx
test eax, eax
je 0x418933
mov dword [edi + 4], eax
xor eax, eax
inc eax
jmp 0x41893a
xor eax, eax
leave
ret 4
Function at 0x41c08f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
inc ebx
cmp eax, 0xf
push edi
mov esi, ecx
jne 0x41c0be
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0xc0]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x41c0f5
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x41c116
push dword [esi + 0x10]
mov dword [esi + 0xc0], ebx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x41c0ef
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c0ef
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0xc0], 0
jne 0x41c0b5
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425f0e
jmp 0x41c0b7
cmp eax, 0x47
jne 0x41c13b
push dword [ebp + 0x14]
lea edi, [esi + 0xc0]
mov eax, esi
mov dword [edi], ebx
call fcn.0041c193
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x41c0b3
cmp eax, 0x18
jne 0x41c0f5
push dword [ebp + 0x10]
mov dword [esi + 0xc0], ebx
call fcn.0041c26a
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x41c173
push dword [esi + 8]
jmp 0x41c169
mov ecx, dword [eax + 0x34]
shr ecx, 3
not ecx
test bl, cl
je 0x41c17d
push dword [eax + 8]
call fcn.004271e0
cmp eax, edi
pop ecx
jne 0x41c15a
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.00412d62
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0xc0], edi
jne 0x41c0b5
jmp 0x41c0f5
Function at 0x42637b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4ba8ef
call fcn.004b89d0
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi], vtable.CBkWindow.0
call fcn.0041dd1f
push 0x4ee2b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0041dd1f
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.0041dd1f
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0041040e
push 0x4ee2b8
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 4], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
lea esi, [edi + 0x28]
mov ecx, 0x4ed5f0
call fcn.00425728
xor ebx, ebx
lea esi, [edi + 0x40]
mov ecx, 0x4ed5f0
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
call fcn.00425728
lea esi, [edi + 0x48]
mov ecx, 0x4ed5f0
mov dword [edi + 0x44], ebx
call fcn.00425728
lea esi, [edi + 0x4c]
mov ecx, 0x4ed5f0
call fcn.00425728
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
or dword [edi + 0x64], 0xffffffff
lea eax, [edi + 0x14]
push eax
mov dword [edi + 0x58], ebx
mov word [edi + 0x5c], bx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], 1
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
mov dword [edi + 0xc4], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x427d6a
Capabilities:
Get proxy

Disassembly:
mov eax, 0x4bb88a
call fcn.004b89d0
sub esp, 0x428
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], 0x104
mov esi, 0x206
push esi
lea eax, [ebp - 0x22a]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x22c], bx
call fcn.00486640
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.00486640
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov edi, SysReAllocString
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call esi
cmp eax, ebx
jne 0x427e0e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push str.ProxyEnable
lea eax, [ebp - 0x10]
push eax
call fcn.0040d6e0
cmp dword [ebp - 0x10], ebx
je 0x427e0e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
je 0x427e22
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x427f53
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edi
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x427f53
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push str.ProxyServer
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x22c]
call fcn.00411af8
cmp eax, ebx
jne 0x427f45
cmp word [ebp - 0x22c], bx
je 0x427f45
mov eax, edi
push 0x104
push eax
call fcn.00487a48
mov esi, dword [ebp + 8]
mov edi, str.socks
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [esi], 2
call fcn.004859a0
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x427eca
mov dword [esi], 3
push edi
call fcn.00486c84
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00428591
jmp 0x427f03
mov edi, str.http
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.004859a0
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov dword [esi], 2
jne 0x427eaf
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.0048633c
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004279af
mov esi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00427f67
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040dae8
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x427f45
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], ebx
je 0x427f53
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc