Function at 0x4ca580
Capabilities:
Access peb ldr_data
Check os version
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x59e911
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], 0x5a78dc
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], esi
mov dword [esi + 4], 0x5a68ac
mov ebp, dword [esp + 0x150]
mov dword [esp + 0x140], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], 1
lea ecx, [ebp + 0x1080]
lea eax, [ebp + 0x10f0]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x148]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14c]
lea edx, [ebp + 0x1078]
mov dword [esi + 0xa0], ecx
lea ecx, [esi + 0xac]
mov dword [esi + 0x18], edx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa4], ebp
mov byte [esi + 0xa8], bl
call fcn.004ce530
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 1
mov dword [esi], 0x5a7ca0
mov dword [esi + 4], 0x5a7c94
call fcn.0048cf06
mov eax, dword [0x5cf7f8]
cmp eax, 0xffffffff
je 0x4ca668
mov edi, 0x5cf7f8
push eax
push esi
call fcn.004ba7b0
mov eax, dword [edi + 4]
add edi, 4
add esp, 8
cmp eax, 0xffffffff
jne 0x4ca653
mov eax, dword [ebp + 0x910]
mov edi, 0xa
mov dword [esp + 0x1c], eax
add eax, 0xfffffff6
mov dword [esp + 0x14], eax
push 0x2074
call fcn.00533fdc
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x140], 2
je 0x4ca6c1
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push 0
push 1
push 1
push 0xf
push 0xc
push edi
push edx
push 0x3c
lea edx, [ebp + 0x7d4]
push ecx
push edx
mov ecx, eax
call fcn.00563a73
jmp 0x4ca6c3
xor eax, eax
test ebx, ebx
mov byte [esp + 0x140], 1
mov dword [esi + ebx*4 + 0x1c], eax
push 0x3f800000
jne 0x4ca6f5
push 0x3f800000
push 0x3f4ccccd
push 0x3f4ccccd
lea ecx, [esp + 0x34]
call fcn.0041283f
mov ecx, dword [esi + 0x1c]
jmp 0x4ca711
push 0x3f4ccccd
push 0x3f333333
push 0x3f333333
lea ecx, [esp + 0x28]
call fcn.0041283f
mov ecx, dword [esi + ebx*4 + 0x1c]
mov dl, byte [eax]
add edi, 0x10
mov byte [ecx + 0x2064], dl
mov dl, byte [eax + 1]
mov byte [ecx + 0x2065], dl
mov dl, byte [eax + 2]
mov byte [ecx + 0x2066], dl
mov al, byte [eax + 3]
inc ebx
mov byte [ecx + 0x2067], al
cmp ebx, 5
mov byte [ecx + 0x205c], 1
jl 0x4ca67e
lea ebx, [esi + 0x38]
mov dword [esp + 0x10], 0xa
push 0x2074
call fcn.00533fdc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x140], 3
je 0x4ca796
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x10]
push 0
push 1
push 1
push 0xb
push 8
push edi
push ecx
push 0x3c
lea ecx, [ebp + 0x7d4]
push edx
push ecx
mov ecx, eax
call fcn.00563a73
jmp 0x4ca798
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
add edi, 0xc
add ebx, 4
dec eax
mov byte [esp + 0x140], 1
mov dword [esp + 0x10], eax
jne 0x4ca753
lea ebx, [esi + 0x6c]
mov dword [esp + 0x10], 0xa
push 0x2074
call fcn.00533fdc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x140], 4
je 0x4ca801
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push 0
push 1
push 1
push 0xb
push 8
push edi
push edx
push 0x3c
lea edx, [ebp + 0x7d4]
push ecx
push edx
mov ecx, eax
call fcn.00563a73
jmp 0x4ca803
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
add edi, 0xc
add ebx, 4
dec eax
mov byte [esp + 0x140], 1
mov dword [esp + 0x10], eax
jne 0x4ca7be
push 0x2074
call fcn.00533fdc
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov byte [esp + 0x140], 5
je 0x4ca87b
fild dword [esp + 0x1c]
push 0
push 0
push 1
push 0x12
fld st(0)
fmul dword [0x5a60c4]
push 0xd
call fcn.00535370
fmul dword [0x5a5aa0]
push eax
call fcn.00535370
push eax
mov eax, dword [esi + 0x10]
push 0x3c
lea ecx, [ebp + 0x7d4]
push eax
push ecx
mov ecx, edi
call fcn.00563a73
jmp 0x4ca87d
xor eax, eax
push 0x3f800000
push 0x3f000000
push 0x3f800000
push 0x3f000000
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 1
mov dword [esi + 0x94], eax
call fcn.0041283f
mov ecx, dword [esi + 0x94]
mov dl, byte [eax]
fild dword [esp + 0x1c]
mov byte [ecx + 0x2064], dl
mov dl, byte [eax + 1]
mov byte [ecx + 0x2065], dl
mov dl, byte [eax + 2]
fst dword [esp + 0x14]
fmul dword [0x5a5a9c]
mov byte [ecx + 0x2066], dl
mov al, byte [eax + 3]
mov byte [ecx + 0x2067], al
mov byte [ecx + 0x205c], 1
call fcn.00535370
mov ebx, eax
push 0x2074
mov edi, ebx
call fcn.00533fdc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x140], 6
je 0x4ca92e
mov ecx, dword [esi + 0x10]
push 0
push 0
push 1
push 0x10
push 0xd
push edi
push ebx
push 0x3c
lea edx, [ebp + 0x7d4]
push ecx
push edx
mov ecx, eax
call fcn.00563a73
jmp 0x4ca930
xor eax, eax
mov byte [esp + 0x140], 1
mov dword [esi + 0x174], eax
call dword [0x5a502c]
mov ecx, eax
call dword [0x5a5028]
push eax
lea eax, [esp + 0x3c]
push 0x5cf82c
push eax
call fcn.00534fb6
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x3f800000
push 0x3f000000
push 0x3f800000
push 0x3f000000
call fcn.0041283f
mov ecx, dword [esi + 0x174]
mov dl, byte [eax]
mov byte [ecx + 0x2064], dl
mov dl, byte [eax + 1]
mov byte [ecx + 0x2065], dl
mov dl, byte [eax + 2]
mov byte [ecx + 0x2066], dl
mov al, byte [eax + 3]
mov byte [ecx + 0x2067], al
mov byte [ecx + 0x205c], 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x174]
call fcn.00563b8e
lea edx, [esi + 0x178]
add edi, 0x14
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 8
push 0x2074
call fcn.00533fdc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x140], 7
je 0x4caa10
mov ecx, dword [esi + 0x10]
push 0
push 0
push 1
push 0x10
push 0xd
push edi
push ebx
push 0x3c
lea edx, [ebp + 0x7d4]
push ecx
push edx
mov ecx, eax
call fcn.00563a73
jmp 0x4caa12
xor eax, eax
mov ecx, dword [esp + 0x1c]
add edi, 0x12
mov byte [esp + 0x140], 1
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jne 0x4ca9d1
xor eax, eax
lea ecx, [esi + 0x198]
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, 0xa
jl 0x4caa3d
mov eax, esi
lea ecx, [esi + 4]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebp + 0x1810]
push eax
call fcn.0044c75c
fld dword [esp + 0x14]
fmul dword [0x5a54fc]
call fcn.00535370
fld dword [esp + 0x14]
fmul dword [0x5a60b4]
mov edi, eax
call fcn.00535370
fld dword [esp + 0x14]
fmul dword [0x5a7c90]
mov ebx, eax
call fcn.00535370
fld dword [esp + 0x14]
fmul dword [0x5a73d0]
mov dword [esp + 0x10], eax
call fcn.00535370
push 0x2074
mov dword [esp + 0x20], eax
call fcn.00533fdc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x140], 8
je 0x4caaec
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push 2
push 2
push 1
push ecx
mov ecx, dword [esi + 0x10]
push edx
push ebx
push edi
push 0x3c
add ebp, 0x7d4
push ecx
push ebp
mov ecx, eax
call fcn.00563a73
jmp 0x4caaee
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword [esi + 0x1c0], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret 0xc