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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d4460
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x51e494]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x51e494]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
push dword [ebx + 0xf8]
call dword [0x4e549c]
test eax, eax
jne 0x435e10
xor al, al
jmp 0x43616a
xor esi, esi
cmp dword [ebx + 0x118], esi
jne 0x435e22
cmp dword [ebx + 0x11c], esi
je 0x435e09
push dword [ebx + 0xf8]
lea eax, [esp + 0x14]
push eax
call fcn.0040bf55
mov dword [esp + 0x90], esi
xor eax, eax
mov dword [esp + 0x34], esi
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push dword [ebx + 0xf8]
call dword [0x4e547c]
test byte [ebx + 0x14c], 1
lea edi, [ebx + 0x12c]
mov dword [esp + 0x24], edi
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x436156
mov eax, dword [ebx + 0x148]
shr eax, 4
test al, 1
je 0x436080
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
lea ecx, [ebx + 0xf4]
push eax
call fcn.004364b2
push dword [ebx + 0x128]
push dword [esp + 0x14]
call dword [0x4e5134]
mov ecx, dword [ebx + 0x148]
lea esi, [esp + 0x34]
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], eax
mov eax, 0x100
and ecx, eax
sub ecx, eax
neg ecx
movsd dword es:[edi], dword [esi]
sbb ecx, ecx
and ecx, 0xfffffff0
movsd dword es:[edi], dword [esi]
add ecx, 0x20
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], ecx
movsd dword es:[edi], dword [esi]
je 0x435f28
or ecx, 0x400
push ecx
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x20]
call dword [0x4e55f0]
push dword [ebx + 0x124]
push dword [esp + 0x14]
call dword [0x4e5134]
lea esi, [esp + 0x34]
lea edi, [esp + 0x44]
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 esi, esi
cmp dword [esp + 0x28], esi
je 0x435f54
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
or eax, 0x400
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [0x4e55f0]
cmp dword [ebx + 0x154], 0xffffffff
jne 0x436061
cmp dword [esp + 0x18], esi
je 0x436061
lea eax, [ebx + 0xf4]
push eax
call fcn.004363b0
push dword [esp + 0x18]
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.00404ddb
mov byte [esp + 0x90], 1
mov dword [ebx + 0x154], esi
mov esi, 0x4edd10
push esi
call fcn.004af3ed
pop ecx
push eax
xor ecx, ecx
push esi
inc ecx
lea eax, [esp + 0x6c]
call fcn.00419d74
mov edi, eax
cmp edi, 0xffffffff
je 0x43601c
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push edi
push dword [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x54]
call fcn.00436287
test al, al
jne 0x436017
lea eax, [edi + 1]
push eax
mov dword [ebx + 0x154], eax
push esi
lea eax, [esp + 0x6c]
push eax
call fcn.00419c30
mov edi, eax
cmp edi, 0xffffffff
jne 0x435fd8
cmp edi, 0xffffffff
jne 0x43604c
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push dword [esp + 0x7c]
lea ecx, [esp + 0x3c]
push dword [esp + 0x20]
lea edx, [esp + 0x50]
push eax
mov eax, dword [esp + 0x3c]
call fcn.00436287
test al, al
jne 0x43604c
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x154], eax
mov byte [esp + 0x90], 0
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.00404194
push dword [esp + 0x20]
push dword [esp + 0x14]
call dword [0x4e5134]
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x436156
mov eax, dword [ebx + 0x124]
xor esi, esi
mov dword [esp + 0x1c], esi
cmp eax, esi
je 0x43609f
push eax
push dword [esp + 0x14]
call dword [0x4e5134]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x118]
cmp eax, esi
jne 0x4360af
mov eax, dword [ebx + 0x11c]
push 0xfffffffffffffff0
push dword [ebx + 0xf8]
mov dword [esp + 0x14], eax
call dword [0x4e5470]
mov edi, eax
xor ecx, ecx
and edi, 1
mov dword [esp + 0x20], eax
je 0x4360d1
inc ecx
jmp 0x4360d8
test al, 2
je 0x4360d8
push 2
pop ecx
mov edx, dword [ebx + 0x148]
mov eax, 0x100
and edx, eax
sub edx, eax
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x20
or ecx, edx
or ecx, 0x400
push ecx
push dword [esp + 0x28]
push 0xffffffffffffffff
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [0x4e55f0]
cmp dword [ebx + 0x124], esi
je 0x436124
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [0x4e5134]
cmp edi, esi
je 0x436139
mov eax, dword [esp + 0x3c]
sub eax, dword [ebx + 0x134]
cdq
sub eax, edx
sar eax, 1
jmp 0x43614a
test byte [esp + 0x20], 2
je 0x436156
mov eax, dword [esp + 0x3c]
sub eax, dword [ebx + 0x134]
push esi
push eax
push dword [esp + 0x2c]
call dword [0x4e565c]
or dword [esp + 0x90], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.0040bf17
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004ada4b
mov esp, ebp
pop ebp
ret