joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aedf1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov edi, ecx
je 0x4aef6a
mov esi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push 0x100
lea eax, [edi + 0x68]
push 1
push eax
call esi
push ebx
push 0x40
lea eax, [edi + 0x28]
push 1
push eax
call esi
push ebx
push 1
lea eax, [ebp - 0x2c]
push 4
push eax
call esi
push ebx
push 1
lea eax, [ebp - 0x28]
push 4
push eax
call esi
add esp, 0x40
mov ecx, edi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004aec73
push ebx
push 1
lea eax, [ebp - 0xc]
push 4
push eax
call esi
mov eax, dword [ebp - 0xc]
push ebx
mov dword [edi + 0x168], eax
push 1
lea eax, [ebp - 0x34]
push 4
push eax
call esi
push ebx
push 1
lea eax, [ebp - 0x30]
push 4
push eax
call esi
mov eax, dword [edi]
add esp, 0x30
mov ecx, edi
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [eax + 0x20]
push ebx
push 1
lea eax, [ebp - 8]
push 4
push eax
call esi
mov eax, dword [ebp - 8]
push ebx
mov dword [edi + 0x24], eax
push 1
lea eax, [ebp - 0x3c]
push 4
push eax
call esi
push ebx
push 1
lea eax, [ebp - 0x38]
push 4
push eax
call esi
add esp, 0x30
mov ecx, edi
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.004aedda
push ebx
push 1
lea eax, [ebp - 8]
push 4
push eax
call esi
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, edi
mov dword [edi + 0x16c], eax
call fcn.004aec96
mov ecx, edi
call fcn.004aed0f
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
jle 0x4aef6a
and dword [ebp + 8], 0
cmp dword [ebp - 0x24], 0
jle 0x4aef5f
push dword [ebp - 4]
mov ecx, edi
push dword [ebp + 8]
call fcn.004aed90
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4aef54
push ebx
push 1
lea eax, [ebp - 0x18]
push 4
push eax
call esi
push ebx
push 1
lea eax, [ebp - 0x10]
push 4
push eax
call esi
push ebx
push 1
lea eax, [ebp - 0x1c]
push 4
push eax
call esi
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x10]
add esp, 0x30
mov word [eax + 4], cx
mov cx, word [ebp - 0x18]
mov word [eax + 6], cx
mov cx, word [ebp - 0x1c]
mov word [eax + 8], cx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x24]
jl 0x4aef01
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
jl 0x4aeef7
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4afedf
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
je 0x4aff3f
push ebx
push ebp
push edi
lea ebp, [esi + 0x2c]
push dword [esp + 0x14]
push 0x40
push 1
pop ebx
push ebx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
push dword [esp + 0x24]
lea edi, [esi + 0x14]
push ebx
push 8
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x20
mov ecx, esi
push 0
push ebx
push ebp
push dword [edi + 4]
push dword [edi]
call fcn.004afe3d
mov ecx, dword [esi + 0x7c]
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0x68]
and dword [esi + 0x20], 0
and dword [esi + 0x24], 0
pop edi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
pop ebp
pop ebx
pop esi
ret 4
Function at 0x4b2572
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x570c52
call fcn.0051f140
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4b2641
push 0x5c987c
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
jne 0x4b25bc
push 0x64
push str.E:CQ2ClientRelease_17.1.93DGameMap2DMapTerrainObj.cpp
push edi
push str.ERROR:_file__s_not_found_at__s___d
call fcn.005185c3
add esp, 0x10
jmp 0x4b2641
push ebx
mov ecx, esi
call fcn.004b2651
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 1
push 4
push eax
call dword [sym.imp.MSVCRT.dll_fread]
lea eax, [esi + 0x40]
push edi
push eax
call sub.MSVCRT.dll_strcpy
xor ebx, ebx
add esp, 0x18
cmp dword [ebp - 0x10], ebx
jle 0x4b2629
push 0x1d8
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x14], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x4b2609
mov ecx, eax
call fcn.004ae975
mov edi, eax
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4b261b
push dword [ebp + 8]
mov ecx, edi
call fcn.004aedf1
push edi
mov ecx, esi
call fcn.004b250e
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x4b25e9
push dword [esi + 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc]
call dword [eax + 0x18]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4b27bb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
je 0x4b281c
push ebx
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
lea ebx, [edi + 0x40]
push 0x104
push 1
push ebx
call esi
push dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push 1
push 4
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 8]
push 1
push 4
push eax
call esi
mov eax, dword [ebp - 4]
add esp, 0x30
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 8]
push ebx
mov ecx, edi
mov dword [edi + 0x10], eax
call fcn.004b2572
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x4bbc43
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
je 0x4bbcf6
push ebp
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push 0x104
push 1
pop ebp
lea eax, [esi + 0x14]
push ebp
push eax
call edi
push ebx
push 0x80
lea eax, [esi + 0x118]
push ebp
push eax
call edi
and dword [esp + 0x38], 0
and dword [esp + 0x30], 0
push ebx
push ebp
lea eax, [esp + 0x40]
push 4
push eax
call edi
mov eax, dword [esp + 0x48]
push ebx
mov dword [esi + 0xc], eax
push ebp
lea eax, [esp + 0x48]
push 4
push eax
call edi
mov eax, dword [esp + 0x50]
add esp, 0x40
mov dword [esi + 0x10], eax
lea eax, [esi + 0x1a0]
push ebx
push ebp
push 4
push eax
call edi
push ebx
push ebp
lea eax, [esi + 0x1a4]
push 4
push eax
call edi
push ebx
push ebp
lea eax, [esi + 0x198]
push 4
push eax
call edi
push ebx
push ebp
lea eax, [esi + 0x19c]
push 4
push eax
call edi
add esp, 0x40
add esi, 0x1ac
push ebx
push ebp
push 4
push esi
call edi
add esp, 0x10
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4

Function at 0x4bbe36
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
test ebx, ebx
je 0x4bbe7c
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push 0x104
lea eax, [esi + 0x2c]
push 1
push eax
call edi
push ebx
push 1
lea eax, [esi + 0xc]
push 8
push eax
call edi
push ebx
push 1
lea eax, [esi + 0x24]
push 4
push eax
call edi
push ebx
push 1
add esi, 0x28
push 4
push esi
call edi
add esp, 0x40
pop edi
pop esi
pop ebx
ret 4
Function at 0x4bc715
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x5c987c
mov esi, ecx
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x4bc74f
push 0x1e7
push str.E:CQ2ClientRelease_17.1.93DGameMapPatternRose.cpp
push dword [esp + 0x18]
push str.ERROR:_file__s_not_found_at__s___d
call fcn.005185c3
add esp, 0x10
xor eax, eax
jmp 0x4bc7a4
mov eax, dword [esp + 0xc]
push 0
imul eax, eax, 0x15e0
push eax
push edi
call dword [sym.imp.MSVCRT.dll_fseek]
add esi, 0x34c
push 0x15e0
push 0
push esi
call sub.MSVCRT.dll_memset
push edi
call dword [sym.imp.MSVCRT.dll_feof]
add esp, 0x1c
test eax, eax
jne 0x4bc798
push edi
push 0x578
push 4
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
jmp 0x4bc79a
xor esi, esi
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov eax, esi
pop edi
pop esi
ret 8
Function at 0x4c0e9d
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
je 0x4c0f40
push ebp
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ebx
push 0x104
push 1
pop ebp
lea eax, [esi + 0x14]
push ebp
push eax
call edi
push ebx
push 0x80
lea eax, [esi + 0x118]
push ebp
push eax
call edi
and dword [esp + 0x38], 0
and dword [esp + 0x30], 0
push ebx
push ebp
lea eax, [esp + 0x40]
push 4
push eax
call edi
push ebx
push ebp
lea eax, [esp + 0x48]
push 4
push eax
call edi
mov eax, dword [esp + 0x58]
add esp, 0x40
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
push ebx
push ebp
lea eax, [esi + 0x198]
push 4
push eax
call edi
push ebx
push ebp
lea eax, [esi + 0x19c]
push 4
push eax
call edi
push ebx
push ebp
lea eax, [esi + 0x1a4]
push 4
push eax
call edi
push ebx
push ebp
add esi, 0x1ac
push 4
push esi
call edi
add esp, 0x40
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4

Function at 0x4c108f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x4c10f7
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x104
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
lea eax, [ebp - 0x104]
lea ecx, [esi + 0x118]
push eax
call fcn.004ae655
test eax, eax
jne 0x4c10e5
push str.E:CQ2ClientRelease_17.1.93DGameMap2DMapPuzzleObj.cpp
push 0x3d
push 0x5cb150
call fcn.005185c3
add esp, 0xc
lea eax, [ebp - 0x104]
add esi, 0x14
push eax
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
pop esi
leave
ret 4
Function at 0x4c741e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
test byte [0x5dabb4], 1
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
mov dword [ebp - 4], ecx
mov ebx, str.ini_Info.ini
mov edi, str.KOImage
jne 0x4c745a
or byte [0x5dabb4], 1
push ebx
push 0x32
push str.Alpha
push edi
call esi
mov dword [0x5dabb0], eax
test byte [0x5dabb4], 2
jne 0x4c747d
or byte [0x5dabb4], 2
push ebx
push 0x3b9aca00
push str.Texture
push edi
call esi
mov dword [0x5dabb8], eax
lea eax, [ebp - 0x18]
mov esi, 0x5d91d0
push eax
mov ecx, esi
call fcn.0049f94e
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004a012f
mov eax, dword [ebp - 4]
lea edi, [ebp - 0x28]
lea esi, [eax + 0xfdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0xfec]
lea edi, [ebp - 0x38]
mov dword [ebp - 0x10], esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x28]
cmp edi, dword [ebp - 0x38]
je 0x4c75db
xor ebx, ebx
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 0x1c]
cmp ecx, ebx
je 0x4c75bd
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi]
call dword [eax + 8]
mov ecx, dword [esi]
push dword [edi + 4]
mov eax, dword [ecx]
push 0xa
call dword [eax + 4]
mov eax, dword [edi + 8]
mov ecx, dword [esi]
movzx ebx, al
mov dword [ebp - 4], ebx
mov ebx, eax
fild dword [ebp - 4]
sar ebx, 8
movzx ebx, bl
fmul dword [0x589a88]
push ecx
mov dword [ebp - 4], ebx
mov ebx, eax
mov edx, dword [ecx]
fstp dword [esp]
fild dword [ebp - 4]
sar ebx, 0x10
movzx ebx, bl
fmul dword [0x589c04]
push ecx
mov dword [ebp - 4], ebx
sar eax, 0x18
fstp dword [esp]
fild dword [ebp - 4]
movzx eax, al
fmul dword [0x589a88]
push ecx
mov dword [ebp - 4], eax
fstp dword [esp]
fild dword [ebp - 4]
push ecx
fimul dword [0x5dabb0]
fmul dword [0x589c00]
fstp dword [esp]
call dword [edx + 0x14]
mov eax, dword [edi + 0x10]
xor ebx, ebx
cmp eax, ebx
jbe 0x4c7572
mov ecx, dword [esi]
push eax
push 0x23
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [edi + 0x14]
cmp eax, ebx
jbe 0x4c7583
mov ecx, dword [esi]
push eax
push 0x24
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, dword [edi + 0x18]
cmp edi, ebx
jbe 0x4c7594
mov ecx, dword [esi]
push edi
push 0x25
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi]
push 0x12
push 0x20
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi]
push dword [0x5dabb8]
mov eax, dword [ecx]
push 0x26
call dword [eax + 4]
mov esi, dword [esi]
push dword [ebp - 8]
mov ecx, esi
mov eax, dword [esi]
push dword [ebp - 0xc]
call dword [eax + 0x24]
lea ecx, [ebp - 0x28]
call fcn.004cd4d1
mov esi, dword [ebp - 0x10]
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x28]
cmp edi, dword [ebp - 0x38]
jne 0x4c74d0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4cf57a
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x572768
call fcn.0051f140
sub esp, 0x2a4
push esi
mov esi, 0x5ded48
push dword [0x5ded4c]
mov ecx, esi
push dword [0x5ded48]
call fcn.004058cc
lea eax, [ebp - 0x2b0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4cf64a
push ebx
push edi
lea eax, [ebp - 0x120]
push 0x104
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4cf642
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4cf642
xor edi, edi
mov eax, dword [ebx + 0xc]
add eax, edi
cmp dword [eax], 0
je 0x4cf642
mov eax, dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd]
push ecx
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004027c7
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 1
call fcn.0040ce99
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0
je 0x4cf639
push eax
push dword [ebp - 0x1c]
call fcn.004027a2
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
add edi, 4
jmp 0x4cf5ea
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4d0ec5
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x572a77
call fcn.0051f140
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x4c]
call fcn.00402891
xor ebx, ebx
lea ecx, [esi + 0x58]
mov dword [ebp - 4], ebx
call fcn.00402891
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
call fcn.00402891
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
call fcn.00402891
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 3
call fcn.00402891
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 4
call fcn.00402891
lea ecx, [esi + 0x94]
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xe]
push eax
call fcn.004cd33a
mov eax, dword [ebp + 0x10]
mov edi, 0x5d8050
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
push edi
mov byte [ebp - 4], 7
mov dword [esi], 0x589c58
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x4c]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x58]
call fcn.00402557
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
add eax, dword [ebp + 0xc]
pop ecx
push eax
lea ecx, [esi + 0x64]
push dword [ebp + 0xc]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x70]
call fcn.00402557
push edi
lea ecx, [esi + 0x7c]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x88]
call fcn.004d17f9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4d0ed2
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x572a77
call fcn.0051f140
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x4c]
call fcn.00402891
xor ebx, ebx
lea ecx, [esi + 0x58]
mov dword [ebp - 4], ebx
call fcn.00402891
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
call fcn.00402891
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
call fcn.00402891
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 3
call fcn.00402891
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 4
call fcn.00402891
lea ecx, [esi + 0x94]
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xe]
push eax
call fcn.004cd33a
mov eax, dword [ebp + 0x10]
mov edi, 0x5d8050
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
push edi
mov byte [ebp - 4], 7
mov dword [esi], 0x589c58
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x4c]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x58]
call fcn.00402557
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
add eax, dword [ebp + 0xc]
pop ecx
push eax
lea ecx, [esi + 0x64]
push dword [ebp + 0xc]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x70]
call fcn.00402557
push edi
lea ecx, [esi + 0x7c]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x88]
call fcn.004d17f9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4d1bab
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x572ca9
call fcn.0051f140
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x34]
call fcn.00402891
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [ebp - 4], ebx
call fcn.00402891
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.00402891
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.00402891
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.00402891
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.00402891
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 5
call fcn.00402891
mov eax, dword [ebp + 8]
mov edi, 0x5d8050
push edi
mov byte [ebp - 4], 6
mov dword [esi], 0x589c98
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x34]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x40]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x4c]
call fcn.00402557
push dword [ebp + 0xc]
lea ecx, [esi + 0x58]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x64]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x70]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x7c]
call fcn.004d17f9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4d1bb7
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x572ca9
call fcn.0051f140
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x34]
call fcn.00402891
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [ebp - 4], ebx
call fcn.00402891
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.00402891
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.00402891
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.00402891
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.00402891
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 5
call fcn.00402891
mov eax, dword [ebp + 8]
mov edi, 0x5d8050
push edi
mov byte [ebp - 4], 6
mov dword [esi], 0x589c98
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x34]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x40]
call fcn.00402557
push edi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [esi + 0x4c]
call fcn.00402557
push dword [ebp + 0xc]
lea ecx, [esi + 0x58]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x64]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x70]
call fcn.004d17f9
push edi
lea ecx, [esi + 0x7c]
call fcn.004d17f9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8