joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404077
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 0x475868
lea ecx, [ebp - 8]
call fcn.0040204c
push 0x4639c8
lea ecx, [ebp - 4]
call fcn.00403b7b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00402c33
push 0
push 0x1c
push 0x104
lea ecx, [ebp - 8]
call fcn.004024e5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 8]
call fcn.00401b28
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00401b41
push str.360ChromeChromeUser_DataDefaultCookies
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402bbb
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.00402c33
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401931
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004020af
lea ecx, [esi + 0x10]
call fcn.00408a9b
test eax, eax
mov ebx, str.Cookie.cpp
mov edi, str.Cookie
jne 0x404150
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x404133
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x40413e
mov esi, 0x80004005
push 0x675
push ebx
push edi
push esi
call sub.LogDll.dll_TraceErrorReport
add esp, 0x10
jmp 0x40415e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
xor esi, esi
call fcn.00402c33
mov ecx, dword [ebp + 8]
push esi
call fcn.00402032
push eax
push str.Get360ChromeCookieName__path__s___result____d_
push 4
push 0x679
push ebx
push edi
call sub.LogDll.dll_TraceToFile
mov ecx, dword [ebp - 4]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401931
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x404426
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 0x475868
lea ecx, [ebp - 8]
call fcn.0040204c
push 0x4639c8
lea ecx, [ebp - 4]
call fcn.00403b7b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00402c33
push 0
push 0x1a
push 0x104
lea ecx, [ebp - 8]
call fcn.004024e5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 8]
call fcn.00401b28
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00401b41
push str.SogouExplorerWebkitDefaultCookies
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402bbb
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.00402c33
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401931
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004020af
lea ecx, [esi + 0x10]
call fcn.00408a9b
test eax, eax
mov ebx, str.Cookie.cpp
mov edi, str.Cookie
jne 0x4044ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4044e2
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x4044ed
mov esi, 0x80004005
push 0x819
push ebx
push edi
push esi
call sub.LogDll.dll_TraceErrorReport
add esp, 0x10
jmp 0x40450d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
xor esi, esi
call fcn.00402c33
mov ecx, dword [ebp + 8]
push esi
call fcn.00402032
push eax
push str.GetSogouCookieName__path__s___result____d_
push 4
push 0x81d
push ebx
push edi
call sub.LogDll.dll_TraceToFile
mov ecx, dword [ebp - 4]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401931
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x4047d5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 0x475868
lea ecx, [ebp - 8]
call fcn.0040204c
push 0x4639c8
lea ecx, [ebp - 4]
call fcn.00403b7b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00402c33
push 0
push 0x1a
push 0x104
lea ecx, [ebp - 8]
call fcn.004024e5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 8]
call fcn.00401b28
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00401b41
push str.360se6User_DataDefaultCookies
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402bbb
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call fcn.00402c33
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401931
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004020af
lea ecx, [esi + 0x10]
call fcn.00408a9b
test eax, eax
mov ebx, str.Cookie.cpp
mov edi, str.Cookie
jne 0x4048ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x404891
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x40489c
mov esi, 0x80004005
push 0x9bb
push ebx
push edi
push esi
call sub.LogDll.dll_TraceErrorReport
add esp, 0x10
jmp 0x4048bc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
xor esi, esi
call fcn.00402c33
mov ecx, dword [ebp + 8]
push esi
call fcn.00402032
push eax
push str.Get360seCookieName__path__s___result____d_
push 4
push 0x9bf
push ebx
push edi
call sub.LogDll.dll_TraceToFile
mov ecx, dword [ebp - 4]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401931
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x404b84
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x5fc]
sub esp, 0x67c
mov eax, dword [0x473f80]
xor eax, ebp
mov dword [ebp + 0x5f8], eax
mov eax, dword [ebp + 0x608]
push ebx
mov ebx, dword [ebp + 0x604]
push edi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x60c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x78], eax
je 0x404d5b
push eax
call fcn.0044c931
test eax, eax
pop ecx
je 0x404d5b
push esi
mov esi, 0x206
push esi
lea eax, [ebp + 0x3f2]
push edi
push eax
mov word [ebp + 0x3f0], di
call fcn.0044d600
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x3f0]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x80], 0x104
push ebx
call dword [sym.imp.WININET.dll_InternetGetCookieW]
test eax, eax
je 0x404d56
lea eax, [ebp + 0x3f0]
push eax
call fcn.0044c931
test eax, eax
pop ecx
je 0x404d56
push esi
lea eax, [ebp + 0x1ea]
push edi
push eax
mov word [ebp + 0x1e8], di
call fcn.0044d600
add esp, 0xc
push edi
push 0x21
lea eax, [ebp + 0x1e8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x1e8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403b7b
push 0x250
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.0044d600
push str..
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00402bbb
mov eax, dword [eax]
add esp, 0x18
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x74]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401931
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x404d3c
lea eax, [ebp - 0x3c]
push 0x4646a8
push eax
call fcn.0044d7c3
test eax, eax
pop ecx
pop ecx
je 0x404c9f
lea eax, [ebp - 0x3c]
push 0x4646a4
push eax
call fcn.0044d7c3
test eax, eax
pop ecx
pop ecx
je 0x404c9f
push dword [ebp - 0x78]
lea eax, [ebp - 0x3c]
push eax
call fcn.0044ccfb
test eax, eax
pop ecx
pop ecx
je 0x404c9f
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00402bbb
add esp, 0xc
push 0x80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00401931
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00402bbb
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x7c]
jmp 0x404c97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x404c9f
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401931
xor eax, eax
pop esi
jmp 0x404d5e
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x5f8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044d67a
add ebp, 0x5fc
leave
ret 0xc
Function at 0x405a99
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x475868
lea ecx, [ebp - 4]
call fcn.0040204c
push 0x4639c8
lea ecx, [ebp - 8]
call fcn.00403b7b
mov ecx, dword [ebp + 8]
call fcn.004057a1
push 0
push 0x1c
push 0x104
lea ecx, [ebp - 4]
call fcn.004024e5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 4]
call fcn.00401b28
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00401b41
push str.GoogleChrome
lea ecx, [ebp - 4]
call fcn.00402cc8
push str.User_DataDefaultCookies
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402bbb
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.00402c33
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401931
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00405a44
mov ebx, dword [ebp - 4]
xor esi, esi
inc esi
push str.Cookies
push esi
push str.User_DataProfile
push ebx
lea eax, [ebp - 8]
push str._s_s_d_s
push eax
call fcn.00402d1f
mov edi, dword [ebp - 8]
add esp, 0x18
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405b75
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.00405a44
inc esi
cmp esi, 0x32
jl 0x405b38
lea ecx, [edi - 0x10]
call fcn.00401931
lea ecx, [ebx - 0x10]
call fcn.00401931
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x406c37
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x406c8d
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x406ca3
push 0x80004005
call fcn.0040144a
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x406ca6
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4071fe
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x473f80]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.00401689
mov edi, eax
cmp edi, esi
je 0x407266
lea ecx, [ebp - 0x70]
call fcn.0040161b
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d67a
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40727e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004071fe
cmp eax, esi
jne 0x4072b1
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x40726e
lea ecx, [ebp - 0x70]
call fcn.0040161b
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040161b
mov eax, esi
jmp 0x40724c
Function at 0x40816c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x473f80]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3b0]
push edi
mov esi, ecx
mov dword [ebp - 0x74], eax
call dword [0x473f54]
xor edi, edi
push 2
push edi
push ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x78], ebx
jne 0x4081d7
call fcn.00406b0e
mov esi, eax
jmp 0x4082a3
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x4081f4
call fcn.00406b0e
jmp 0x408298
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [ebp - 0x6c], eax
je 0x4081ea
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x40824d
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x408224
lea ecx, [ebp - 0x68]
call fcn.004071af
mov esi, 0x8007000e
lea ecx, [ebp - 0x70]
call fcn.004070e9
mov ecx, dword [ebp + 0x39c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d67a
add ebp, 0x3a0
leave
ret 0x10
push eax
lea ecx, [ebp - 0x68]
call fcn.0040763c
mov ebx, dword [ebp - 0x68]
cmp ebx, edi
jne 0x408264
mov esi, 0x8007000e
jmp 0x40829a
call dword [0x473f54]
push esi
push ebx
push esi
push dword [ebp - 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x4081ea
mov ecx, dword [ebp - 0x68]
push dword [ebp + 0x3b4]
mov word [ecx + eax*2], di
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.00408024
mov esi, eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x408229
lea ecx, [ebp - 0x68]
call fcn.004071af
jmp 0x408229

Function at 0x408a9b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408ab0
inc edi
lea ecx, [esi - 0x10]
call fcn.00401931
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x409512
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov edi, ecx
mov dword [ebp - 8], edi
jne 0x409536
push ebx
push ebx
push ebx
push 2
call fcn.0040a1c7
xor al, al
jmp 0x40968a
push esi
call fcn.00408d1d
or dword [edi + 8], 0xffffffff
or dword [edi + 4], 0xffffffff
push 2
push ebx
push dword [ebp + 8]
call fcn.00450943
push dword [ebp + 8]
call fcn.0045084e
push ebx
push ebx
push dword [ebp + 8]
mov esi, eax
call fcn.00450943
add esp, 0x1c
cmp esi, ebx
jg 0x40957b
push ebx
push ebx
push ebx
push 0xd
mov ecx, edi
call fcn.0040a1c7
jmp 0x409671
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0x4753c4
call fcn.00408b07
lea eax, [esi + 1]
push eax
call fcn.0044c864
push dword [ebp + 8]
mov ebx, eax
push 1
push esi
push ebx
mov byte [ebx], 0
call fcn.0045069b
add esp, 0x14
cmp eax, 1
je 0x4095c7
push ebx
call fcn.0044d26c
pop ecx
xor eax, eax
push eax
push eax
push eax
push 2
mov ecx, edi
call fcn.0040a1c7
jmp 0x40965f
mov byte [ebx + esi], 0
cmp byte [ebx], 0
mov eax, ebx
mov edi, ebx
je 0x40962e
mov cl, byte [edi]
cmp cl, 0xa
jne 0x4095ed
mov ecx, edi
sub ecx, eax
inc ecx
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.00408bd1
inc edi
jmp 0x409624
cmp cl, 0xd
jne 0x409628
mov ecx, edi
sub ecx, eax
test ecx, ecx
jle 0x409604
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.00408bd1
push 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
mov byte [ebp + 8], 0xa
call fcn.00408bd1
lea eax, [edi + 1]
cmp byte [eax], 0xa
jne 0x409622
inc edi
inc edi
jmp 0x409624
mov edi, eax
mov eax, edi
jmp 0x409629
inc edi
cmp byte [edi], 0
jne 0x4095d4
sub edi, eax
je 0x40963c
push edi
push eax
lea ecx, [ebp - 4]
call fcn.00408bd1
push ebx
call fcn.0044d26c
mov esi, dword [ebp - 8]
mov eax, dword [esi]
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add ecx, 8
push 0
push ecx
mov ecx, esi
call dword [eax + 8]
cmp byte [esi + 0x2c], 0
je 0x409675
cmp dword [ebp - 4], 0x4753c4
je 0x409671
push dword [ebp - 4]
call fcn.0044d26c
pop ecx
xor al, al
jmp 0x409689
cmp dword [ebp - 4], 0x4753c4
je 0x409687
push dword [ebp - 4]
call fcn.0044d26c
pop ecx
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x40b2df
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call fcn.0045116b
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044c864
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
push esi
push edi
call fcn.004510fb
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x40b32f
push edi
call fcn.0044d26c
pop ecx
pop edi
pop esi
ret

Function at 0x40c97e
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x40c9a7
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x467ae0]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x40c987
pop esi
ret
Function at 0x42b0c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [edi + 0x3c]
push ebx
xor ebx, ebx
cmp dword [edx], ebx
push esi
mov esi, eax
mov dword [ebp - 4], ebx
jne 0x42b0fd
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
push edx
push ebx
push ecx
call dword [ecx + 0x18]
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x42b1d3
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x42b137
mov eax, dword [edi + 0x80]
push ebx
cdq
push ecx
push edx
push eax
call fcn.00451650
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], eax
jmp 0x42b137
xor ebx, ebx
cmp esi, ebx
je 0x42b1d3
mov ebx, dword [esi + 0x14]
cmp ebx, dword [edi + 0x18]
ja 0x42b1c6
test byte [esi + 0x18], 0x20
jne 0x42b1c6
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.00451650
cmp ebx, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jne 0x42b171
call fcn.0040e363
push dword [ebp - 0xc]
mov eax, dword [esi + 4]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [edi + 0x80]
push eax
mov eax, dword [edi + 0x3c]
call fcn.0040b8f9
add esp, 0x10
cmp ebx, 1
mov dword [ebp - 4], eax
jne 0x42b1ac
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [edi + 0x64]
push eax
call fcn.0044c950
add esp, 0xc
cmp ebx, dword [edi + 0x20]
jbe 0x42b1b4
mov dword [edi + 0x20], ebx
inc dword [edi + 0xa8]
push dword [esi + 4]
mov eax, dword [edi + 0x58]
call fcn.00424cf4
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
je 0x42b135
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x44c540
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x473f80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044c47f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0044d600
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44c58f
cmp dword [ebp - 0x1c], 5
jb 0x44c5a7
jmp 0x44c5a3
cmp dword [ebp - 0x10], 1
jne 0x44c5a7
cmp dword [ebp - 0x1c], 4
ja 0x44c5a3
jne 0x44c5a7
cmp dword [ebp - 0x18], 0
jbe 0x44c5a7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46eab8
call fcn.00406820
test eax, eax
jge 0x44c5c8
mov byte [0x47534c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044d67a
add ebp, 0x78
leave
ret

Function at 0x44d67a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x473f80]
jne 0x44d684
repz ret
jmp fcn.00453d9d
Function at 0x45cef3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00453499
xor ebx, ebx
cmp dword [0x476470], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x45cfc8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x45cf33
xor eax, eax
jmp 0x45d08c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x45cf2c
push eax
call fcn.00453436
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x476470], eax
call esi
push eax
call fcn.00453436
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x476474], eax
call esi
push eax
call fcn.00453436
mov dword [0x476478], eax
lea eax, [ebp - 8]
push eax
call fcn.00454ec5
test eax, eax
pop ecx
pop ecx
je 0x45cf96
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044d693
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x45cfc8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00453436
cmp eax, ebx
pop ecx
mov dword [0x476480], eax
je 0x45cfc8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453436
pop ecx
mov dword [0x47647c], eax
mov eax, dword [0x47647c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x45d041
cmp dword [0x476480], esi
je 0x45d041
push eax
call fcn.004534a2
pop ecx
call eax
cmp eax, ebx
je 0x45d00e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x476480]
call fcn.004534a2
pop ecx
call eax
test eax, eax
je 0x45d00e
test byte [ebp - 0x18], 1
jne 0x45d041
lea eax, [ebp - 0xc]
push eax
call fcn.00454efc
test eax, eax
pop ecx
je 0x45d029
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044d693
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x45d038
or dword [ebp + 0x10], 0x200000
jmp 0x45d072
or dword [ebp + 0x10], 0x40000
jmp 0x45d072
mov eax, dword [0x476474]
cmp eax, esi
je 0x45d072
push eax
call fcn.004534a2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45d072
mov eax, dword [0x476478]
cmp eax, esi
je 0x45d072
push dword [ebp - 4]
push eax
call fcn.004534a2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x476470]
call fcn.004534a2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret