Function at 0x631400
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x826d4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
xor ebx, ebx
push edi
mov dword [esp + 0xb8], ebx
mov cl, byte [esi + 1]
mov al, byte [esi]
mov edx, dword [esi + 8]
mov byte [esp + 0x11], cl
mov cl, byte [esi + 0x10]
mov byte [esp + 0x10], al
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x14]
mov byte [esp + 0x20], cl
mov cl, byte [esi + 0x1c]
lea edi, [esi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24], edx
mov dl, byte [edi]
mov byte [esp + 0x2c], cl
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], dl
call fcn.00404c40
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x3c]
call fcn.00402e90
lea eax, [esi + 0x30]
lea ecx, [esp + 0x40]
push eax
mov dword [esp + 0xc8], 1
call fcn.0042b6c0
mov cl, byte [esi + 0x40]
mov edx, dword [esi + 0x44]
mov al, byte [esi + 0x48]
mov byte [esp + 0x50], cl
mov cl, byte [esi + 0x49]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x50]
mov byte [esp + 0x59], cl
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x60], edx
mov dl, byte [esi + 0x5c]
mov byte [esp + 0x58], al
mov eax, dword [esi + 0x54]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x64]
mov byte [esp + 0x6c], dl
mov edx, dword [esi + 0x68]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x70], eax
mov al, byte [esi + 0x6c]
mov dword [esp + 0x80], ecx
mov cl, byte [esi + 0x7c]
mov dword [esp + 0x84], edx
mov byte [esp + 0x7c], al
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x80]
mov byte [esp + 0x8c], cl
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0xc8], 2
mov dword [esp + 0x8c], eax
call fcn.004cf180
mov al, byte [esi + 0x90]
mov byte [esp + 0xc4], 3
lea ecx, [esi + 0x94]
mov byte [esp + 0xa0], al
push ecx
lea ecx, [esp + 0xa8]
call fcn.004cf200
mov edi, dword [esp + 0xd0]
mov dword [esp + 0xc4], 4
mov al, byte [edi]
cmp al, 5
je 0x631579
mov byte [esp + 0x10], al
cmp byte [edi + 1], bl
je 0x631591
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmp byte [edi + 0x10], bl
je 0x6315a9
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov byte [esp + 0x20], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp byte [edi + 0x1c], bl
je 0x6315d3
push 0xffffffffffffffff
lea eax, [edi + 0x20]
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x38], 1
call fcn.00402e90
push 0xffffffffffffffff
lea ecx, [edi + 0x30]
push ebx
push ecx
lea ecx, [esp + 0x4c]
call fcn.00402e90
cmp byte [edi + 0x40], bl
je 0x6315e4
mov edx, dword [edi + 0x44]
mov byte [esp + 0x50], 1
mov dword [esp + 0x54], edx
mov al, byte [edi + 0x48]
mov cl, byte [esi + 0x48]
cmp al, cl
je 0x63163e
cmp al, bl
jne 0x631605
cmp byte [edi + 0x49], bl
jne 0x631601
cmp byte [edi + 0x6c], bl
jne 0x631601
cmp byte [edi + 0x5c], bl
je 0x631605
mov byte [esp + 0x58], bl
cmp cl, bl
jne 0x63163e
cmp byte [edi + 0x49], bl
jne 0x631619
cmp byte [esi + 0x49], bl
je 0x631619
mov byte [esp + 0x58], bl
jmp 0x63163e
cmp byte [edi + 0x6c], bl
jne 0x631629
cmp byte [esi + 0x6c], bl
je 0x631629
mov byte [esp + 0x58], bl
jmp 0x63163e
cmp byte [edi + 0x5c], bl
jne 0x631639
mov al, byte [esi + 0x5c]
mov byte [esp + 0x58], bl
cmp al, bl
jne 0x63163e
mov byte [esp + 0x58], 1
cmp byte [edi + 0x49], bl
je 0x63165d
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x58]
mov byte [esp + 0x59], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
cmp byte [edi + 0x5c], bl
je 0x63167c
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x68]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
cmp byte [edi + 0x6c], bl
je 0x6316a4
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
mov edx, dword [edi + 0x78]
mov byte [esp + 0x7c], 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
cmp byte [edi + 0x7c], bl
je 0x631849
lea esi, [edi + 0x80]
lea eax, [esp + 0x90]
cmp eax, esi
mov byte [esp + 0x8c], 1
je 0x631849
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x6316d5
xor ebp, ebp
jmp 0x6316ef
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebp, edx
lea ecx, [esp + 0x90]
call fcn.004c8320
cmp ebp, eax
ja 0x631752
mov edx, dword [esp + 0x94]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.004cbac0
mov ecx, dword [esp + 0xa4]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.004c8350
mov ecx, esi
call fcn.004c8320
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x94]
lea ecx, [eax + edx*4]
mov dword [esp + 0x98], ecx
jmp 0x631849
mov ecx, esi
call fcn.004c8320
lea ecx, [esp + 0x90]
mov ebp, eax
call fcn.004c82f0
cmp ebp, eax
ja 0x6317d1
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x90]
call fcn.004c8320
mov ecx, dword [esp + 0x94]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 4]
push ecx
lea ebp, [ebp + edx*4]
push ebp
push eax
call fcn.004cbac0
mov edx, dword [esp + 0xa4]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x90]
push edx
push eax
push ebp
call fcn.004c8380
mov ecx, esi
call fcn.004c8320
mov edx, dword [esp + 0x94]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*4]
jmp 0x631842
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.004c8350
mov eax, dword [esp + 0x94]
push eax
call fcn.007d7349
add esp, 4
mov ecx, esi
call fcn.004c8320
cmp eax, ebx
jge 0x63180a
xor eax, eax
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
push ecx
call fcn.007d7320
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
add esp, 4
mov dword [esp + 0x94], eax
push eax
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.004c8380
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], eax
cmp byte [edi + 0x90], bl
je 0x63187b
mov eax, dword [edi + 0x9c]
mov edi, dword [edi + 0x98]
mov edx, dword [esp + 0xac]
push eax
push edi
push edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0xac], 1
call fcn.00632600
mov ebp, dword [esp + 0xcc]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.004cdea0
mov dword [esp + 0xb8], 1
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
cmp esi, edi
mov dword [esp + 0xc4], 7
je 0x6318cc
push ebx
mov ecx, esi
call fcn.004cc930
add esi, 0x20
cmp esi, edi
jne 0x6318b6
mov esi, dword [esp + 0xa8]
push esi
call fcn.007d7349
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
add esp, 4
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
push ecx
push edx
lea ecx, [esp + 0x98]
mov byte [esp + 0xcc], 6
call fcn.004c8350
mov eax, dword [esp + 0x94]
push eax
call fcn.007d7349
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
push 1
mov dword [esp + 0xa0], ebx
mov byte [esp + 0xc8], 5
call fcn.00404c40
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], bl
call fcn.00404c40
mov ecx, dword [esp + 0xbc]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret