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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59f813
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x621810]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x621810]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], eax
call fcn.00448f60
push eax
lea edi, [esp + 0x20]
mov dword [esp + 0x6c], 0
call fcn.00455e40
lea ecx, [ebx + 0x10]
mov edx, 0x5feec4
mov byte [esp + 0x68], 1
call fcn.00455200
mov edx, edi
push edx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00456090
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0xc], edx
mov dword [esp + 0x14], eax
call fcn.00455b60
mov ecx, edi
mov byte [esp + 0x68], 0
call fcn.00455b60
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x451345
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048bcc1
add esp, 4
lea edi, [esp + 0x3c]
call fcn.00449590
push eax
lea edi, [esp + 0x20]
mov dword [esp + 0x6c], 2
call fcn.00455e40
mov edx, 0x5fef10
lea ecx, [ebx + 0x10]
mov byte [esp + 0x68], 3
call fcn.00455200
mov ecx, edi
push ecx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00456090
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
mov dword [esi], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0xc], edx
mov dword [esp + 0x14], eax
call fcn.00455b60
mov ecx, edi
mov byte [esp + 0x68], 2
call fcn.00455b60
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x4513d9
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048bcc1
add esp, 4
lea edi, [esp + 0x3c]
call fcn.00449590
push eax
lea edi, [esp + 0x20]
mov dword [esp + 0x6c], 4
call fcn.00455e40
mov edx, str.device_id
lea ecx, [ebx + 0x10]
mov byte [esp + 0x68], 5
call fcn.00455200
mov ecx, edi
push ecx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00456090
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
mov dword [esi], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0xc], edx
mov dword [esp + 0x14], eax
call fcn.00455b60
mov ecx, edi
mov byte [esp + 0x68], 4
call fcn.00455b60
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x45146d
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048bcc1
add esp, 4
push 0x1c
mov dword [esp + 0x20], 4
call fcn.0048bf08
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x68], 6
mov edi, 7
test esi, esi
je 0x4514be
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
push 0x600160
mov word [esi], cx
call fcn.0048c5ca
add esp, 4
mov ecx, 0x600160
call fcn.00401834
jmp 0x4514c0
xor esi, esi
mov dword [esp + 0x24], esi
lea ecx, [ebx + 0x20]
mov edx, str.stats_obj
mov dword [esp + 0x68], edi
call fcn.00455200
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00456090
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0xc], edx
mov dword [esp + 0x14], eax
call fcn.00455b60
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00455b60
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x50]
call fcn.00401b81
cmp dword [ebx + 0x60], 0
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
lea ecx, [ebx + 0x34]
push 0
je 0x45154b
lea eax, [ebx + 0x50]
call fcn.00401b81
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0048b951
mov esp, ebp
pop ebp
ret 4