joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4015c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5193d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x5624f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0xc]
call fcn.0040a54f
mov dword [esp + 0x28], 0
test esi, esi
jne 0x401606
xor eax, eax
jmp 0x401609
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x10]
call fcn.0040ab84
lea eax, [edi + 0x7c]
test eax, eax
je 0x401624
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0040aee9
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0xbc]
push 0xcc0020
push 0
push 0
push edx
mov ebx, eax
mov eax, dword [edi + 0xc0]
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
je 0x401662
mov ebx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.0040aee9
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [edi + 0x84]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
call fcn.0040a27c
mov ecx, dword [edi + 0xb8]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xa0]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push ecx
lea ecx, [edi + 0xa4]
push ecx
push 0xffffffffffffffff
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [edi + 0x8c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0xe4]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0xcc]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push ecx
add edi, 0xd0
push edi
push 0xffffffffffffffff
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040ac05
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402960
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5624f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x118]
mov edi, ecx
push eax
push edi
mov byte [ebp - 0x105], 1
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x4029a4
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7749
mov esp, ebp
pop ebp
ret
push esi
call fcn.004034cc
mov ecx, dword [ebp - 0x118]
add esp, 4
push eax
push esi
push ecx
push edi
mov dword [ebp - 0x10c], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x402992
mov edi, dword [ebp - 0x10c]
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x114]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
xor esi, esi
test dword [ebp - 0x10c], 0xfffffffc
mov dword [ebp - 0x110], esi
jbe 0x402a74
jmp 0x402a00
mov eax, dword [ebp - 0x114]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [ebp - 0x104]
push str.StringFileInfo_04x_04xProductVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x110]
push ecx
push ebx
lea edx, [ebp - 0x104]
push edx
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jns 0x402a49
mov byte [ebp - 0x105], 0
jmp 0x402a66
mov eax, dword [ebp - 0x110]
dec eax
mov ecx, dword [ebx]
js 0x402a66
cmp word [ecx + eax*2], 0x2e
je 0x402a60
dec eax
jns 0x402a54
jmp 0x402a66
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x10c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x402a00
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x105]
pop edi
xor ecx, ebp
pop esi
call fcn.004f7749
mov esp, ebp
pop ebp
ret

Function at 0x402ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402f52
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x402f21
cmp eax, 2
jne 0x402f3c
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x402f4c
test eax, eax
je 0x402f47
test al, 1
jne 0x402f3c
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x402f4c
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x403160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40317b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4031b2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4031ae
jmp 0x4031a0
cmp esi, eax
jae 0x4031b2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4031a0
cmp esi, eax
jb 0x4031b9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4038af
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x50e028
call fcn.004f866d
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4038d4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x403926
call fcn.0040c443
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c50
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f81bc
push eax
call fcn.004030d0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401d00
mov eax, esi
call fcn.004f8745
ret 8

Function at 0x40a151
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40a198
call fcn.0040d3b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40a198
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40a1b4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00409c51
mov esi, eax
test edi, edi
je 0x40a1b2
test ebx, ebx
je 0x40a1b2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40e160
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5624f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x40e1a5
push 0x51d160
push 4
push eax
call fcn.004f8c45
push eax
call fcn.004030d0
add esp, 0x10
jmp 0x40e1bb
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40e23b
push edi
call fcn.004f8bed
mov edi, dword [eax]
call fcn.004f8bed
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004f8b8a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004f8bed
cmp dword [eax], 0
je 0x40e20f
call fcn.004f8bed
push dword [eax]
call fcn.0040392e
pop ecx
jmp 0x40e216
call fcn.004f8bed
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x40e23b
cmp dword [ebp - 0x234], esi
jae 0x40e23b
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x40e23d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f7749
leave
ret
Function at 0x40e77c
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5624f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00405523
pop ecx
cmp eax, esi
je 0x40e866
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x40e866
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.004f87a0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x40e866
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x40e866
cmp esi, 0x14
jge 0x40e866
push 0x10
push 0
push edi
call fcn.004fa863
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40e855
call fcn.004f8bed
cmp dword [eax], 0x22
je 0x40e855
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.004f8777
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x40e82b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5657bc], 0
jne 0x40e8f1
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x40e91a
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0040e160
pop ecx
pop ecx
test eax, eax
jne 0x40e91c
inc edi
cmp edi, esi
jl 0x40e8f7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7749
leave
ret 8

Function at 0x414722
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5624f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x414757
xor eax, eax
jmp 0x4147aa
lea eax, [ebp - 0x210]
push eax
call fcn.004f8777
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x414788
push 0x51d904
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f7dca
add esp, 0xc
test eax, eax
jne 0x414753
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f7dca
add esp, 0xc
test eax, eax
jne 0x414753
lea eax, [ebp - 0x210]
push eax
call fcn.00405523
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f7749
leave
ret
Function at 0x441cd2
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004cd86a
call fcn.0040cdcd
cmp dword [eax + 0x14], 0
jne 0x441cef
mov ecx, esi
pop esi
jmp fcn.004417d7
pop esi
ret

Function at 0x4452bd
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004b2bec
call fcn.0040cdcd
cmp dword [eax + 0x14], 0
jne 0x4452da
mov ecx, esi
pop esi
jmp fcn.00444c8d
pop esi
ret

Function at 0x451e3c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00451ae0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x451e86
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040821b
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004064ac
jmp 0x451e91
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041273c
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x451e97
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00403579
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x451ed4
call fcn.00451ae0
mov dword [esi + 0xc], 1
jmp 0x451ed9
call fcn.00451ae0
cmp dword [esi], 0
je 0x451f22
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x451efa
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040821b
jmp 0x451f0c
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401e60
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004064ac
jmp 0x451f46
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x451f46
push dword [esi]
push dword [ebp + 8]
call fcn.0041273c
pop esi
pop ebp
ret 0xc

Function at 0x457424
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040d3b0
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45745d
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.00457061
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 0x4574bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4574df
cmp dword [edi + 0x74], 0
jne 0x4574df
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040d3b0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045747c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x484395
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4843af
call fcn.0040d3b0
mov esi, dword [eax + 0xc]
push dword [0x56798c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4843cd
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4843c5
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4843fa
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4843c7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004842c3
mov esi, eax
jmp 0x4843ec

Function at 0x4d88aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d88c2
mov edi, dword [esi + 0xc]
jmp 0x4d8902
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d88db
call fcn.0040a4f7
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d88f0
call fcn.0040a4f7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d8902
call fcn.0040a4f7
call fcn.0040d3b0
cmp dword [eax + 0x3c], 0
je 0x4d8917
push edi
mov ecx, ebx
call fcn.004d76d4
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d87c4
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d8935
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d8941
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f7749
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5624f0]
jne 0x4f7753
repz ret
jmp fcn.004fe4b3
Function at 0x508cd8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5624f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004fdedb
and dword [ebp - 0x14], 0
cmp dword [0x569fbc], 0
mov dword [ebp - 0x18], eax
jne 0x508d8b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x508e33
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5431e8
push ebx
call edi
test eax, eax
je 0x508e33
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5431d8
push ebx
mov dword [0x569fbc], eax
call edi
push eax
call esi
push 0x5431c4
push ebx
mov dword [0x569fc0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x569fc4], eax
call edi
push eax
call esi
mov dword [0x569fcc], eax
test eax, eax
je 0x508d8b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x569fc8], eax
mov eax, dword [0x569fc8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x508de4
cmp dword [0x569fcc], ecx
je 0x508de4
push eax
call esi
push dword [0x569fcc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x508de4
test ebx, ebx
je 0x508de4
call edi
test eax, eax
je 0x508ddb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x508ddb
test byte [ebp - 8], 1
jne 0x508de4
or dword [ebp + 0x10], 0x200000
jmp 0x508e17
mov eax, dword [0x569fc0]
cmp eax, dword [ebp - 0x18]
je 0x508e17
push eax
call esi
test eax, eax
je 0x508e17
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x508e17
mov eax, dword [0x569fc4]
cmp eax, dword [ebp - 0x18]
je 0x508e17
push eax
call esi
test eax, eax
je 0x508e17
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x569fbc]
call esi
test eax, eax
je 0x508e33
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x508e35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7749
leave
ret
Function at 0x40111e
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4115c4], 0
mov dword [0x4115d0], 0
mov eax, dword [ebp + 8]
mov dword [0x4115d4], eax
mov dword [0x4115dc], 0
mov ecx, dword [ebp + 8]
push ecx
push str.Connecting_to__s...
call fcn.00401db0
add esp, 8
push 0
push 0
push 0
push 0x4115c0
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x40119e
push 0
push 0x409558
push 0x40955c
push 0x4115c0
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x40118a
xor eax, eax
jmp 0x401200
push 0x408324
call fcn.00401db0
add esp, 4
mov eax, 1
jmp 0x401200
push 1
push 0
mov edx, dword [0x4115d4]
push edx
call sub.MPR.dll_WNetCancelConnection2W
test eax, eax
jne 0x4011f1
push 0
push 0x409560
push 0x409564
push 0x4115c0
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x4011dd
push str.Connect_failed._n
call fcn.00401c1e
add esp, 4
xor eax, eax
jmp 0x401200
push str.Connected._n
call fcn.00401db0
add esp, 4
mov eax, 1
jmp 0x401200
push str.Cancel_failed..._n
call fcn.00401c1e
add esp, 4
xor eax, eax
pop ebp
ret
Function at 0x401587
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push str.Checking_passwords_on_accounts..._n
call fcn.00401db0
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4015b1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4115b0]
jae 0x401685
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x409740]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x409740]
push edx
push 0x4115c0
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
jne 0x401622
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x409740]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x409740]
push eax
push str._H3_WARNING_t_ss_password_is__s__H3__n
mov ecx, dword [0x4115b4]
push ecx
call fcn.00401e16
add esp, 0x10
push 1
push 0
mov edx, dword [0x4115d4]
push edx
call sub.MPR.dll_WNetCancelConnection2W
jmp 0x401680
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x409740]
push ecx
push 0x40956c
push 0x4115c0
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
jne 0x401673
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x409740]
push eax
push str._H3_WARNING_t_ss_password_is_blank__H3__n
mov ecx, dword [0x4115b4]
push ecx
call fcn.00401e16
add esp, 0xc
push 1
push 0
mov edx, dword [0x4115d4]
push edx
call sub.MPR.dll_WNetCancelConnection2W
jmp 0x401680
push 0x409570
call fcn.00401db0
add esp, 4
jmp 0x4015a8
xor eax, eax
mov esp, ebp
pop ebp
ret