joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ad90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x659530
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push esi
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.00481470
lea eax, [esi + 0xc]
lea ecx, [edi + 0xc]
push eax
call fcn.00481470
sub esp, 0x18
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], esp
mov edi, esp
push ecx
mov ecx, edi
mov dword [esp + 0x34], edi
call fcn.00481160
lea edx, [esp + 0x48]
lea ecx, [edi + 0xc]
push edx
mov byte [esp + 0x2c], 1
call fcn.00481160
mov ecx, dword [esp + 0x34]
mov eax, 0x2aaaaaab
sub ecx, esi
mov byte [esp + 0x28], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0
push esi
call fcn.0048ac40
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0061f99c
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x50]
push edx
call fcn.0061f99c
mov ecx, dword [esp + 0x34]
add esp, 0x2c
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x48ae60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x659548
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], 0
lea eax, [edi - 1]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x28]
sar esi, 1
cmp eax, edi
jge 0x48af00
lea eax, [esi + esi*2]
lea ecx, [esp + 0x2c]
push ecx
lea ebx, [ebp + eax*8]
mov ecx, ebx
call fcn.004836e0
test eax, eax
jl 0x48aed1
push ebx
lea ecx, [esp + 0x30]
call fcn.004836e0
test eax, eax
jl 0x48af00
lea edx, [esp + 0x38]
lea ecx, [ebx + 0xc]
push edx
call fcn.004836e0
test eax, eax
jge 0x48af00
lea eax, [edi + edi*2]
push ebx
lea edi, [ebp + eax*8]
mov ecx, edi
call fcn.00481470
add ebx, 0xc
lea ecx, [edi + 0xc]
push ebx
call fcn.00481470
lea eax, [esi - 1]
mov edi, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x28]
cmp eax, edi
jl 0x48ae9b
lea ecx, [edi + edi*2]
lea edx, [esp + 0x2c]
push edx
lea esi, [ebp + ecx*8]
mov ecx, esi
call fcn.00481470
lea eax, [esp + 0x38]
lea ecx, [esi + 0xc]
push eax
call fcn.00481470
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0061f99c
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x34]
push edx
call fcn.0061f99c
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x48c4c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x659790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48c4f9
add eax, 0xc
jmp 0x48c4fe
mov eax, 0x73d674
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00499d60
add esp, 0xc
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1c], 1
test eax, eax
je 0x48c524
mov esi, dword [eax + 4]
jmp 0x48c526
xor esi, esi
add esi, 0x20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebx, ebx
rep stosb byte es:[edi], al
jne 0x48c563
push ebx
push ebx
push 0x6e1f4c
call fcn.0062beee
jmp 0x48c5c2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48c570
mov eax, dword [eax + 4]
jmp 0x48c572
xor eax, eax
push eax
lea ecx, [esp + 0x14]
call fcn.00498f10
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
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 + 0x28]
call fcn.004a20c0
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.00498970
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00498970
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x48d1e0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x659808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
xor ecx, ecx
mov edx, dword [esi]
mov cl, ah
and ecx, 0xff
push ebx
mov dword [esp + 0x14], ecx
push ebp
mov ecx, esi
call dword [edx + 0x20]
push 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
call fcn.0049a090
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov dword [esp + 0x34], 0
call fcn.0048ee90
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebp
mov ecx, edi
call fcn.0048c1f0
test eax, eax
je 0x48d265
push 0x3e80
jmp 0x48d28e
mov eax, dword [esp + 0x40]
test eax, eax
je 0x48d289
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x48d289
call fcn.0063df58
push 0x7f01
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
jmp 0x48d295
push 0x3e81
mov ecx, edi
call fcn.0048d2d0
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0049a0b0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc

Function at 0x494bb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x659fe7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x24], 1
cmp edx, ebx
jne 0x494c24
mov esi, dword [esp + 0x2c]
mov dword [esi], ebx
lea eax, [esp + 8]
mov ecx, esi
push eax
mov byte [esp + 0x28], 2
call fcn.00498be0
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], bl
call fcn.00498970
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
push edi
mov edi, 0x6ecb38
mov ecx, edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x494c44
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x494c48
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edx
call fcn.00497790
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call fcn.00498be0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.00498970
mov esi, dword [esp + 0x30]
mov dword [esi], ebx
lea edx, [esp + 0xc]
mov ecx, esi
push edx
mov byte [esp + 0x2c], 4
call fcn.00498be0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 1
mov byte [esp + 0x28], bl
call fcn.00498970
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x496ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65a2b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
test esi, esi
mov dword [esp + 4], 0
je 0x496dd4
mov eax, dword [esi + 4]
cmp eax, 3
je 0x496daa
cmp eax, 7
jne 0x496da5
lea ecx, [esp + 8]
call fcn.00498370
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call fcn.00498390
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.004c23b0
add esp, 0x10
mov esi, dword [esp + 0x30]
lea edx, [esp + 4]
push edx
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.004a2080
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.00498970
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00498560
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
cmp eax, 4
jne 0x496dd4
mov eax, dword [esp + 0x34]
add esi, 0xc
push eax
push esi
mov esi, dword [esp + 0x38]
push esi
call fcn.004c2530
add esp, 0xc
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
pop esi
mov dword [eax], 0
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x49cf20
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65aa41
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x49cf49
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x64
call fcn.00492990
mov edi, eax
add esp, 4
mov dword [esp + 8], edi
test edi, edi
mov dword [esp + 0x18], 0
je 0x49cfc2
push esi
mov dword [edi], 0x680e68
lea esi, [edi + 4]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x18]
push 0xa
mov byte [esp + 0x20], 2
call fcn.0049a380
lea ecx, [esi + 0x30]
push 0xa
mov byte [esp + 0x20], 3
call fcn.0049a380
push 0xa
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 4
call fcn.0049a380
mov dword [edi], 0x680e40
mov dword [ebx + 0x14], edi
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [ebx + 0x14], eax
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x49dd40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65aae6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x680e3c]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
xor edx, edx
mov dword [esp + 0x10], ebx
mov dword [edi + 0xc], eax
mov ecx, dword [0x680e3c]
mov dword [edi], ecx
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], edx
mov dword [edi + 8], edx
mov dword [edi + 4], edx
mov dword [ebx + 0x24], edx
lea eax, [ebx + 0x30]
mov dword [esp + 0x1c], edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
cmp esi, edx
mov byte [esp + 0x1c], 1
mov dword [ebx], ecx
mov dword [ebx + 4], ebp
je 0x49ddba
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, edx
je 0x49ddd3
push ecx
mov ecx, eax
call fcn.004bc100
jmp 0x49ddda
mov ecx, eax
call fcn.004bc0f0
mov ecx, ebp
call fcn.0049d400
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ebx + 0x20], eax
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x49de00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65ab2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 4]
push eax
mov dword [esp + 0x1c], 1
call fcn.0049d440
lea esi, [edi + 0x30]
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x10]
mov byte [esp + 0x18], 5
test eax, eax
je 0x49de61
mov edx, dword [eax + 0x6c]
dec edx
mov dword [eax + 0x6c], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jg 0x49de61
push eax
call fcn.004fec60
add esp, 4
mov eax, dword [esi + 0xc]
mov byte [esp + 0x18], 4
test eax, eax
je 0x49de87
mov edx, dword [eax + 0x34]
dec edx
mov dword [eax + 0x34], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x34]
test ecx, ecx
jg 0x49de87
push eax
call fcn.004fec60
add esp, 4
mov eax, dword [esi + 8]
mov byte [esp + 0x18], 3
test eax, eax
je 0x49deaf
mov ecx, dword [eax + 0x18]
dec ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x18]
test eax, eax
jg 0x49deaf
test ecx, ecx
je 0x49deaf
push 1
call fcn.0049f730
mov eax, dword [esi + 4]
mov byte [esp + 0x18], 2
test eax, eax
je 0x49ded7
mov ecx, dword [eax + 0x1c]
dec ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x1c]
test eax, eax
jg 0x49ded7
test ecx, ecx
je 0x49ded7
push 1
call fcn.0049f750
mov eax, dword [esi]
mov byte [esp + 0x18], 0
test eax, eax
je 0x49df06
mov ecx, dword [eax + 0x14]
dec ecx
mov dword [eax + 0x14], ecx
mov esi, dword [esi]
mov eax, dword [esi + 0x14]
test eax, eax
jg 0x49df06
test esi, esi
je 0x49df06
mov ecx, esi
call fcn.004bc260
push esi
call fcn.004fec60
add esp, 4
mov eax, dword [edi + 0x24]
mov dword [esp + 0x18], 0xffffffff
test eax, eax
je 0x49df3a
mov ecx, dword [eax + 0x14]
dec ecx
mov dword [eax + 0x14], ecx
mov esi, dword [edi + 0x24]
mov eax, dword [esi + 0x14]
test eax, eax
jg 0x49df3a
test esi, esi
je 0x49df3a
mov ecx, esi
call fcn.004bc260
push esi
call fcn.004fec60
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49f4d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65acd8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
push 7
mov ecx, dword [esi]
call fcn.0049d280
test al, 1
je 0x49f56e
fld dword [esi + 0x20]
fcomp dword [0x680e3c]
fnstsw ax
test ah, 0x40
je 0x49f53d
fld dword [esi + 0x2c]
fcomp dword [0x680e3c]
fnstsw ax
test ah, 0x40
je 0x49f53d
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x1c]
push 0
push eax
push ecx
mov ecx, dword [esi]
push edx
call fcn.0049d9c0
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub eax, edx
push 0
push eax
mov eax, dword [esi + 8]
sub ecx, eax
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
mov ecx, dword [esi]
call fcn.0049db90
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ecx, [esp + 4]
call fcn.004c4430
mov eax, dword [esi + 0x1c]
lea edx, [esp + 4]
mov dword [esp + 0x30], 0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi]
push eax
push edx
call fcn.0049d290
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x20]
push eax
lea edx, [esp + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.0049ec80
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.004d3a80
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub eax, edx
push 0
push eax
mov eax, dword [esi + 8]
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi]
call fcn.0049db90
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004c4500
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x49fa70
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 5
sbb ecx, ecx
inc ecx
mov dword [0x6ecbf8], ecx
mov ecx, 0x740e68
call fcn.004c8450
add esp, 0x94
ret
Function at 0x4a1bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65af88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x38]
push eax
mov edi, 4
push ecx
mov ecx, esi
mov dword [esp + 0x20], str.Pages
mov dword [esp + 0x24], 5
mov dword [esp + 0x18], str.Type
mov dword [esp + 0x1c], edi
call fcn.00497790
lea edx, [esp + 0x18]
mov ecx, eax
push edx
mov dword [esp + 0x34], 0
call fcn.00498cb0
lea ecx, [esp + 0x38]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.00498970
test bl, bl
je 0x4a1c81
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov dword [esp + 0x24], str.Kids
mov dword [esp + 0x28], edi
call fcn.004979c0
mov esi, eax
test esi, esi
je 0x4a1ca6
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
jbe 0x4a1ca6
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
push edi
mov ecx, esi
call fcn.00497310
test eax, eax
je 0x4a1c77
push ebx
push ebp
push eax
call fcn.004a1bb0
add esp, 0xc
test eax, eax
jge 0x4a1ca9
mov eax, dword [esi + 0x10]
inc edi
cmp edi, eax
jb 0x4a1c5c
jmp 0x4a1ca6
cmp dword [esp + 0x3c], esi
jne 0x4a1ca0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov eax, dword [ecx]
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 0x40]
inc dword [eax]
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4a2360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65b008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
xor edx, edx
mov eax, dword [esi]
mov dword [esp + 4], edx
cmp eax, edx
jne 0x4a23a9
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.004a2080
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x4a23d1
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.004a2080
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], edx
lea edx, [ecx + 0xc]
mov ecx, dword [ecx + 4]
push edx
lea edx, [eax + 0xc]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.004a24e0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004a2080
lea ecx, [esp + 0x20]
call fcn.00498970
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a72b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65b77f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov edx, dword [esi]
mov edi, 1
cmp edx, ebx
mov dword [esp + 0x30], edi
jne 0x4a72ff
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00498a90
mov dword [esp + 0x10], edi
jmp 0x4a74b6
mov edi, 0x6e0b2c
mov ecx, edi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x4a731e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x4a7322
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edx
call fcn.00497790
mov edx, eax
mov eax, 0x6e0b28
mov byte [esp + 0x30], 2
test eax, eax
mov dword [esp + 0x20], 0x6e0b28
je 0x4a735d
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x4a7361
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x20]
push ecx
mov ecx, edx
call fcn.00498cb0
test al, al
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
sete bl
call fcn.00498970
test bl, bl
je 0x4a738e
lea edx, [esp + 0xc]
push edx
jmp 0x4a74a3
mov eax, 0x6e0b28
mov dword [esp + 0x20], 0x6e0b28
test eax, eax
je 0x4a73b3
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebx, ebx
mov dword [esp + 0x24], ecx
jmp 0x4a73b9
xor ebx, ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi]
push edx
call fcn.00497790
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.00498be0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00498970
mov eax, dword [esp + 0x3c]
mov ecx, 0x6e0b28
test ecx, ecx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x20], 0x6e0b28
je 0x4a7411
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x4a7415
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x20]
mov ecx, edx
push eax
call fcn.00497990
mov edx, eax
cmp edx, ebx
je 0x4a749e
mov edi, str.Base
mov ecx, edi
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x4a7446
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
jmp 0x4a744a
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edx
call fcn.00497790
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x40]
mov bl, 4
push edx
push eax
mov byte [esp + 0x3c], bl
call fcn.0042a690
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 5
call fcn.00498be0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.00498970
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00498970
lea ecx, [esp + 0xc]
push ecx
mov esi, dword [esp + 0x3c]
mov ecx, esi
call fcn.00498a90
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00498970
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4a94c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x65ba0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cmp eax, ecx
jb 0x4a950b
mov eax, dword [esp + 0x38]
mov dword [eax], 0
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ecx, dword [esi]
inc eax
mov bl, byte [eax + ecx - 1]
mov dword [esi + 8], eax
cmp bl, 0x27
je 0x4a953c
cmp bl, 0x22
je 0x4a953c
mov eax, dword [esp + 0x38]
pop esi
pop ebx
mov dword [eax], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea ecx, [esp + 0x18]
call fcn.004c3d90
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], 1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cmp eax, ecx
jae 0x4a9599
mov edx, dword [esi]
inc eax
mov cl, byte [eax + edx - 1]
mov dword [esi + 8], eax
cmp cl, bl
mov byte [esp + 8], cl
je 0x4a9599
cmp cl, 0x26
jne 0x4a9589
mov ecx, esi
call fcn.004a91f0
push eax
lea ecx, [esp + 0x14]
call fcn.004c41c0
jmp 0x4a9555
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
call fcn.004c4220
jmp 0x4a9555
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push esi
call fcn.00499d30
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.004c3db0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4