joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4208b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4930d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
xor ebx, ebx
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x18]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360SD
push eax
mov dword [esp + 0x28], str.360sd.exe
mov dword [esp + 0x2c], str.360rps.exe
mov dword [esp + 0x24], str.360rp
call fcn.00420a20
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.00401cd0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420951
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], ebx
je 0x4209d1
xor esi, esi
lea esp, [esp]
mov ebx, dword [esp + esi*4 + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040d090
mov eax, dword [eax]
push 0
push eax
call fcn.004602c8
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4209a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x420a0b
add esi, 1
cmp esi, 2
jb 0x420960
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x1c]
push ecx
call fcn.00421a80
add esp, 4
test eax, eax
je 0x4209d1
add esi, 1
cmp esi, 1
jb 0x4209b3
mov ebp, 1
lea eax, [edi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4209f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4209d1

Function at 0x420c40
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov ebx, 0x80004005
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x420c97
push 0
push 0
push 1
push 0
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x420c97
cmp dword [esi], 0
jne 0x420c97
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x420d50
push 0
push 0
call fcn.00462e69
add esp, 0x18
test eax, eax
mov dword [esi], eax
je 0x420c97
pop edi
xor eax, eax
pop ebx
ret
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x421380
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x493c58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004021c0
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x421479
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x421479
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x421479
lea ecx, [esp + 0x14]
call fcn.004212d0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x42143b
add eax, 0xfffffff0
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x421425
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push eax
call fcn.00421380
add esp, 4
test eax, eax
jne 0x421467
lea ecx, [esp + 0x14]
call fcn.00402360
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0
push esi
call edi
test eax, eax
jne 0x421479
call ebx
cmp eax, 0xb7
jne 0x421448
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42149a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x421b60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x421b7c
mov eax, dword [ebp - 4]
jmp 0x421c57
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x421c32
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4a6488]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4a6488]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4a6488]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4a6488]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4a6488]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4a6488]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4a6488]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4a6488]
dec ebp
jne 0x421b9c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x421c4e
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4a6488]
dec ecx
jne 0x421c3c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421c60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x5c], eax
push 0x58
lea eax, [esp + 4]
push 0
push eax
call fcn.00463d60
mov eax, dword [ebp + 8]
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00421ce0
add esp, 0x10
mov edx, esi
lea ecx, [esp]
call fcn.00421d80
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0045eec1
mov esp, ebp
pop ebp
ret
Function at 0x422800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x492fbe
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov eax, 0xf
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
lea edi, [esi + 0x30]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov eax, ebp
lea edx, [eax + 1]
mov byte [esp + 0x1c], 2
mov dword [esp + 0x28], edx
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x422870
sub eax, dword [esp + 0x28]
push eax
push ebp
call fcn.004035b0
mov ebp, dword [esp + 0x2c]
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x422890
sub eax, edx
push eax
push ebp
mov ecx, edi
call fcn.004035b0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x427a70
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x206
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.00463d60
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea edx, [esp + 4]
push 0x104
push edx
call fcn.004638cc
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4baa18], eax
je 0x427c62
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
mov ecx, dword [0x4baa18]
push str.WinHttpConnect
push ecx
mov dword [0x4ba9bc], eax
call esi
mov edx, dword [0x4baa18]
push str.WinHttpOpenRequest
push edx
mov dword [0x4ba9c0], eax
call esi
mov dword [0x4ba9c4], eax
mov eax, dword [0x4baa18]
push str.WinHttpAddRequestHeaders
push eax
call esi
mov ecx, dword [0x4baa18]
push str.WinHttpSendRequest
push ecx
mov dword [0x4ba9c8], eax
call esi
mov edx, dword [0x4baa18]
push str.WinHttpReceiveResponse
push edx
mov dword [0x4ba9cc], eax
call esi
mov dword [0x4ba9d0], eax
mov eax, dword [0x4baa18]
push str.WinHttpQueryHeaders
push eax
call esi
mov ecx, dword [0x4baa18]
push str.WinHttpReadData
push ecx
mov dword [0x4ba9d4], eax
call esi
mov edx, dword [0x4baa18]
push str.WinHttpCloseHandle
push edx
mov dword [0x4ba9d8], eax
call esi
mov dword [0x4ba9dc], eax
mov eax, dword [0x4baa18]
push str.WinHttpCrackUrl
push eax
call esi
mov ecx, dword [0x4baa18]
push str.WinHttpSetOption
push ecx
mov dword [0x4ba9e0], eax
call esi
mov edx, dword [0x4baa18]
push str.WinHttpSetTimeouts
push edx
mov dword [0x4ba9e4], eax
call esi
cmp dword [0x4ba9bc], 0
mov dword [0x4ba9e8], eax
pop esi
je 0x427c46
cmp dword [0x4ba9c8], 0
je 0x427c46
cmp dword [0x4ba9dc], 0
je 0x427c46
cmp dword [0x4ba9c0], 0
je 0x427c46
cmp dword [0x4ba9c4], 0
je 0x427c46
cmp dword [0x4ba9d4], 0
je 0x427c46
cmp dword [0x4ba9d8], 0
je 0x427c46
cmp dword [0x4ba9d0], 0
je 0x427c46
cmp dword [0x4ba9cc], 0
je 0x427c46
cmp dword [0x4ba9e0], 0
je 0x427c46
cmp dword [0x4ba9e4], 0
je 0x427c46
test eax, eax
je 0x427c46
mov eax, 1
mov dword [0x4ba9b8], eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0045eec1
add esp, 0x20c
ret
xor eax, eax
mov dword [0x4ba9b8], eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0045eec1
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
mov eax, dword [0x4ba9b8]
xor ecx, esp
call fcn.0045eec1
add esp, 0x20c
ret
Function at 0x428600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x492edc
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.KChannel.0
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x42a230
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x496e98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
xor edi, edi
push eax
or ebp, 0xffffffff
mov dword [esp + 0x20], edi
call fcn.004021c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], edi
call fcn.004212d0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00412d60
add esp, 4
push edi
push ebx
call fcn.004602c8
add esp, 8
test eax, eax
jne 0x42a330
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x42a2cb
push esi
mov edi, ebx
call fcn.00413fa0
add esp, 4
test eax, eax
jne 0x42a330
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [0x4baa88], eax
jmp 0x42a32e
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004021c0
mov eax, 1
push eax
mov byte [esp + 0x2c], al
push 0x4a12cc
lea eax, [esp + 0x18]
push eax
call fcn.00401ff0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, esi
call fcn.00435e50
mov ecx, esi
call fcn.0045a4c0
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a32e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebp, ebp
push 0
push ebp
push 0x14
mov ecx, 0x4b8b20
call fcn.0043b2a0
push esi
push ebx
push ebp
push str.UpdateFile_return:_d__src:_ws__dst:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
mov edx, dword [0x4b994c]
mov eax, dword [edx + 0xc]
add esp, 0x10
mov ecx, 0x4b994c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
test ebp, ebp
mov byte [esp + 0x28], 2
mov eax, 0x4a7568
je 0x42a37e
mov eax, 0x4a7570
push eax
push esi
push 0x4a7578
lea edi, [esp + 0x20]
call fcn.004039d0
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x42a3ab
test ebp, ebp
jne 0x42a3ab
push 6
push 0x4a7590
mov ecx, edi
push ecx
call fcn.00401ff0
mov esi, dword [esp + 0x14]
push esi
call fcn.0041dfd0
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a3d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a401
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x42cba0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x495358
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
mov ebx, 1
mov dword [esp + 0x14], ebx
call fcn.004155f0
test eax, eax
je 0x42cbe8
mov dword [0x4baadc], ebx
lea eax, [esp + 0x10]
push eax
call fcn.00412990
add esp, 4
mov edi, 0x4baab0
mov byte [esp + 0x28], bl
call fcn.00401cd0
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cc28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push 0x4baab0
push ecx
mov ebx, 0x4a780c
call fcn.0040d090
add esp, 8
mov edi, 0x4baaac
mov byte [esp + 0x28], 2
call fcn.00401cd0
xor ebx, ebx
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cc74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWARELenovoDrivers_ManagementUpdate
push reloc.WS2_32.dll_bind
mov dword [0x4baaa0], 1
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42ccb1
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.Clean_Temp_Dir1
push esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
push eax
push str.Auto_Clean:_d
mov ecx, 0x4ba960
mov dword [0x4baaa0], eax
call fcn.0041d5c0
add esp, 8
cmp esi, ebx
je 0x42ccfc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x42e3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4952e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
mov dword [esp + 0x24], 0xffffffff
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
push ebp
push str.verrequest_d
lea edi, [esp + 0x24]
call fcn.004039d0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
add esp, 8
push edi
push eax
mov ecx, 0x4a7a50
call fcn.004197b0
test eax, eax
jne 0x42e474
xor ecx, ecx
jmp 0x42e48f
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42e480
sub ecx, esi
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x1c]
call fcn.00401f30
mov esi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [esi - 0xc], ebx
je 0x42e52d
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + 0x14]
add esi, 0x10
cmp ecx, ebx
jne 0x42e4bc
xor edx, edx
jmp 0x42e4c4
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
cmp ecx, ebx
je 0x42e506
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x42e506
mov edx, dword [esp + 0x40]
mov edi, dword [esi + 8]
mov byte [esp + 0x20], bl
mov ecx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
push edi
mov ecx, 1
call fcn.004185e0
add edi, 4
add esp, 0x10
mov dword [esi + 8], edi
add ebp, 1
jmp 0x42e446
mov edi, dword [esi + 8]
cmp ecx, edi
jbe 0x42e512
call fcn.0045f752
push edi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
mov eax, esi
call fcn.00417710
add ebp, 1
jmp 0x42e446
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x14]
cmp eax, ebx
je 0x42e546
mov ecx, dword [ecx + 0x18]
sub ecx, eax
sar ecx, 2
je 0x42e546
xor ebp, ebp
jmp 0x42e54a
mov ebp, dword [esp + 0x24]
push ebp
push str.KCs3::LoadCs3SvrList_return:_d
mov ecx, 0x4ba960
call fcn.0041d5c0
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e57d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e5a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x42ea50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x497c7a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], 0
call fcn.00418900
lea esi, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0042cd40
mov byte [esp + 0x30], 2
mov ecx, dword [eax]
push ecx
push str._suplive.svr
lea edi, [esp + 0x40]
call fcn.004039d0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42eaee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x38]
push 1
push esi
lea ecx, [esp + 0x20]
push ecx
call fcn.00418aa0
test eax, eax
je 0x42eb38
push 0xffffffffffffffff
push str.TryNo
push str.Common
lea edx, [esp + 0x24]
push edx
call fcn.004195a0
cmp eax, 0xffffffff
mov dword [ebp + 0x20], eax
jne 0x42eb29
call fcn.00415eb0
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042e5c0
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x34], 0
call fcn.00418990
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eb6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
Function at 0x4323a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x498148
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov ebp, 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4baac4], esi
mov dword [esp + 0x18], eax
jne 0x43252c
push 0x4a7b54
call fcn.0041dfd0
add esp, 4
lea ebx, [edi + 4]
call fcn.0042daa0
test eax, eax
jne 0x432462
cmp dword [0x4baac0], esi
jne 0x43252c
call fcn.00415d00
mov esi, eax
cmp esi, 5
jl 0x432432
mov dword [0x4baac0], ebp
jmp 0x43252c
push 0x4a7b68
mov ebp, 0x10
call fcn.0041dfd0
add esp, 4
push 0x4a7b7c
call fcn.0041dfd0
add esp, 4
add esi, 1
push esi
call fcn.00415d60
add esp, 4
jmp 0x43252e
push esi
call fcn.00415d60
add esp, 4
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0042d840
lea ecx, [esp + 0x20]
push ecx
lea esi, [edi + 0x44]
push esi
call fcn.0043d350
mov eax, dword [esi + 4]
test eax, eax
je 0x43252e
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43252e
cmp dword [0x4baac0], 0
jne 0x43252c
mov eax, ebx
call fcn.0042d5e0
test eax, eax
je 0x4324c4
call fcn.004166b0
mov eax, ebx
call fcn.0042d5e0
test eax, eax
jne 0x4324e9
call fcn.004165d0
test eax, eax
je 0x4324e9
mov dword [0x4baac0], 1
call fcn.004166b0
jmp 0x43252c
mov eax, ebx
call fcn.0042d5e0
test eax, eax
jne 0x4324fb
mov eax, esi
call fcn.0043d540
mov ebx, dword [edi + 0x34]
push ebx
push str.KCs3::IsNeedUpdateFast_return__d
mov ecx, 0x4ba960
call fcn.0041d5c0
add esp, 8
test ebx, ebx
jne 0x432521
push str.fast
mov eax, esi
call fcn.0043d630
mov ecx, esi
call fcn.0043e410
test eax, eax
je 0x43252e
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x18]
mov dword [0x4ba8f8], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x432563
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
push ecx
call fcn.00431a20
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call fcn.0045eebc
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret