Function at 0x4e4b58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e4f2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004e2be0
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x4e4f04
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x41d0dc]
call fcn.00403444
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x41d0dc]
call fcn.00403444
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.0042bc48
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0042bd90
mov eax, dword [ebp - 0x28]
call fcn.004e26b4
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1d0]
mov edx, dword [edx + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov al, byte [eax + 0x18]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x190]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e4ec1
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
call fcn.00447a38
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x190]
cmp esi, eax
jg 0x4e4ec1
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x2c], 0
jne 0x4e4cc7
mov eax, dword [ebp - 0x28]
call fcn.004e26b4
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d0]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov al, byte [eax + 0x18]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1a8]
call fcn.004e1c44
lea ecx, [ebp - 0x1d]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c8]
call fcn.004e214c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x19], 0
je 0x4e4db4
mov eax, dword [ebp - 4]
call fcn.004479e4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x190]
add edx, edx
sub eax, edx
cmp edi, eax
jle 0x4e4db4
mov eax, dword [ebp - 4]
call fcn.004479e4
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, eax
sub ebx, eax
mov eax, dword [ebp - 0x1c]
call fcn.00404608
imul ebx, eax
mov eax, ebx
cdq
idiv edi
mov ebx, eax
jmp 0x4e4d64
dec ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.00404868
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004479e4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x190]
add edx, edx
sub eax, edx
cmp edi, eax
jg 0x4e4d63
push ebx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e32e0
jmp 0x4e4dd4
cmp dword [ebp - 0x1c], 0
je 0x4e4dc7
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4e4dd4
mov edx, 0x4e4f44
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4e4eb5
inc ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x34]
mov ecx, 0x4e4f44
mov edx, dword [ebp - 0x1c]
call fcn.00404654
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
mov al, byte [ebp - 0x1d]
sub al, 1
jb 0x4e4e43
je 0x4e4e61
dec al
je 0x4e4e4e
jmp 0x4e4e76
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
jmp 0x4e4e78
mov eax, dword [ebp - 4]
call fcn.004479e4
sub eax, edi
sar eax, 1
jns 0x4e4e78
adc eax, 0
jmp 0x4e4e78
mov eax, dword [ebp - 4]
call fcn.004479e4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x190]
sub eax, edi
jmp 0x4e4e78
xor eax, eax
mov edx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x168]
mov ecx, esi
xchg edx, eax
call fcn.004e0554
mov eax, dword [ebp - 0x28]
fild word [eax + 0x2e]
fdiv dword [0x4e4f48]
fadd dword [0x4e4f4c]
fild dword [ebp - 0x24]
fmulp st(1)
call fcn.00402bb0
add esi, eax
inc dword [ebp - 0x10]
dec ebx
jne 0x4e4def
inc dword [ebp - 0xc]
dec dword [ebp - 0x2c]
jne 0x4e4c5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d0]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4f0b
mov eax, dword [ebp - 0x14]
call fcn.00403474
mov eax, dword [ebp - 0x18]
call fcn.00403474
mov eax, dword [ebp - 4]
call fcn.004e2be8
ret