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

Disassembly:
push 0xffffffffffffffff
push 0x495248
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [esp + 0x94]
mov esi, dword [edi + 0x10]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp dword [edi + 0xc], esi
jbe 0x435fba
call fcn.0046767e
mov ebx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 0x10]
jbe 0x435fd1
call fcn.0046767e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push ebx
push edi
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00422820
mov esi, dword [esp + 0x18]
test esi, esi
je 0x43601d
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x435ff6
call fcn.0046767e
mov edi, dword [esi]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 0x10]
jbe 0x43600d
call fcn.0046767e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebx
push edi
push esi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00422820
xor ebx, ebx
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436037
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x30]
call fcn.00402210
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x88], ebx
cmp edi, ebx
jne 0x43607b
cmp dword [esp + 0x40], 8
jb 0x436074
mov edx, dword [esp + 0x2c]
push edx
call fcn.00443d03
add esp, 4
xor eax, eax
jmp 0x4362fc
cmp dword [esp + 0x9c], ebx
je 0x4360ad
mov ebp, dword [esp + 0x1c]
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436090
sub eax, edx
sar eax, 1
push eax
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0041f9f0
jmp 0x4360d5
mov esi, dword [esp + 0x1c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4360b6
sub eax, edx
sar eax, 1
push eax
push ebx
push esi
lea ecx, [esp + 0x34]
call fcn.00410070
mov ebp, dword [esp + 0x1c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4360de
mov esi, edi
push esi
push ebx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
call fcn.00419150
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
mov byte [esp + 0x8c], 1
call fcn.004165f0
cmp esi, dword [esp + 0x3c]
je 0x4362b6
cmp dword [esp + 0x9c], 0
je 0x4361c5
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4361be
cmp esi, dword [esp + 0x3c]
jbe 0x436135
call fcn.0046767e
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x436144
lea eax, [esp + 0x2c]
mov dx, word [eax + esi*2]
xor eax, eax
mov word [esp + 0x16], ax
mov dword [esp + 0x58], eax
xor ecx, ecx
lea eax, [esp + 0x14]
mov word [esp + 0x14], dx
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436170
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
call fcn.00402210
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov byte [esp + 0x8c], 2
call fcn.004165f0
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x88], 1
jb 0x4361be
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00443d03
add esp, 4
mov eax, 1
jmp 0x4361df
mov eax, ebp
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4361d0
sub eax, edx
sar eax, 1
cmp dword [esp + 0x9c], 0
lea edi, [eax + esi]
je 0x43623d
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x34]
call fcn.00419150
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436202
sub eax, edx
sar eax, 1
push eax
push 0
push ebp
lea ecx, [esp + 0x50]
call fcn.0041f9f0
mov esi, eax
cmp esi, 0xffffffff
je 0x436227
add esi, edi
cmp dword [esp + 0x5c], 8
jb 0x43625f
mov eax, dword [esp + 0x48]
push eax
call fcn.00443d03
add esp, 4
jmp 0x43625f
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436242
sub eax, edx
sar eax, 1
push eax
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.00410070
mov esi, eax
cmp esi, 0xffffffff
jne 0x436268
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x78], 8
mov byte [esp + 0x88], 0
jb 0x436284
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00443d03
add esp, 4
mov edx, esi
sub edx, edi
push edx
push edi
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
call fcn.00419150
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
mov byte [esp + 0x8c], 1
call fcn.004165f0
cmp esi, dword [esp + 0x3c]
jne 0x436110
mov edi, 8
cmp dword [esp + 0x78], edi
jb 0x4362ce
mov edx, dword [esp + 0x64]
push edx
call fcn.00443d03
add esp, 4
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [esp + 0x40], edi
jb 0x4362fa
mov eax, dword [esp + 0x2c]
push eax
call fcn.00443d03
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004673e3
add esp, 0x78
ret