Function at 0x53c270
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x4c0
mov esi, esp
mov dword [esi + 0x4a8], ebp
lea eax, [esi + 0x4b0]
mov dword [esi + 0x10], ecx
mov dword [esi + 8], edx
xor edx, edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5869e0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov ecx, 0x100
call fcn.005720fb
and dword [esi + 0x6c], 0
and dword [esi + 0x70], 0
and dword [esi + 0x64], 0
and dword [esi + 0x67], 0
and dword [esi + 0x14], 0
xor ecx, ecx
mov bl, 1
inc ecx
mov byte [esi + 6], bl
mov dword [esi + 0x18], ecx
and dword [esi + 0x1c], 0
mov byte [esi + 0x80], bl
and dword [esi + 0x7c], 0
and dword [esi + 0x20], 0
and dword [esi + 0x81], 0
mov dword [esi + 0x24], ecx
and dword [esi + 0x28], 0
mov dword [esi + 0x78], 0xff000000
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edx
and dword [esi + 0x34], 0
mov dword [esi + 0x4b8], ecx
mov ecx, 0x2000
mov word [esi + 0x38], 1
mov dword [esi + 0x3c], 0x80000001
call fcn.00459196
mov dword [esi + 0xc], eax
mov ebx, edx
lea edi, [esi + 0xb0]
lea eax, [esi + 0x14]
push 0x74
push eax
push edi
call fcn.0058a110
add esp, 0xc
mov eax, dword [esi + 0xc]
mov dword [esi + 0x4b8], 2
mov dword [edi - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [edi - 0x24], ebx
and dword [edi - 0x20], 0
and dword [edi - 0x1c], 0
and dword [edi - 0x18], 0
mov dword [edi - 0xc], eax
mov eax, dword [esi + 8]
mov dword [edi - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi - 8], eax
mov byte [edi + 0x74], 0
push 0x20
pop ecx
call fcn.004ce3e6
mov dword [esi + 8], eax
lea edi, [esi + 0x150]
mov ebx, edx
lea eax, [esi + 0x88]
and dword [edi - 8], 0
and dword [edi - 0xc], 0
and word [edi - 4], 0
push 0xa0
push eax
push edi
call fcn.0058a110
add esp, 0xc
xor eax, eax
mov ecx, 0x80000000
mov byte [edi + 0xbe], al
mov dword [edi + 0xa0], 0x2faf080
mov byte [edi + 0xbc], al
mov dword [edi + 0xa4], ecx
mov dword [edi - 0x28], ecx
mov dword [edi - 0x1c], ecx
mov ecx, dword [esi + 8]
mov dword [edi - 0x18], 0x652cb0
and dword [edi - 0x14], 0
mov byte [edi - 0x10], al
and word [edi - 0xe], 0
mov byte [edi - 2], 1
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb4], ebx
and dword [edi + 0xb8], 0
lea ecx, [esi + 0x88]
lea edx, [esi + 0x150]
mov dword [esi + 0x4b8], 3
call fcn.0051cdc0
movzx eax, byte [esi + 0x88]
cmp eax, 0xb
je 0x53c45c
mov ebx, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
cmp al, 0xa
je 0x53c482
cmp eax, 2
jne 0x53c53c
mov al, byte [esi + 0x89]
mov byte [esi + 0x20c], 1
mov byte [esi + 0x20d], al
jmp 0x53c407
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x94]
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], ecx
mov dword [esi + 0x218], edx
jmp 0x53c4ba
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
mov byte [esi + 7], 0xa
mov dword [esi + 0x4b8], 4
push 0x24
pop edx
mov ecx, str.file_does_not_contain_any_image_datad
call fcn.00456404
and dword [esi + 0x210], 0
mov dword [esi + 0x214], eax
mov dword [esi + 0x218], 0x5b8838
or dword [esi + 0x4b8], 0xffffffff
lea ecx, [esi + 0x128]
mov dword [esi + 0x2e8], 0x80000000
call fcn.0052f4a9
or dword [esi + 0x4b8], 0xffffffff
lea edi, [esi + 0x3d0]
lea edx, [esi + 0x210]
mov ecx, edi
call fcn.0045a5f2
push 0x28
pop ebx
lea eax, [esi + 0x2f8]
push ebx
push edi
push eax
call fcn.0058a110
add esp, 0xc
mov edi, dword [esi + 0x10]
lea eax, [edi + 8]
push ebx
lea ecx, [esi + 0x2f8]
push ecx
push eax
call fcn.0058a110
mov ebx, edi
add esp, 0xc
xor ecx, ecx
push 2
pop eax
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0x4b0]
mov dword [ebx], eax
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 1
mov dword [esi + 8], ecx
jne 0x53c671
mov ecx, dword [esi + 0x1f4]
mov edx, dword [esi + 0x1f8]
mov edi, dword [esi + 0x94]
call fcn.0041e52f
mov edx, dword [esi + 8]
test edi, edi
mov eax, 0x80000000
cmovne eax, ebx
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1fc], edi
mov dword [esi + 0x1f8], edx
jne 0x53c58d
mov ecx, ebx
call fcn.0041b0e1
mov ebx, dword [esi + 0x1f4]
cmp ebx, 0x80000000
je 0x53c5c3
xor eax, eax
cmp byte [esi + 0x20c], 0
movzx ecx, byte [esi + 0x20d]
cmove ecx, eax
mov eax, dword [esi + 0x1fc]
movzx ecx, cl
push 3
pop edi
xor edx, edx
div edi
cmp eax, ecx
ja 0x53c5c3
mov byte [esi + 0x20c], 0
lea ebx, [esi + 0x210]
lea eax, [esi + 0x128]
push 0xe8
push eax
push ebx
call fcn.0058a110
add esp, 0xc
mov edi, dword [ebx + 0xd8]
cmp edi, 0x80000000
je 0x53c4d6
mov eax, 0xd8
lea ecx, [esi + 0x3d0]
push eax
push ebx
push ecx
call fcn.0058a110
add esp, 0xc
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x2f4]
movsd xmm0, qword [esi + 0x2ec]
lea ecx, [esi + 0x2f8]
mov dword [ebx + 0x104], eax
mov eax, 0xd8
movsd qword [ebx + 0xfc], xmm0
push eax
lea eax, [esi + 0x3d0]
push eax
push ecx
call fcn.0058a110
add esp, 0xc
lea eax, [ebx + 0x20]
mov ecx, 0xd8
push ecx
lea ecx, [esi + 0x2f8]
push ecx
push eax
call fcn.0058a110
add esp, 0xc
and dword [ebx + 0x10], 0
and dword [ebx + 0x18], 0
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0xf8], edi
jmp 0x53c522
mov dword [esi + 0xc], ebx
mov byte [esi + 7], al
mov dword [esi + 0x4b8], 4
push 0x28
pop edx
mov ecx, 0x651fc6
push 0x64a01c
call fcn.0059a2a0
pop eax
ud2