joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4433b6
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
test edi, edi
je 0x443417
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x443417
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4433e7
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
jmp 0x443419
push edi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push 0x5c
mov esi, eax
push 0
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x443432
xor ecx, ecx
mov word [eax], cx
push esi
mov ecx, ebx
call fcn.004433b6
push esi
test eax, eax
jne 0x44341f
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x443417
xor eax, eax
inc eax
jmp 0x443419
Function at 0x443437
Capabilities:
Timestomp file

Disassembly:
push 0x48
mov eax, 0x465fd6
call fcn.0044c099
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_couldnt_open__S
mov dword [ebp - 4], ebx
call fcn.0042c8fb
pop ecx
pop ecx
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], 0xffffffff
setne cl
cmp ecx, ebx
jne 0x443489
call fcn.00429e18
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040949a
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_GetFileTime:__S
call fcn.0042c8fb
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, ebx
jne 0x4434cf
mov eax, esi
call fcn.00429e18
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040949a
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
call fcn.0042c8fb
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push edi
shr edi, 0x10
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, ebx
jne 0x44350f
mov eax, esi
call fcn.00429e18
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040949a
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
call fcn.0042c8fb
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, ebx
jne 0x44354e
mov eax, esi
call fcn.00429e18
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040949a
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_SetFileTime:__S
call fcn.0042c8fb
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x443594
mov eax, esi
call fcn.00429e18
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040949a
cmp dword [ebp - 0x10], ebx
je 0x4435ad
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044c171
ret 4

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

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, dword [esp + 4]
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edi + edx*4]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edi + edx*4]
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
ret
Function at 0x447c3d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e190]
jne 0x447c47
repz ret
jmp fcn.0044f53c

Function at 0x45b74c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00450499
and dword [ebp - 4], 0
cmp dword [0x4987ec], 0
mov ebx, eax
jne 0x45b7fd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45b8ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46e548
push edi
call esi
test eax, eax
je 0x45b8ae
push eax
call fcn.00450427
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4987ec], eax
call esi
push eax
call fcn.00450427
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4987f0], eax
call esi
push eax
call fcn.00450427
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4987f4], eax
call esi
push eax
call fcn.00450427
pop ecx
mov dword [0x4987fc], eax
test eax, eax
je 0x45b7fd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00450427
pop ecx
mov dword [0x4987f8], eax
mov eax, dword [0x4987f8]
cmp eax, ebx
je 0x45b855
cmp dword [0x4987fc], ebx
je 0x45b855
push eax
call fcn.004504a2
push dword [0x4987fc]
mov esi, eax
call fcn.004504a2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45b855
test edi, edi
je 0x45b855
call esi
test eax, eax
je 0x45b84c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45b84c
test byte [ebp - 0xc], 1
jne 0x45b855
or dword [ebp + 0x10], 0x200000
jmp 0x45b88e
mov eax, dword [0x4987f0]
cmp eax, ebx
je 0x45b88e
push eax
call fcn.004504a2
pop ecx
test eax, eax
je 0x45b88e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45b88e
mov eax, dword [0x4987f4]
cmp eax, ebx
je 0x45b88e
push eax
call fcn.004504a2
pop ecx
test eax, eax
je 0x45b88e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4987ec]
call fcn.004504a2
pop ecx
test eax, eax
je 0x45b8ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45b8b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401144
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00401000
push 0x40c
xor ebx, ebx
mov dword [ebp - 0x414], 0x22
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00401de0
add esp, 0xc
lea eax, [ebp - 0x412]
mov esi, 0x207
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401259
cmp eax, esi
jae 0x401259
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x412]
push eax
call esi
lea eax, [ebp - 0x412]
push eax
call esi
push str.GoogleUpdate.exe
lea eax, [ebp - 0x412]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401259
push str.___ondemand
push 0x208
lea eax, [ebp - 0x414]
push eax
call fcn.00401046
test eax, eax
js 0x40125e
push edi
push 0x40
lea eax, [ebp - 0x464]
mov dword [ebp - 0x468], 0x44
push ebx
push eax
call fcn.00401de0
xor eax, eax
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x401259
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
xor eax, eax
jmp 0x40125e
call fcn.0040102b
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004014b9
leave
ret 0x10
Function at 0x40a430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4acb90
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x39]
xor ebx, ebx
cmp cl, bl
mov ecx, dword [esp + 0x70]
jne 0x40a475
mov edx, dword [ecx]
cmp dword [eax + 0xc], edx
jge 0x40a46c
mov eax, dword [eax + 8]
jmp 0x40a470
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0x39], bl
je 0x40a462
cmp esi, dword [edi + 4]
je 0x40a485
mov eax, dword [ecx]
cmp eax, dword [esi + 0xc]
jge 0x40a52e
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov ecx, dword [ecx]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
mov dword [esp + 0x3c], edx
push ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x48], ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00404d80
lea eax, [esp + 0x34]
push eax
push esi
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
mov byte [esp + 0x74], 1
call fcn.0040a110
mov esi, dword [eax]
mov eax, dword [esp + 0x5c]
mov edi, 0x10
cmp eax, edi
jb 0x40a50b
mov edx, dword [esp + 0x48]
push edx
call fcn.00496b1d
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x40a52e
mov eax, dword [esp + 0x1c]
push eax
call fcn.00496b1d
add esp, 4
mov ecx, dword [esp + 0x60]
pop edi
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4
Function at 0x40e2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push edi
mov edi, dword [ecx + 0x2ec]
test edi, edi
mov dword [esp + 4], edi
jne 0x40e2eb
xor eax, eax
pop edi
add esp, 0x18
ret 4
movsx edx, word [ecx + 0x2e8]
mov eax, dword [esp + 0x20]
push ebx
push ebp
mov ebp, edx
add edx, eax
mov dword [esp + 0x28], edx
movsx edx, word [ecx + 0x2ea]
push esi
mov esi, edx
sub ebp, eax
sub esi, eax
test ebp, ebp
lea ebx, [edx + eax]
jge 0x40e317
xor ebp, ebp
mov edi, dword [edi + 8]
cmp dword [esp + 0x2c], edi
jl 0x40e32d
lea eax, [edi - 1]
cmp ebp, eax
mov dword [esp + 0x2c], eax
jle 0x40e32d
mov ebp, eax
test esi, esi
jge 0x40e333
xor esi, esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
dec eax
cmp ebx, eax
jle 0x40e347
mov ebx, eax
cmp esi, ebx
jle 0x40e347
mov esi, ebx
mov eax, dword [ecx + 0x3c]
imul eax, eax, 0x64
cdq
idiv dword [ecx + 0x28]
cmp esi, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx + 0xa8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
jge 0x40e3d6
lea ecx, [edi + edi*2]
imul edi, esi
add edi, ebp
lea eax, [edi + edi*2]
shl ecx, 2
shl eax, 2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
sub ebx, esi
mov edi, dword [esp + 0x2c]
cmp ebp, edi
jge 0x40e3cd
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x78]
add esi, eax
sub edi, ebp
mov ecx, dword [esi]
test ecx, ecx
je 0x40e3bf
mov eax, dword [esp + 0x20]
cmp eax, dword [ecx + 0xa8]
jne 0x40e3bf
mov eax, dword [ecx + 0x3c]
imul eax, eax, 0x64
cdq
idiv dword [ecx + 0x28]
cmp eax, dword [esp + 0x14]
jge 0x40e3bf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
add esi, 0xc
dec edi
jne 0x40e395
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add eax, ecx
dec ebx
mov dword [esp + 0x18], eax
jne 0x40e382
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x18
ret 4
Function at 0x40e3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov edx, dword [esi + 0xc]
test edx, edx
je 0x40e5ba
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x40e5ba
mov ecx, dword [0x4d5fd4]
mov ecx, dword [ecx + 0x14]
push ebx
push ebp
mov eax, edx
mov ebp, dword [eax + 0x144]
mov ebx, dword [eax + 0xc4]
push edi
mov edi, ecx
sub edi, ebp
cmp edi, ebx
jl 0x40e5b7
mov dword [edx + 0x144], ecx
test byte [esi + 0x2a8], 1
jne 0x40e5b7
movsx ecx, word [esi + 0x2e8]
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0xbc]
movsx edx, word [esi + 0x2ea]
mov ebx, ecx
lea ebp, [ecx + eax]
mov ecx, edx
sub ebx, eax
add edx, eax
sub ecx, eax
test ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
jge 0x40e47a
xor ebx, ebx
mov edx, dword [esi + 0x2ec]
mov eax, dword [edx + 8]
cmp ebp, eax
jl 0x40e494
dec eax
cmp ebx, eax
mov dword [esp + 0x14], eax
mov ebp, eax
jle 0x40e494
mov ebx, eax
test ecx, ecx
jge 0x40e49a
xor ecx, ecx
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
dec eax
cmp edx, eax
jle 0x40e4b0
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x40e4b0
mov ecx, eax
mov edx, dword [esi + 0xa8]
mov eax, dword [edi + 0x140]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [esp + 0x10]
test edx, edx
mov edx, ecx
mov dword [esp + 0x18], edx
jne 0x40e547
cmp ecx, eax
jge 0x40e5b7
lea esp, [esp]
mov ecx, dword [esi + 0x2ec]
mov eax, dword [ecx + 8]
imul eax, edx
cmp ebx, ebp
jge 0x40e532
add eax, ebx
lea edi, [eax + eax*2]
shl edi, 2
sub ebp, ebx
lea ebx, [ebx]
mov edx, dword [esi + 0x2ec]
mov eax, dword [edx + 0x78]
mov eax, dword [edi + eax]
test eax, eax
je 0x40e524
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0xa8]
jne 0x40e524
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + pe_nt_image_headers32]
add edi, 0xc
dec ebp
jne 0x40e500
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc edx
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x40e4e0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret
cmp ecx, eax
jge 0x40e5af
jmp 0x40e550
mov eax, dword [esi + 0x2ec]
mov eax, dword [eax + 8]
imul eax, edx
cmp ebx, ebp
jge 0x40e5a2
add eax, ebx
lea edi, [eax + eax*2]
shl edi, 2
sub ebp, ebx
lea ebx, [ebx]
mov ecx, dword [esi + 0x2ec]
mov edx, dword [ecx + 0x78]
mov eax, dword [edi + edx]
test eax, eax
je 0x40e594
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0xa8]
je 0x40e594
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + pe_nt_image_headers32]
add edi, 0xc
dec ebp
jne 0x40e570
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc edx
cmp edx, eax
mov dword [esp + 0x18], edx
jl 0x40e550
mov eax, dword [esi]
push esi
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret
Function at 0x413490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x4cb400]
push ebx
push esi
push edi
mov dword [esp + 0x21c], eax
mov ebx, ecx
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x10]
push str.attrres_roleinfo.txt
push ecx
call fcn.00496d86
add esp, 8
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.004132b0
test al, al
jne 0x413519
lea eax, [esp + 0x10]
push eax
push 0x4b2cf0
call fcn.0047d410
add esp, 8
xor al, al
mov ecx, dword [esp + 0x21c]
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004089d0
mov ecx, eax
call fcn.0040a5f0
test al, al
jne 0x413536
push 0x4b2cd8
call fcn.0047d410
add esp, 4
lea ecx, [esp + 0x10]
push str.attrresplaylevelup.txt
push ecx
call fcn.00496d86
add esp, 8
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.004123a0
test al, al
jne 0x41357f
lea eax, [esp + 0x10]
push eax
push 0x4b2ca4
call fcn.0047d410
add esp, 8
xor al, al
mov ecx, dword [esp + 0x21c]
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
push str.attrrespetlevelup.txt
push ecx
call fcn.00496d86
add esp, 8
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.00412510
test al, al
jne 0x4135c8
lea eax, [esp + 0x10]
push eax
push 0x4b2c70
call fcn.0047d410
add esp, 8
xor al, al
mov ecx, dword [esp + 0x21c]
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
lea ecx, [ecx]
push esi
lea ecx, [esp + 0x14]
push str.attrresRoleUp__d.txt
push ecx
call fcn.00496d86
add esp, 0xc
push esi
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call fcn.004128f0
test al, al
je 0x413627
inc esi
cmp esi, 5
jl 0x4135d0
mov ecx, ebx
call fcn.004126a0
test al, al
jne 0x41364a
push 0x4b2c48
call fcn.0047d410
add esp, 4
xor al, al
mov ecx, dword [esp + 0x21c]
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x4b2c28
call fcn.0047d410
add esp, 8
xor al, al
mov ecx, dword [esp + 0x21c]
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00412d50
test al, al
jne 0x413677
push 0x4b2c18
call fcn.0047d410
add esp, 4
xor al, al
mov ecx, dword [esp + 0x21c]
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x21c]
mov al, 1
call fcn.00496e0f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ca50
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x84
mov eax, dword [0x4cb400]
push esi
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
push eax
push 0xb
push str.role
mov esi, ecx
lea ecx, [esp + 0x10]
push str.SELECT_Id_FROM__s_WHERE_rank_d_AND_phyle_d_LIMIT_1
push ecx
call fcn.00496d86
lea eax, [esp + 0x18]
add esp, 0x14
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ca90
sub eax, edx
push 0
push eax
lea edx, [esp + 0xc]
add esi, 0xbe0
push edx
mov ecx, esi
call fcn.0047c860
test al, al
je 0x42cad5
mov ecx, esi
call fcn.0047bfe0
test eax, eax
jne 0x42cad5
mov al, 1
pop esi
mov ecx, dword [esp + 0x80]
call fcn.00496e0f
add esp, 0x84
ret 4
mov ecx, dword [esp + 0x84]
xor al, al
pop esi
call fcn.00496e0f
add esp, 0x84
ret 4
Function at 0x448f40
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4ae858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [0x4cb400]
push ebx
push edi
mov edi, ecx
push 0x2c
push str.attrresitemcombinitem_special.txt
lea ecx, [esp + 0x50]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x30], edi
call fcn.0047d3d0
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0xa4], ebx
lea ecx, [esp + 0x48]
jle 0x448fa8
push 2
push str.goldcool
call fcn.0047d0d0
test eax, eax
lea ecx, [esp + 0x48]
jne 0x448fbf
mov dword [esp + 0xa4], 0xffffffff
call fcn.0047cc20
xor al, al
jmp 0x44912f
push ebx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebx
call fcn.0047d090
test eax, eax
jne 0x448fed
lea ecx, [esp + 0x48]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0047cc20
xor al, al
jmp 0x44912f
push ebp
mov ecx, edi
call fcn.00443d90
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebx
jle 0x449118
push esi
jmp 0x449010
mov edi, dword [esp + 0x30]
lea ebx, [ebx]
push 2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0047d010
push 2
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x58]
call fcn.0047d010
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
call fcn.0047d010
push 2
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x58]
call fcn.0047d010
push 2
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
call fcn.0047d010
push 2
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
call fcn.0047d050
mov cx, word [esp + 0x10]
mov dx, word [esp + 0x2c]
mov ax, word [esp + 0x28]
mov word [esp + 0x34], cx
mov cx, word [esp + 0x24]
mov word [esp + 0x36], dx
mov dx, word [esp + 0x18]
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x1c]
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], dx
mov dword [esp + 0x40], eax
xor esi, esi
push 2
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], ebx
call fcn.0047d010
mov dx, word [esp + 0x20]
mov word [esp + esi*2 + 0x44], dx
inc esi
cmp esi, 6
jl 0x4490c4
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.004486b0
mov edi, eax
mov ecx, 7
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x50]
call fcn.0047cc60
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x449006
pop esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0047cc20
mov al, 1
pop ebp
mov ecx, dword [esp + 0x9c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x94]
pop ebx
call fcn.00496e0f
add esp, 0xa0
ret
Function at 0x44a227
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ae989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea edi, [esi + 0x74]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.00454b90
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x80]
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.004439d0
mov dword [edi + 4], eax
mov byte [eax + 0x41], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
xor eax, eax
lea edi, [esi + 0x30]
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov byte [esi + 0x68], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x453560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4aed41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x4b6220
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ebx
mov dword [esp + 8], esi
mov byte [esi + 8], bl
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov dword [esp + 0x14], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
push ebx
push ebx
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1c], 2
call fcn.0045c5e0
push ebx
push ebx
lea ecx, [esi + 0xb8]
call fcn.0045c5e0
push ebx
push ebx
lea ecx, [esi + 0xc0]
call fcn.0045c5e0
push ebx
push ebx
lea ecx, [esi + 0xc8]
call fcn.0045c5e0
push ebx
push ebx
lea ecx, [esi + 0xdc]
call fcn.0045c5e0
mov ecx, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0xa4], 0xffffffff
call fcn.00453440
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret