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

Disassembly:
sub esp, 0x104
add ecx, 0xc4
lea eax, [esp]
push str.ProfilesUserConfig.ini
push ecx
push 0x41208c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x118]
add esp, 0x10
lea ecx, [esp]
push ecx
push 0x104
push edx
push 0x4141b8
push str.Firefox
push str.BorwserSupport
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x104
ret 4

Function at 0x401ad0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
add ecx, 0xc4
lea eax, [esp]
push str.ProfilesUserConfig.ini
push ecx
push 0x41208c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x118]
add esp, 0x10
lea ecx, [esp]
push ecx
push 0x104
push edx
push 0x4141b8
push str.Netscape
push str.BorwserSupport
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x104
ret 4

Function at 0x401b30
Capabilities:
Move file

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push str._schrome
mov ebx, ecx
push eax
call edi
push esi
lea ecx, [esp + 0x120]
push str._s_thunder.jar
push ecx
call edi
add esp, 0x18
lea edx, [esp + 0x110]
lea eax, [esp + 0xc]
mov ecx, ebx
push edx
push eax
call fcn.00401de0
test eax, eax
jne 0x401b8c
pop edi
pop esi
pop ebx
add esp, 0x208
ret 8
push esi
lea ecx, [esp + 0x10]
push str._s_thunder.jar
push ecx
call edi
push esi
lea edx, [esp + 0x120]
push str._schrome_thunder.jar
push edx
call edi
add esp, 0x18
lea eax, [esp + 0x110]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x401bcf
pop edi
pop esi
pop ebx
add esp, 0x208
ret 8
push esi
lea edx, [esp + 0x10]
push str._schromecontent
push edx
call edi
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, ebx
push eax
call fcn.00402030
test eax, eax
jne 0x401bfb
pop edi
pop esi
pop ebx
add esp, 0x208
ret 8
mov ecx, dword [esp + 0x21c]
push ecx
push esi
mov ecx, ebx
call fcn.00401de0
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
add esp, 0x208
ret 8

Function at 0x401c20
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
mov esi, dword [esp + 0x214]
push edi
push esi
mov edi, ecx
push eax
call fcn.00401e70
test eax, eax
jne 0x401c4b
pop edi
pop esi
add esp, 0x208
ret 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea ecx, [esp + 0x10]
push str._schrome_thunder.jar
push ecx
call ebx
push esi
lea edx, [esp + 0x120]
push str._schrome
push edx
call ebx
add esp, 0x18
lea eax, [esp + 0x110]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00401e70
test eax, eax
pop ebx
jne 0x401c96
pop edi
pop esi
add esp, 0x208
ret 8
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x208
ret 8
Function at 0x401de0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push edi
push eax
mov edi, ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x401e09
pop edi
pop ebx
add esp, 0x104
ret 8
mov ecx, dword [esp + 0x110]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
call ebx
test eax, eax
jne 0x401e28
pop edi
pop ebx
add esp, 0x104
ret 8
mov edx, dword [esp + 0x114]
push esi
lea esi, [edi + 0x1c8]
push 0
push 2
push edx
mov ecx, esi
call fcn.00402b90
push 0x4141b8
mov ecx, edi
call fcn.00401ee0
push 0
mov ecx, esi
mov edi, eax
call fcn.004031a0
lea eax, [esp + 0xc]
push eax
call ebx
mov eax, edi
pop esi
pop edi
pop ebx
add esp, 0x104
ret 8

Function at 0x401ee0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x44c
xor eax, eax
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, edx
or ecx, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f19
push edx
lea eax, [esp + 0x154]
push 0x4122cc
push eax
call ebx
add esp, 0xc
jmp 0x401f42
mov edi, 0x4141b8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x150]
lea edx, [esp + 0x358]
push ecx
push str._s.
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x358]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402019
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x3c]
push 0x4122c0
push edx
call esi
add esp, 8
test eax, eax
je 0x401ffe
lea eax, [esp + 0x3c]
push 0x4122bc
push eax
call esi
add esp, 8
test eax, eax
je 0x401ffe
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x150]
push ecx
push edx
lea eax, [esp + 0x25c]
push 0x41208c
push eax
call ebx
mov al, byte [esp + 0x20]
add esp, 0x10
test al, 0x10
je 0x401fde
lea ecx, [esp + 0x254]
push ecx
mov ecx, ebp
call fcn.00401ee0
jmp 0x401ffe
push 0xffff
push 0
push 0
push 1
lea edx, [esp + 0x264]
push 0xffffffffffffffff
push edx
lea ecx, [ebp + 0x1c8]
call fcn.004042b0
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401f80
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44c
ret 4
Function at 0x402030
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x124
push esi
push edi
mov edi, dword [esp + 0x130]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], 3
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], 0x414
mov byte [esp + ecx + 0x2d], al
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
pop edi
pop esi
test eax, eax
je 0x4020bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
add esp, 0x124
ret 4
mov eax, 1
add esp, 0x124
ret 4

Function at 0x4023d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
add ecx, 0xc4
lea eax, [esp]
push str.ProfilesUserConfig.ini
push ecx
push 0x41208c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x118]
add esp, 0x10
lea ecx, [esp]
push ecx
push 0x104
push edx
push 0x4141b8
push str.Opera
push str.BorwserSupport
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x104
ret 4
Function at 0x4032a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
cmp byte [esi + 0xe4], 0xff
je 0x4032e4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, byte [ebp + 0xc]
xor ebx, ebx
cmp al, bl
mov dword [ebp - 0x14], 1
jne 0x4033a9
cmp dword [esi + 0x60], ebx
jne 0x403319
mov ecx, esi
call fcn.00402fe0
mov ecx, dword [esi + 0x68]
mov edx, dword [eax + 0x14]
cmp ecx, edx
je 0x403320
push 0xffffffffffffff9a
mov ecx, esi
call fcn.00402c30
jmp 0x403320
mov dword [ebp - 0x14], 0xffffffff
mov ecx, esi
call fcn.00402fe0
cmp word [eax + 0xe], 8
jne 0x403337
lea edx, [esi + 0x28]
push edx
call fcn.00407f40
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4033a9
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x11c], bl
call fcn.00402fe0
mov ecx, eax
call fcn.00407790
mov edx, dword [eax]
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x128], edx
call sub.MFC42.DLL_CFile::SetStatus
mov ecx, esi
call fcn.00402fe0
mov ecx, dword [eax + 0x24]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4033a2
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xe8]
call fcn.00406210
lea ecx, [esi + 0x6c]
mov byte [esi + 0xe4], bl
call fcn.004059c0
mov ecx, esi
call fcn.00404a10
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4039c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40e118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
push 0x4121f8
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 8]
push ecx
push edx
call fcn.004036e0
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0x24], 1
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x10
or esi, 0xffffffff
test eax, eax
je 0x403a42
mov edx, dword [esp + 0x1c]
push edx
call fcn.00403ae0
add esp, 4
cmp eax, esi
sete al
test al, al
jne 0x403a42
xor bl, bl
jmp 0x403a44
mov bl, 1
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call fcn.0040dad8
test bl, bl
jne 0x403abd
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004036e0
mov eax, dword [eax]
mov byte [esp + 0x1c], 2
push eax
call fcn.004039c0
add esp, 0xc
lea ecx, [esp + 8]
test al, al
sete bl
mov byte [esp + 0x14], 0
call fcn.0040dad8
test bl, bl
jne 0x403a9d
mov edx, dword [esp + 0x1c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x403abd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.0040dad8
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.0040dad8
mov ecx, dword [esp + 0xc]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x403ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40e138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::CFileFind
mov esi, dword [esp + 0x30]
push 0
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x403b66
push esi
call fcn.00403bb0
add esp, 4
mov dword [esp + 0x28], 0xffffffff
test al, al
lea ecx, [esp + 4]
je 0x403b4f
call fcn.0040db32
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
call fcn.0040db32
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 4]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov eax, dword [esp + 4]
push 0x10
lea ecx, [esp + 8]
call dword [eax + 0x40]
neg eax
sbb eax, eax
lea ecx, [esp + 4]
and al, 0xfe
mov dword [esp + 0x28], 0xffffffff
inc eax
mov esi, eax
call fcn.0040db32
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x404240
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
push ebx
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00404270
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
lea ecx, [esp + 8]
sete bl
call fcn.0040dad8
mov al, bl
pop ebx
ret

Function at 0x404680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, esi
call fcn.004047e0
mov edx, dword [esi + 0x18]
mov dword [esi + 0x14], eax
and eax, 0xff
mov ecx, esi
add eax, edx
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x18], eax
shr eax, 0x18
mov byte [esp + 8], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 8]
push edx
push eax
call fcn.004047e0
mov dword [esi + 0x1c], eax
pop esi
ret 4

Function at 0x405140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40e45e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push esi
test eax, eax
mov esi, ecx
mov dword [esp + 8], ebx
jne 0x405186
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ebx, 1
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
test bl, 1
mov dword [esp + 0x28], 3
je 0x4051ad
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 8], ebx
call fcn.0040dad8
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.004036e0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x38], 4
call fcn.004037b0
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString_1
mov al, byte [esp + 0x34]
mov byte [esp + 0x28], 6
test al, al
je 0x4051fe
push 0x4124a8
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator
jmp 0x405214
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x38]
push ecx
push str._.3d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator
push 0x4122c0
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x30], 7
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
push eax
push esi
mov byte [esp + 0x34], 8
call sub.MFC42.DLL_operator
or ebx, 2
mov dword [esp + 8], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 7
call fcn.0040dad8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 6
call fcn.0040dad8
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call fcn.0040dad8
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0040dad8
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.0040dad8
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0040dad8
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x405570
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x40e4d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [ecx + 0x1c]
lea edx, [esp + 4]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 8]
push eax
call fcn.00404270
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
lea ecx, [esp + 4]
sete bl
call fcn.0040dad8
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040dad8
test bl, bl
pop ebx
je 0x405600
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x405cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40e578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.00405e60
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
push 0
push eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0
push 0x16
lea ecx, [esp + 0xc]
call fcn.00405980
mov eax, dword [esi + 0x2c]
push 0x16
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp eax, 0x16
je 0x405d26
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405fa0
mov eax, dword [esp + 8]
push edi
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x10], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x14], ecx
mov di, word [eax + 0x14]
lea ecx, [esp + 8]
call fcn.004059c0
mov dx, word [esi + 8]
mov ecx, dword [esi + 0x2c]
push edx
call fcn.00405620
mov ecx, dword [esi + 0x2c]
call fcn.00404ce0
test eax, eax
jne 0x405d9a
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x30]
add eax, edx
cmp ecx, eax
jae 0x405d9a
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405fa0
test di, di
je 0x405dcd
and edi, 0xffff
push 0
push edi
lea ecx, [esi + 0x18]
call fcn.004059f0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x1c]
push edi
push eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x3c]
cmp eax, edi
je 0x405dcd
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405fa0
mov ecx, dword [esi + 0x2c]
call fcn.00404ce0
test eax, eax
pop edi
je 0x405dde
xor eax, eax
jmp 0x405deb
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub eax, edx
sub eax, ecx
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x405dfb
cmp word [esi + 0xe], ax
jne 0x405e06
cmp word [esi + 0xe], 0
jne 0x405e0f
test eax, eax
je 0x405e0f
push 0xffffffffffffff9b
mov ecx, esi
call fcn.00405fa0
mov ecx, dword [esi + 0x2c]
xor eax, eax
mov ax, word [esi + 0xa]
mov byte [esi + 0x3c], 1
push eax
call fcn.00404d00
mov eax, dword [esi + 0x10]
test eax, eax
je 0x405e30
mov ecx, esi
call fcn.00406000
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.004059b0
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4062f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40e631
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov ebx, ecx
push 0x50
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov dword [esp + 0x14], 0
je 0x4063ca
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov cx, word [edi + 8]
mov word [esi + 8], cx
mov dx, word [edi + 0xa]
mov word [esi + 0xa], dx
mov ax, word [edi + 0xc]
mov word [esi + 0xc], ax
mov cx, word [edi + 0xe]
mov word [esi + 0xe], cx
mov dx, word [edi + 0x10]
mov word [esi + 0x10], dx
mov ax, word [edi + 0x12]
mov word [esi + 0x12], ax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov cx, word [edi + 0x20]
mov word [esi + 0x20], cx
mov dx, word [edi + 0x22]
mov word [esi + 0x22], dx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
lea edx, [edi + 0x2c]
mov dword [esi + 0x28], ecx
push edx
lea ecx, [esi + 0x2c]
call fcn.00405a80
lea eax, [edi + 0x38]
lea ecx, [esi + 0x38]
push eax
mov byte [esp + 0x1c], 1
call fcn.00405a80
add edi, 0x44
lea ecx, [esi + 0x44]
push edi
mov byte [esp + 0x1c], 2
call fcn.00405a80
mov dword [esi], 0x40f468
pop edi
jmp 0x4063cc
xor esi, esi
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x28], esi
push esi
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [ecx + 8]
push edx
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov al, byte [ebx + 0x24]
test al, al
je 0x4063f8
mov eax, dword [ebx + 0x48]
mov ecx, ebx
dec eax
push eax
push esi
call fcn.00406c00
mov ecx, ebx
call fcn.00406450
mov ecx, dword [ebx + 0x2c]
push 2
push 0
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4075f0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x40e798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00405980
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00404b30
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esp + 0x30], cx
mov word [esi + 0x20], dx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.004059c0
mov edx, dword [esi + 4]
mov ecx, 0x412508
cmp edx, dword [ecx]
je 0x4076dc
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004059b0
xor al, al
jmp 0x407774
mov ecx, edi
call fcn.00404f10
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.004059f0
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x3c]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
test bp, bp
je 0x40772a
mov ebx, ebp
push 0
and ebx, 0xffff
lea ecx, [esi + 0x2c]
push ebx
call fcn.004059f0
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x30]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ebx, dword [esp + 0x30]
test bx, bx
je 0x407751
and ebx, 0xffff
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.004059f0
mov ecx, dword [edi + 0x1c]
mov esi, dword [esi + 0x48]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, edi
call fcn.00404f10
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ecx
lea ecx, [esp + 0x14]
sete bl
call fcn.004059b0
mov al, bl
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4