joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dac0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x47be40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4bc364]
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 8], ebx
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x40], eax
cmp dword [esi + 0x18], 0x10
push edi
mov dword [esp + 0x14], ebx
lea edi, [esi + 4]
jb 0x42db00
mov eax, dword [edi]
jmp 0x42db02
mov eax, edi
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], ebx
call fcn.004296d0
cmp dword [esi + 0x18], 0x10
jb 0x42db33
mov eax, dword [edi]
jmp 0x42db35
mov eax, edi
mov edi, dword [esp + 0x1c]
push edi
push ebp
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42db69
mov esi, dword [esp + 0x58]
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x497890
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015d0
jmp 0x42dc2e
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x18]
mov ebp, 0x10
cmp ecx, ebp
jb 0x42db7e
mov eax, dword [eax + 4]
jmp 0x42db81
add eax, 4
push eax
push 0x4e4
push 0x409
lea edx, [esp + 0x34]
push str.StringFileInfo_04x_04x_s
push edx
call fcn.00417521
add esp, 0x14
cmp dword [esp + 0x40], ebp
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x50], 1
jae 0x42dbb1
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
mov esi, dword [esp + 0x58]
jne 0x42dbff
push ebx
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push 0x497890
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015d0
cmp dword [esp + 0x40], 0x10
jb 0x42dbf9
mov eax, dword [esp + 0x2c]
push eax
call fcn.00469560
add esp, 4
mov dword [esp + 0x40], ebp
jmp 0x42dc26
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004016c0
cmp dword [esp + 0x40], ebp
jb 0x42dc1e
mov edx, dword [esp + 0x2c]
push edx
call fcn.00469560
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp edi, ebx
je 0x42dc3b
push edi
call fcn.00469560
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38]
pop ebx
call fcn.0044ead4
add esp, 0x44
ret
Function at 0x42ecc0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x47bfc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
push str.WTFULLSCREENWND
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, edi
je 0x42ed31
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, ebx
call fcn.0042f210
cmp eax, dword [esp + 0x10]
jne 0x42ed31
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42ed31
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x3c], edi
call fcn.0042e660
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov esi, ecx
je 0x42eda8
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esi - 4]
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x42b1e0
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x14], eax
jne 0x42ed9c
mov eax, dword [esp + 0x24]
add esi, 0xfffffffc
cmp esi, eax
jne 0x42ed67
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov esi, eax
je 0x42edc8
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi]
push ecx
call ebx
mov eax, dword [esp + 0x28]
add esi, 4
cmp esi, eax
jne 0x42edb4
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x42edd5
push eax
call fcn.00469560
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x430b50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov edx, 8
cmp esi, edx
lea eax, [ecx + 8]
pop esi
jbe 0x430b8b
push ebp
xor dword [eax], 0xf05643b7
xor dword [eax + 4], 0x3759814b
xor dword [eax + 8], 0x93aad9e1
xor dword [eax + 0xc], 0x903622a2
mov ebp, dword [ecx + 4]
add edx, 0x10
cmp edx, ebp
lea eax, [edx + ecx]
jb 0x430b62
pop ebp
ret
Function at 0x432a00
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x432a6e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x432a67
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x432a67
lea edx, [esp + 8]
push edx
push 0
mov eax, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
and ecx, 0x27
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
add esp, 0x10
ret

Function at 0x432b80
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x432bfc
mov eax, dword [esi + 4]
push ebx
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
mov ebp, dword [esp + 0x14]
sub eax, ebx
cmp eax, ebp
jae 0x432bc7
lea ecx, [ecx]
mov eax, dword [esi + 8]
test eax, eax
je 0x432bf9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, ebx
cmp eax, ebp
jb 0x432bb0
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
test eax, eax
je 0x432bf2
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
pop esi
ret 4

Function at 0x432d00
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x20
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebx
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
push edi
mov edi, dword [esp + 0x30]
mov word [esp + 0x28], ax
mov eax, dword [edi + 0x14]
add eax, 2
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call fcn.00469565
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x432d99
cmp dword [edi + 0x18], 0x10
mov ecx, dword [edi + 0x14]
jb 0x432d52
mov eax, dword [edi + 4]
jmp 0x432d55
lea eax, [edi + 4]
add ecx, 2
push ecx
push eax
push esi
call fcn.00451160
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov byte [esi + ecx + 1], bl
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], esi
mov word [esp + 0x20], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ebx, eax
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.00469560
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x20
ret
Function at 0x436b40
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x47c960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4bc364]
push ebx
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x40], eax
push edi
xor esi, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x2c], 0
mov ebx, dword [esp + 0x58]
cmp dword [ebx + 0x18], 0x10
mov dword [esp + 0x50], ebp
mov dword [esp + 0x14], ebp
lea edi, [ebx + 4]
jb 0x436b93
mov eax, dword [edi]
jmp 0x436b95
mov eax, edi
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebp
jbe 0x436c44
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
push ebp
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 1
call fcn.004143cf
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x436bd0
xor eax, eax
jmp 0x436bd6
mov eax, dword [esp + 0x20]
sub eax, ebp
cmp dword [ebx + 0x18], 0x10
jb 0x436bde
mov edi, dword [edi]
push ebp
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x436c35
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x14]
push eax
push 0x497ca0
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x68], edi
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, edi
je 0x436c35
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x10005
mov eax, dword [eax + 0x14]
jb 0x436c33
ja 0x436c2c
cmp eax, 0x32
jb 0x436c33
mov esi, 1
jmp 0x436c35
xor esi, esi
cmp ebp, edi
je 0x436c42
push ebp
call fcn.00469560
add esp, 4
xor ebp, ebp
mov ecx, dword [esp + 0x48]
cmp esi, ebp
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38]
setne al
pop ebx
call fcn.0044ead4
add esp, 0x44
ret 4

Function at 0x437140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4bc364]
push ebx
push esi
push edi
mov dword [esp + 0x134], eax
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov byte [esp + 0x28], bl
mov ecx, 0x40
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
push 0x23
lea eax, [esp + 0x30]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4371e3
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042f890
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0x4371a4
mov eax, dword [eax + 4]
jmp 0x4371a7
add eax, 4
push eax
lea edx, [esp + 0x2c]
push edx
push str._hsWildTangent_hsCacheHotSauce.hsdat
push 0x104
add esi, 0x6d6
push esi
call fcn.00436cd0
mov esi, eax
mov eax, dword [esp + 0x38]
add esp, 0x14
cmp eax, edi
jb 0x4371dd
mov eax, dword [esp + 0x10]
push eax
call fcn.00469560
add esp, 4
cmp esi, ebx
mov al, 1
jge 0x4371e5
mov al, bl
mov ecx, dword [esp + 0x134]
call fcn.0044ead4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43cca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
mov al, byte [edi + 4]
test al, al
jne 0x43ccca
push 0x4bb0c0
lea ecx, [esp + 8]
call fcn.0044efe4
push 0x4b3ed8
lea eax, [esp + 8]
push eax
call fcn.0044ea69
mov eax, dword [edi + 0x3cc]
xor edx, edx
test eax, eax
jle 0x43ccf7
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
mov cl, byte [esi]
mov bl, byte [eax]
xor bl, cl
inc esi
mov byte [eax], bl
mov ecx, dword [edi + 0x3cc]
inc eax
inc edx
cmp edx, ecx
jl 0x43cce0
pop esi
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x43edc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x43edeb
movsx ecx, byte [esp]
push ecx
call fcn.0044fc5d
add esp, 4
test eax, eax
jne 0x43edf4
mov al, 0x43
add esp, 0x104
ret
movsx edx, byte [esp]
push edx
call fcn.00450ac6
add esp, 4
add esp, 0x104
ret

Function at 0x43ef10
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x2904
call fcn.0044f640
push ebx
push esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x110]
xor ebx, ebx
mov dword [esp + 0xc], ebx
push ecx
mov dword [esp + 0x10], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x43ef6c
mov esi, dword [esp + 0x2910]
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x497890
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015d0
mov eax, esi
pop esi
pop ebx
add esp, 0x2904
ret
mov edx, dword [esp + 0x2914]
lea eax, [esp + 0x10c]
xor ecx, ecx
push edi
lea ecx, [ecx]
movzx esi, byte [eax + 0x196]
movzx edi, byte [eax + 0x197]
shl esi, 8
add esi, edi
movzx edi, byte [eax + 0x198]
shl esi, 8
add esi, edi
movzx edi, byte [eax + 0x199]
shl esi, 8
add esi, edi
je 0x43f048
cmp edx, ebx
jl 0x43efbd
cmp edx, ecx
jne 0x43f04c
movzx edx, byte [eax + 0x199]
movzx ecx, byte [eax + 0x198]
push edx
movzx edx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push edx
movzx edx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push edx
push eax
push str._02X__02X__02X__02X__02X__02X
lea ecx, [esp + 0x2c]
push 0x100
push ecx
call fcn.0045391a
mov esi, dword [esp + 0x2938]
lea eax, [esp + 0x34]
mov byte [esp + 0x133], bl
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
add esp, 0x24
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f026
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004015d0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x2904
ret
cmp edx, ecx
je 0x43f057
mov eax, dword [eax]
inc ecx
cmp eax, ebx
jne 0x43ef80
mov esi, dword [esp + 0x2914]
mov ecx, esi
push 0x497890
call fcn.004016c0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x2904
ret
Function at 0x43f080
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d1cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
mov al, byte [ebp + 8]
test al, al
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esi], 0
jne 0x43f0ff
push 0x104
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x43f0d0
mov byte [ebp + 8], 0x43
jmp 0x43f0ff
movsx ecx, byte [esp + 0x130]
push ecx
call fcn.0044fc5d
add esp, 4
test eax, eax
jne 0x43f0eb
mov byte [ebp + 8], 0x43
jmp 0x43f0ff
movsx edx, byte [esp + 0x130]
push edx
call fcn.00450ac6
add esp, 4
mov byte [ebp + 8], al
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov eax, dword [ebp + 8]
push eax
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x24c], 0
call fcn.00402660
push 2
push 0x49f8fc
lea ecx, [esp + 0x14]
call fcn.00402040
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x10]
jae 0x43f160
lea eax, [esp + 0x10]
push 0
push 0
push 0
push 0
push esi
push 0x104
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x43f18b
cmp dword [esp + 0x24], edi
jb 0x43f1bc
mov edx, dword [esp + 0x10]
push edx
jmp 0x43f1b4
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f192
mov ecx, dword [ebp + 0x10]
sub eax, edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004015d0
cmp dword [esp + 0x24], edi
jb 0x43f1bc
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00469560
add esp, 4
mov ecx, dword [esp + 0x23c]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + edi + 0x78]
add ecx, edi
add eax, edi
cmp word [ecx + 0x18], 0x10b
je 0x441ab2
xor eax, eax
pop edi
add esp, 8
ret
mov ecx, dword [eax + 0x1c]
add ecx, edi
push ebx
push ebp
mov ebp, dword [eax + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
add ebp, edi
xor edx, edx
test eax, eax
push esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jbe 0x441b26
lea esp, [esp]
mov eax, dword [ebp + edx*4]
mov esi, dword [esp + 0x20]
add eax, edi
lea ebx, [ebx]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x441b14
test cl, cl
je 0x441b10
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x441b14
add eax, 2
add esi, 2
test cl, cl
jne 0x441af0
xor eax, eax
jmp 0x441b19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x441b30
mov eax, dword [esp + 0x1c]
inc edx
cmp edx, eax
jb 0x441ae0
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 8
ret
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + edx*2]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx*4]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x441b50
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x3c]
add eax, edx
push ebx
mov ebx, dword [eax + 0x78]
add ebx, edx
cmp word [eax + 0x18], 0x10b
mov dword [esp + 0xc], ebx
je 0x441b71
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
push ebp
mov ebp, dword [ebx + 0x24]
push esi
push edi
mov edi, dword [ebx + 0x1c]
add eax, edx
add edi, edx
add ebp, edx
xor esi, esi
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x441c11
jmp 0x441ba0
mov eax, dword [esp + 0x10]
lea ebx, [ebx]
mov ecx, dword [eax + esi*4]
movzx eax, word [ebp + esi*2]
mov eax, dword [edi + eax*4]
add ecx, edx
add eax, edx
cmp dword [0x4bf8e0], 0
jne 0x441bc9
cmp byte [eax], 0xb8
jne 0x441c09
cmp byte [eax + 9], 0xcd
jne 0x441c09
cmp byte [eax + 0xa], 0x2e
jmp 0x441bf3
cmp dword [0x4bf8e0], 1
jne 0x441c09
cmp byte [eax], 0xb8
jne 0x441c09
cmp byte [eax + 5], 0xba
jne 0x441c09
cmp byte [eax + 6], 0
jne 0x441c09
cmp byte [eax + 7], 3
jne 0x441c09
cmp byte [eax + 8], 0xfe
jne 0x441c09
cmp byte [eax + 9], 0x7f
jne 0x441c09
mov eax, dword [eax + 1]
cmp eax, dword [esp + 0x20]
jae 0x441c05
mov ebx, dword [esp + 0x1c]
mov dword [ebx + eax*4], ecx
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
inc esi
cmp esi, eax
jb 0x441b96
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x441c20
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.RtlAnsiStringToUnicodeString
push esi
call edi
push str.RtlInitAnsiString
push esi
mov dword [0x4bf8dc], eax
call edi
push str.RtlInitUnicodeString
push esi
mov dword [0x4bf8d8], eax
call edi
push str.RtlFreeUnicodeString
push esi
mov dword [0x4bf8d4], eax
call edi
push str.NtOpenSection
push esi
mov dword [0x4bf8d0], eax
call edi
push str.NtMapViewOfSection
push esi
mov dword [0x4bf8cc], eax
call edi
push str.NtUnmapViewOfSection
push esi
mov dword [0x4bf8c8], eax
call edi
push str.ZwQuerySystemInformation
push esi
mov dword [0x4bf8c4], eax
call edi
mov ecx, dword [0x4bf8dc]
test ecx, ecx
pop edi
mov dword [0x4bf8c0], eax
pop esi
je 0x441cef
mov ecx, dword [0x4bf8d8]
test ecx, ecx
je 0x441cef
mov ecx, dword [0x4bf8d4]
test ecx, ecx
je 0x441cef
mov ecx, dword [0x4bf8d0]
test ecx, ecx
je 0x441cef
mov ecx, dword [0x4bf8cc]
test ecx, ecx
je 0x441cef
mov ecx, dword [0x4bf8c8]
test ecx, ecx
je 0x441cef
mov ecx, dword [0x4bf8c4]
test ecx, ecx
je 0x441cef
test eax, eax
je 0x441cef
mov eax, 1
ret
xor eax, eax
ret
Function at 0x4432d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push 1
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x443346
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push str.ProgramFilesDir
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x443339
test esi, esi
jbe 0x443334
mov byte [esi + ebp - 1], al
mov edi, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
mov eax, edi
pop edi
add esp, 0xc
ret

Function at 0x4433c0
Capabilities:
Access peb ldr_data
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x47d6ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
push 1
push 0x26
lea eax, [esp + 0x30]
push eax
push ebx
mov dword [esp + 0x144], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x443426
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x443415
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push ecx
jmp 0x44347f
lea edx, [esp + 0x28]
push 0x104
push edx
call fcn.004432d0
add esp, 8
test eax, eax
je 0x443454
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x443443
sub eax, edx
push eax
lea eax, [esp + 0x2c]
push eax
jmp 0x44347f
push 0x104
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x443488
lea eax, [esp + 0x28]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x443470
sub eax, edx
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x10]
call fcn.004015d0
mov esi, dword [esp + 0x13c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x10]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004014e0
cmp dword [esp + 0x20], 0x10
jb 0x4434bf
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00469560
add esp, 4
mov ecx, dword [esp + 0x12c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret