Function at 0x4ad390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ad834
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00413be4
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0x34]
call fcn.00404190
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040aa94
cmp dword [ebp - 0x30], 0
jne 0x4ad42e
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
call fcn.004ad244
jmp 0x4ad7fc
xor eax, eax
push ebp
push 0x4ad589
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0x1c]
call fcn.00404190
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x10]
mov edx, 0x4ad84c
call fcn.00404254
jne 0x4ad489
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4ad57f
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x10]
call fcn.0040aa94
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00409d94
mov eax, dword [ebp - 0x38]
mov edx, 0x4ad864
call fcn.00404254
jne 0x4ad555
mov dl, 1
mov eax, dword [0x41cf4c]
call fcn.0042563c
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4ad54e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.00424018
xor ecx, ecx
xor edx, edx
call fcn.0041eabc
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad57f
mov eax, dword [ebp - 0x2c]
call fcn.00403124
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x1c]
call fcn.00421504
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.00421ac0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.00421aa8
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ad5eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x10]
mov edx, 0x4ad84c
call fcn.00404254
setne al
cmp dword [ebp - 0xc], 0
setg dl
and al, dl
je 0x4ad64a
mov eax, dword [ebp - 0x1c]
call fcn.0046173c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fild qword [ebp - 0x18]
fdiv dword [0x4ad86c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x13c]
mov edx, 2
xor eax, eax
call fcn.0040718f
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x20]
call fcn.004040e8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
call fcn.004aca50
test eax, eax
jne 0x4ad7af
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call fcn.004693bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x30]
call fcn.0046948c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebx + 0x10]
mov edx, 0x4ad84c
call fcn.00404254
setne al
cmp dword [ebp - 0xc], 0
setg dl
and al, dl
je 0x4ad740
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00469570
lea eax, [ebp - 0x140]
mov ecx, 0x4ad878
mov edx, dword [ebp - 0x20]
call fcn.00404190
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call fcn.004694f0
mov eax, dword [ebp - 0x1c]
call fcn.0040a6d4
call fcn.0040abe8
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x144]
call fcn.0040ca9c
mov eax, dword [ebp - 0x144]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x148]
call fcn.0040ca84
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
pop ecx
call fcn.00469630
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call fcn.00469734
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00438f3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
call fcn.004693f4
mov eax, dword [ebp - 4]
push eax
push fcn.004adaf4
mov eax, dword [ebp - 4]
call fcn.0041af44
jmp 0x4ad7cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x20], 0
jne 0x4ad7cb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
call fcn.004ad244
jmp 0x4ad7fc
mov eax, dword [ebp - 4]
inc dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4ad7fc
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040a418
mov edx, dword [ebp - 0x14c]
mov eax, ebx
call fcn.00439054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad83b
lea eax, [ebp - 0x14c]
mov edx, 4
call fcn.00403ee8
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00403ee8
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403ee8
ret