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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x34], ecx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x40], 0x92919097
mov dword [esp + 0x44], 0
mov dword [esp + 0x47], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xa
ja 0x4363fd
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x40]
lea edx, [eax - 0x691d083d]
add eax, 0xc3
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xab
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xb
jb 0x4363c0
mov eax, dword [esp + 0x40]
mov ecx, dword [0x446cdc]
test ecx, ecx
je 0x43645e
xor edx, edx
mov esi, dword [0x446ce0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x436430
inc edx
cmp ecx, edx
jne 0x436420
jmp 0x43645e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43645e
lea eax, [esp + 0x24]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x446ce4]
push ecx
call fcn.004378e0
add esp, 0x24
test eax, eax
js 0x436ada
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0x10000
jmp 0x4364c7
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
cmp eax, 0x7fffffff
jae 0x436a10
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0x92919097
lea eax, [esp + 0x14]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x43653d
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
lea esi, [eax - 0x691d083d]
add eax, 0xc3
and eax, edx
or esi, edx
sub esi, eax
mov dword [esp + 8], esi
mov eax, dword [esp + 8]
add al, 0xab
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x436500
mov eax, dword [esp + 0x10]
mov edx, dword [0x446cdc]
test edx, edx
je 0x4365a0
xor esi, esi
mov edi, dword [0x446ce0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x1a7c99fc
je 0x436570
inc esi
cmp edx, esi
jne 0x436560
jmp 0x4365a0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x4365a0
push 0
push 0x1c
lea eax, [esp + 0x48]
push eax
push 0
push dword [esp + 0x3c]
push ecx
push 6
push dword [0x446ce4]
push edx
call fcn.004378e0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x436a10
test eax, eax
js 0x4364b0
cmp dword [esp + 0x50], 0x1000
jne 0x4364b0
cmp dword [esp + 0x54], 1
je 0x4364b0
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x4c], eax
jbe 0x43679a
mov dword [esp + 0x10], 0x92919097
lea eax, [esp + 0x14]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x43664d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x691d083d]
add eax, 0xc3
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
add al, 0xab
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x436610
mov eax, dword [0x446cdc]
test eax, eax
je 0x4366aa
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x446ce0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x436680
inc edx
cmp eax, edx
jne 0x436670
jmp 0x4366aa
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4366aa
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x446ce4]
push eax
call fcn.004378e0
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0x92919097
lea eax, [esp + 0x14]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x43672d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x691d083d]
add eax, 0xc3
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
add al, 0xab
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x4366f0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x446cdc]
test ecx, ecx
je 0x43678e
xor edx, edx
mov esi, dword [0x446ce0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x436760
inc edx
cmp ecx, edx
jne 0x436750
jmp 0x43678e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43678e
push 4
push 0x3000
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x446ce4]
push ecx
call fcn.004378e0
add esp, 0x24
test eax, eax
js 0x436a10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x38]
call fcn.004361f0
cmp eax, 0xbfffffff
ja 0x4364b0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.00436af0
add esp, 0x18
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp esi, ecx
je 0x4364b0
mov eax, ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
mov edi, dword [ebx + 4]
mov dword [esp + 0x60], esi
mov edx, esi
mov esi, eax
mov dword [esp + 0x6c], eax
jmp 0x436831
mov eax, ebx
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x78]
mov dword [eax + edx*4], ebx
add edi, 4
mov dword [ecx + 4], edi
mov edx, dword [esp + 0x74]
add edx, 4
cmp edx, esi
je 0x4369ec
mov dword [esp + 0x74], edx
mov ebx, dword [edx]
sub ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
mov ecx, edi
mov ebx, dword [esp + 0x20]
sub ecx, ebx
mov edx, ecx
sar edx, 2
cmp edi, dword [esp + 0x28]
jne 0x436810
mov dword [esp + 0x30], ecx
shr ecx, 1
and ecx, 2
mov eax, edx
xor eax, 1
add eax, ecx
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x70], edx
add ecx, edx
cmp ecx, eax
ja 0x436876
mov ecx, eax
mov dword [esp + 0x28], ecx
lea eax, [ecx*4]
push eax
call fcn.00408e10
add esp, 4
mov edx, dword [esp + 0x20]
test edx, edx
mov ebx, dword [ebp + 8]
je 0x4369c6
cmp eax, edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
jbe 0x43695f
lea ecx, [edx + ebx]
cmp ecx, eax
jbe 0x43695f
test ebx, ebx
je 0x4369b3
mov edx, dword [esp + 0x20]
lea eax, [edx + ebx]
dec eax
mov ecx, dword [esp + 0x38]
add ecx, ebx
dec ecx
mov esi, edx
not esi
add esi, edi
and ebx, 7
je 0x4368f4
neg ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax + edi]
mov byte [ecx + edi], dl
dec edi
cmp ebx, edi
jne 0x4368e0
add eax, edi
add dword [esp + 0x30], edi
add ecx, edi
cmp esi, 7
mov edi, dword [esp + 0x30]
jb 0x4369b3
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
add edx, 0xfffffff8
cmp edi, edx
jne 0x436910
jmp 0x4369b3
mov esi, eax
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, eax
mov ecx, ebx
xor ecx, 0xfffffffc
mov eax, ebx
or eax, 3
and eax, ecx
mov ecx, eax
shr ecx, 1
mov edi, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], esi
mov edi, esi
mov esi, dword [esp + 0x68]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test bl, 1
je 0x4369b3
and eax, 0xfffffffe
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x64]
mov byte [edx + eax], cl
push dword [esp + 0x20]
call fcn.00408e20
add esp, 4
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov dword [ebx], eax
mov edx, dword [esp + 0x70]
lea edi, [eax + edx*4]
mov ecx, dword [esp + 0x28]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x28], ecx
mov dword [ebx + 8], ecx
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x6c]
mov ecx, ebx
jmp 0x436815
mov ebx, ecx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4364b0
cmp eax, esi
je 0x4364b0
push eax
call fcn.00408e20
add esp, 4
jmp 0x4364b0
mov dword [esp + 0x10], 0x92919097
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x436a7d
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x691d083d]
add eax, 0xc3
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
add al, 0xab
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x436a40
mov eax, dword [0x446cdc]
test eax, eax
je 0x436ada
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x446ce0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x436ab0
inc edx
cmp eax, edx
jne 0x436aa0
jmp 0x436ada
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x436ada
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x446ce4]
push eax
call fcn.004378e0
add esp, 0x1c
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10