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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4928b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4934a0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x4934a0
mov eax, dword [ebp - 8]
call fcn.00491764
test eax, eax
je 0x4934a0
xor eax, eax
mov dword [ebx + 0xe0], eax
xor eax, eax
mov dword [ebx + 0xe4], eax
mov byte [ebx + 0xe8], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041c89c
lea esi, [ebp - 0x34]
lea edi, [ebx + 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041c89c
lea esi, [ebp - 0x34]
lea edi, [ebx + 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x493107
mov eax, dword [eax + 0x34]
add eax, 2
mov dword [ebp - 0x18], eax
jmp 0x49310c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x493128
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x30]
add eax, 2
mov dword [ebp - 0x1c], eax
jmp 0x493131
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x493151
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x30]
cdq
idiv dword [ebx + 0x68]
add eax, 2
mov dword [ebp - 0x20], eax
jmp 0x493156
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x49316f
mov eax, dword [ebx + 0x60]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x24], eax
jmp 0x493174
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x493357
inc edi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0041dd80
mov esi, eax
cmp byte [esi + 0x1e], 0
je 0x49334d
mov eax, esi
call fcn.0049176c
test al, al
je 0x4931c7
mov eax, dword [ebx + 0xe4]
add eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebx + 0xe4], eax
jmp 0x4931f4
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
jne 0x4931e3
mov eax, dword [ebx + 0xe4]
add eax, dword [ebx + 0x74]
add eax, 2
mov dword [ebx + 0xe4], eax
jmp 0x4931f4
mov edx, dword [ebx + 0xe4]
add edx, eax
add edx, 2
mov dword [ebx + 0xe4], edx
cmp dword [esi + 8], 0
je 0x4932ba
cmp byte [esi + 0x1d], 0
jne 0x49321c
mov eax, dword [ebx + 0x1a4]
call fcn.00433070
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x44]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x493290
cmp esi, dword [ebx + 0x1dc]
jne 0x49323c
mov eax, dword [ebx + 0x1a4]
call fcn.00433070
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x493290
cmp esi, dword [ebx + 0x1e0]
jne 0x49325c
mov eax, dword [ebx + 0x1a4]
call fcn.00433070
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x40]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x493290
cmp byte [esi + 0x21], 0
je 0x49327a
mov eax, dword [ebx + 0x1a4]
call fcn.00433070
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x48]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x493290
mov eax, dword [ebx + 0x1a4]
call fcn.00433070
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x1a4]
call fcn.00433070
lea ecx, [ebp - 0x3c]
mov edx, dword [esi + 8]
call fcn.0042e3a8
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
jmp 0x4932cd
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
cmp word [esi + 0x28], 0
je 0x493307
lea edx, [ebp - 4]
movzx eax, word [esi + 0x28]
call fcn.00453be4
mov eax, dword [ebx + 0x1a4]
call fcn.00433070
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 4]
call fcn.0042e3a8
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
jmp 0x493317
xor eax, eax
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x48], 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 2
add edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.00491764
test eax, eax
jle 0x493339
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebp - 0x10]
jge 0x49334d
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xe0], eax
inc dword [ebp - 0xc]
dec edi
jne 0x49318e
mov eax, dword [ebx + 0x94]
add eax, eax
add dword [ebx + 0xe0], eax
mov esi, dword [ebx + 0x94]
add esi, esi
add esi, dword [ebx + 0xe4]
add esi, 2
mov dword [ebx + 0xe4], esi
mov eax, dword [0x519828]
mov eax, dword [eax]
call fcn.00480f8c
cmp esi, eax
jle 0x4934a0
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4934a0
mov eax, dword [0x519828]
mov eax, dword [eax]
call fcn.00480f8c
sub eax, 0x14
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x24]
add eax, eax
add dword [ebx + 0xe4], eax
mov byte [ebx + 0xe8], 1
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 6
cdq
idiv ecx
mov esi, dword [ebx + 0xe0]
sub esi, eax
sar esi, 1
jns 0x4933f4
adc esi, 0
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebx + 0x94]
add edx, 2
add eax, edx
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 6
cdq
idiv ecx
mov ecx, eax
add ecx, esi
mov edx, dword [ebx + 0x94]
add edx, 2
mov eax, esi
call fcn.0041c89c
push esi
lea esi, [ebp - 0x34]
lea edi, [ebx + 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0xe4]
sub eax, dword [ebx + 0x94]
sub eax, 2
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, 6
cdq
idiv ecx
add eax, esi
push eax
mov eax, dword [ebx + 0x170]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebx + 0xe4]
sub edx, dword [ebx + 0x94]
sub edx, eax
sub edx, 2
mov eax, esi
pop ecx
call fcn.0041c89c
lea esi, [ebp - 0x34]
lea edi, [ebx + 0x104]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4928bd
lea eax, [ebp - 4]
call fcn.00406924
ret