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

Disassembly:
push ebx
sub esp, 0x18
call fcn.00436120
add dword [eax + 4], 1
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00436160
lea ebx, [eax + 0x40]
mov dword [eax], 1
mov dword [esp], ebx
call fcn.00415ca0
mov dword [esp], ebx
call fcn.00435f00
call fcn.004380ec
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
cmp ecx, 1
jne 0x436370
add eax, 0xbcd4d500
adc edx, 0xb8b1aabc
mov dword [esp + 0x20], eax
cmp ecx, eax
mov eax, 0
sbb eax, edx
mov dword [esp + 0x24], edx
setae byte [esp + 0x1c]
cmp dword [esp + 0xb4], 6
movzx ecx, byte [esp + 0x1c]
sete al
and al, cl
mov byte [esp + 0x45], al
je 0x436380
mov eax, dword [esp + 0xc0]
mov ebx, dword [eax - 0xc]
test ebx, ebx
je 0x43654f
mov eax, dword [esp + 0xc0]
mov ebp, dword [eax - 0x18]
mov eax, dword [eax - 0x10]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
test eax, eax
js 0x43676a
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.00415ab0
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], ebp
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00415ab0
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00415b30
add esp, 0x9c
mov eax, 7
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 3
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.00415b40
mov dword [esp + 0x30], eax
mov edx, eax
test eax, eax
je 0x436566
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x78]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 0
call fcn.00424060
mov edx, dword [esp + 0xc4]
movq xmm0, qword [esp + 0x84]
mov ebx, eax
movzx eax, byte [esp + 0x8c]
movq qword [esp + 0x58], xmm0
mov esi, dword [esp + 0x5c]
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x18], esi
mov byte [esp + 0x46], al
mov dword [esp + 0x34], eax
call fcn.00424260
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.00415b10
cmp dword [esp + 0x68], 1
sbb eax, 0
cmp ebx, esi
jae 0x4364e6
mov edi, dword [esp + 0x78]
movzx esi, byte [esp + 0x8d]
mov dword [esp + 0x14], edi
mov edi, eax
lea esi, [esi]
xor edx, edx
mov eax, esi
xor ebp, ebp
call fcn.00424260
mov ecx, ebx
mov edx, eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov eax, esi
call fcn.00424320
xor edx, edx
mov ebx, eax
mov eax, esi
call fcn.00424260
mov ecx, ebx
mov edx, eax
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, esi
call fcn.00424320
xor edx, edx
mov ebx, eax
mov eax, esi
call fcn.00424260
mov ecx, ebx
mov edx, eax
lea eax, [esp + 0x74]
mov dword [esp], eax
mov eax, esi
call fcn.00424320
xor ecx, ecx
mov ebx, eax
lea esi, cs:[esi]
lea esi, cs:[esi]
lea esi, cs:[esi]
movzx edx, byte [ebx]
add ebx, 1
mov eax, edx
and eax, 0x7f
shl eax, cl
add ecx, 7
or ebp, eax
test dl, dl
js 0x4364c0
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x6c]
cmp edi, eax
jae 0x436570
test byte [esp + 0xb4], 1
je 0x436528
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x20]
mov eax, 1
mov ebp, dword [esp + 0x24]
cmp eax, edi
mov eax, 0
sbb eax, ebp
jae 0x436738
mov eax, 6
jmp 0x436375
mov eax, dword [esp + 0xb4]
and eax, 8
jne 0x43801d
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, 1
cmp edx, edi
sbb eax, ebp
jb 0x43801d
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.004388f0
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x436590
mov eax, 8
jmp 0x436375
add eax, dword [esp + 0x70]
cmp edi, eax
jb 0x43655e
mov eax, dword [esp + 0x18]
cmp ebx, eax
jb 0x436450
jmp 0x4364e6
add eax, dword [esp + 0x7c]
mov ebx, eax
test ebp, ebp
je 0x4368ca
test eax, eax
je 0x436566
mov eax, dword [esp + 0x28]
movq xmm2, qword [esp + 0x28]
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
movq qword [esp + 0x50], xmm2
lea eax, [eax + ebp - 1]
mov dword [esp + 0x14], eax
and esi, 8
jne 0x4368d3
mov edi, dword [esp + 0x20]
mov eax, 1
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], 0x43f5b8
mov edx, 1
cmp eax, edi
mov eax, esi
sbb eax, ebp
jae 0x436968
mov eax, esi
mov dword [esp + 0x4c], esi
shr eax, 3
mov dword [esp + 0x48], ebx
xor eax, 1
and al, byte [esp + 0x1c]
and eax, edx
mov byte [esp + 0x47], al
lea esi, cs:[esi]
lea esi, [esi]
mov ebx, dword [esp + 0x14]
xor ebp, ebp
xor ecx, ecx
jmp 0x436640
movzx edx, byte [ebx]
add ebx, 1
mov eax, edx
and eax, 0x7f
shl eax, cl
add ecx, 7
or ebp, eax
test dl, dl
js 0x436640
cmp ecx, 0x1f
ja 0x43666b
and edx, 0x40
je 0x43666b
mov eax, 1
shl eax, cl
neg eax
or ebp, eax
mov dword [esp + 0x18], ebp
mov edx, ebx
xor esi, esi
xor ecx, ecx
mov edi, ebx
lea esi, cs:[esi]
nop
movzx ebx, byte [edx]
add edx, 1
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test bl, bl
js 0x436680
mov eax, edi
mov edi, ebx
mov ebx, eax
cmp ecx, 0x1f
ja 0x4367c0
and edi, 0x40
je 0x4367c0
mov eax, 1
shl eax, cl
neg eax
or esi, eax
test ebp, ebp
je 0x436878
cmp dword [esp + 0xb4], 2
je 0x43672c
test ebp, ebp
jg 0x4367ea
cmp byte [esp + 0x47], 0
jne 0x4368f0
mov eax, dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x1c], esi
xor edi, edi
not edx
xor ecx, ecx
mov esi, ebx
add edx, eax
lea esi, cs:[esi]
lea esi, [esi]
movzx ebx, byte [edx]
add edx, 1
mov eax, ebx
and eax, 0x7f
shl eax, cl
add ecx, 7
or edi, eax
test bl, bl
js 0x436700
mov ebx, esi
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x436996
test esi, esi
je 0x4368a6
lea eax, [ebx + esi]
mov dword [esp + 0x14], eax
jmp 0x436620
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0x18]
mov dword [eax - 0x18], edi
mov edi, dword [esp + 0x14]
mov dword [eax - 0x14], edi
mov edi, dword [esp + 0x30]
mov dword [eax - 0x10], edi
mov edi, dword [esp + 0xc0]
mov eax, dword [esp + 0x64]
mov dword [edi - 0xc], ebx
mov dword [edi - 8], eax
jmp 0x43651e
movzx eax, byte [esp + 0x46]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x78]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0xc4]
call fcn.00424060
movzx esi, byte [esp + 0x8c]
mov edx, dword [esp + 0xc4]
mov eax, esi
call fcn.00424260
mov edx, dword [esp + 0xc4]
mov eax, esi
call fcn.00424260
mov edi, dword [esp + 0xc0]
mov dword [edi - 0xc], eax
jmp 0x436308
test ebp, ebp
je 0x4367e0
cmp dword [esp + 0xb4], 2
jne 0x4366cb
jmp 0x436724
mov byte [esp + 0x45], 1
jmp 0x436724
movzx eax, byte [esp + 0x46]
cmp al, 0xff
je 0x43689d
and eax, 7
cmp al, 2
je 0x436891
jbe 0x4368e5
cmp al, 3
je 0x436882
cmp al, 4
jne 0x4369b2
mov ecx, dword [esp + 0x3c]
lea eax, [ebp*8]
sub ecx, eax
lea eax, [esp + 0x74]
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call fcn.00424320
mov eax, dword [esp + 0x74]
test eax, eax
je 0x43685a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x436724
lea ecx, [esp + 0x64]
call fcn.00423ff0
test al, al
je 0x436724
mov ebx, dword [esp + 0x48]
test byte [esp + 0xb4], 1
jne 0x436502
jmp 0x436308
mov byte [esp + 0x45], 1
jmp 0x43672c
mov ecx, dword [esp + 0x3c]
lea eax, [ebp*4]
sub ecx, eax
jmp 0x436821
mov ecx, dword [esp + 0x3c]
lea eax, [ebp + ebp]
sub ecx, eax
jmp 0x436821
mov ecx, dword [esp + 0x3c]
jmp 0x436821
cmp byte [esp + 0x45], 0
mov ebx, dword [esp + 0x48]
je 0x436566
test byte [esp + 0xb4], 1
jne 0x436566
xor ebp, ebp
jmp 0x436308
test eax, eax
jne 0x4368b5
jmp 0x436566
mov dword [esp + 0x40], 0x43f5a4
mov edx, 1
jmp 0x4365f8
test al, al
je 0x436882
jmp 0x438018
movzx eax, byte [esp + 0x46]
movq xmm3, qword [esp + 0x28]
mov dword [esp], ebp
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov byte [esp + 0x8c], al
lea eax, [esp + 0x78]
movq qword [esp + 0x84], xmm3
call fcn.00424160
test al, al
jne 0x436724
mov ebx, dword [esp + 0x48]
test byte [esp + 0xb4], 1
jne 0x436738
mov esi, dword [esp + 0x20]
mov eax, 1
mov edi, dword [esp + 0x24]
cmp eax, esi
mov eax, 0
sbb eax, edi
jae 0x4362fc
test ebp, ebp
je 0x436308
jmp 0x438022
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0xc0]
add eax, 0x20
test byte [edi], 1
je 0x436981
mov eax, dword [edi - 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [eax - 0x50]
test eax, eax
mov dword [esp + 0x40], eax
setne dl
jmp 0x4365f8
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
test byte [esp + 0xb4], 1
jne 0x436502
test esi, esi
jne 0x436955
jmp 0x436939
jmp 0x438018