Function at 0x49526c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x495546
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x496c04
xor eax, eax
push ebp
push 0x4954ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov eax, dword [eax + 0x10]
call fcn.00408050
mov edx, dword [ebp - 0x30]
mov eax, 0x495560
call fcn.004045c0
test eax, eax
jle 0x4952fc
mov ecx, ebx
mov dl, 1
mov eax, dword [0x491aac]
call fcn.00491b3c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, dword [eax + 0x34]
mov eax, 0x495570
call fcn.00408130
test al, al
je 0x4953d6
mov ecx, ebx
mov dl, 1
mov eax, dword [0x47af90]
call fcn.0047b2e8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4953cf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x10], 0
jne 0x495347
cmp dword [ebp + 0xc], 0
jbe 0x495359
jmp 0x495349
jle 0x495359
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, esi
mov eax, dword [ebp - 0x24]
call fcn.0041b9a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00496bb8
mov eax, dword [ebp - 4]
call fcn.00478618
test al, al
je 0x495394
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x79], 1
jmp 0x49538b
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x14], 0
je 0x495380
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
jne 0x4953b9
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x24]
push dword [eax + 0x20]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov si, 0xffe6
call fcn.00403428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4954cc
mov eax, dword [ebp - 0x24]
call fcn.0040322c
ret
cmp dword [ebp + 0x10], 0
jne 0x4953e4
cmp dword [ebp + 0xc], 0
jbe 0x4953f5
jmp 0x4953e6
jle 0x4953f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b9a4
mov eax, dword [ebp - 4]
call fcn.0049569c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00496bb8
cmp dword [ebp - 0x14], 0
jne 0x495431
cmp dword [ebp - 0x18], 0
jae 0x495452
jmp 0x495433
jge 0x495452
mov eax, dword [ebp - 4]
call fcn.00478618
test al, al
je 0x4954a8
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x78], 1
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x4954a8
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
sbb edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
call fcn.00478618
test al, al
je 0x4954a8
jmp 0x49548b
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
sub eax, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jne 0x4954a6
cmp eax, dword [ebp - 0x18]
jb 0x495481
jmp 0x4954a8
jl 0x495481
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf0], 0
jne 0x4954cc
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov si, 0xffe6
call fcn.00403428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4954f4
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x28]
call fcn.0040322c
ret