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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
cmp eax, dword [ecx + 8]
jle 0x436afb
mov eax, dword [ebp + 8]
lea edx, [eax + eax*8]
add edx, edx
add edx, edx
add edx, edx
sub edx, eax
add edx, edx
add edx, edx
push 0
push edx
call fcn.00441d7c
mov dword [ebp - 0x50], eax
add esp, 8
test eax, eax
mov dword [ebp - 0x30], eax
je 0x436f50
mov dword [ebp - 4], 0
mov esi, eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x436bf4
mov eax, 2
dec eax
jne 0x436af6
jmp 0x436b37
mov eax, ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 8]
mov ecx, edx
push eax
call fcn.00436fb0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x5c]
mov dword [edx + 8], eax
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x54]
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, 2
dec eax
jne 0x436b3c
mov edi, esi
xor eax, eax
mov ecx, 0x47
rep stosd dword es:[edi], eax
mov edx, 0xffffffff
mov eax, 1
lea ecx, [esi + 0x100]
mov dword [esi + 4], edx
mov dword [esi + 8], 0xfff
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
mov byte [esi + 0x59], al
mov byte [esi + 0xad], al
mov dword [esi + 0x3c], edx
lea eax, [ebp - 0x20]
mov dword [esi + 0x38], edx
lea edx, [ebp - 0x2c]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [ebp - 0x2c], 0xc1200000
mov dword [ebp - 0x28], 0xc1200000
mov dword [ebp - 0x24], 0xc1200000
mov dword [ebp - 0x20], 0x41200000
mov dword [ebp - 0x1c], 0x41200000
mov dword [ebp - 0x18], 0x41200000
push eax
push edx
call fcn.00436f5c
mov dword [esi + 0x118], 0
add esi, 0x11c
dec ebx
jne 0x436af1
mov dword [ebp - 4], 0xffffffff
push 0
push 0x14
call fcn.00441d7c
mov dword [ebp - 0x4c], eax
add esp, 8
test eax, eax
mov dword [ebp - 0x14], eax
je 0x436f46
mov dword [ebp - 4], 1
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00436f88
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x40], eax
test ecx, ecx
jle 0x436f06
mov eax, dword [ebp - 0x40]
lea esi, [eax + eax*8]
add esi, esi
add esi, esi
add esi, esi
sub esi, eax
mov dword [ebp - 0x44], esi
lea eax, [esi + esi]
add eax, eax
mov ebx, dword [ebp - 0x50]
lea edi, [ebx + eax]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], edi
mov ecx, dword [edx]
add eax, ecx
mov dword [ebp - 0x38], ecx
mov edx, dword [ecx + esi*4]
mov dword [ebx + esi*4], edx
mov edx, dword [ecx + esi*4 + 4]
mov dword [ebx + esi*4 + 4], edx
mov edx, dword [ecx + esi*4 + 8]
mov dword [ebx + esi*4 + 8], edx
mov edx, dword [ecx + esi*4 + 0xc]
mov dword [ebx + esi*4 + 0xc], edx
mov edx, dword [ecx + esi*4 + 0x10]
mov dword [ebx + esi*4 + 0x10], edx
mov edx, dword [ecx + esi*4 + 0x14]
mov dword [ebx + esi*4 + 0x14], edx
mov edx, dword [ecx + esi*4 + 0x18]
mov dword [ebx + esi*4 + 0x18], edx
mov edx, dword [ecx + esi*4 + 0x1c]
mov dword [ebx + esi*4 + 0x1c], edx
mov edx, dword [ecx + esi*4 + 0x20]
mov dword [ebx + esi*4 + 0x20], edx
mov edx, dword [ecx + esi*4 + 0x24]
mov dword [ebx + esi*4 + 0x24], edx
mov edx, dword [ecx + esi*4 + 0x28]
mov dword [ebx + esi*4 + 0x28], edx
mov edx, dword [ecx + esi*4 + 0x2c]
mov dword [ebx + esi*4 + 0x2c], edx
mov edx, dword [ecx + esi*4 + 0x30]
mov dword [ebx + esi*4 + 0x30], edx
mov edx, dword [ecx + esi*4 + 0x34]
mov dword [ebx + esi*4 + 0x34], edx
lea edx, [ebx + esi*4 + 0x38]
lea ebx, [ecx + esi*4 + 0x38]
mov ecx, dword [ebx]
mov dword [edx], ecx
mov ecx, dword [ebx + 4]
mov dword [edx + 4], ecx
mov ebx, edi
lea ecx, [ebx + 0x40]
mov edi, esi
mov esi, dword [ebp - 0x38]
lea edx, [esi + edi*4 + 0x40]
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [edx + 0xc]
mov dword [ecx + 0xc], ebx
mov ebx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edx
xor edx, edx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x34]
lea ecx, [edx + edx]
add ecx, ecx
sub ecx, edx
add ecx, ecx
add ecx, ecx
lea edi, [ecx + ecx]
add edi, edi
add edi, edi
sub edi, ecx
mov bl, byte [edi + eax + 0x58]
mov esi, dword [ebp - 0x3c]
mov byte [esi + edi + 0x58], bl
mov dl, byte [edi + eax + 0x59]
mov byte [esi + edi + 0x59], dl
mov dl, byte [edi + eax + 0x5a]
mov byte [esi + edi + 0x5a], dl
mov dl, byte [edi + eax + 0x5b]
mov byte [esi + edi + 0x5b], dl
mov edx, dword [edi + eax + 0x5c]
mov dword [esi + edi + 0x5c], edx
mov edx, dword [edi + eax + 0x60]
mov dword [esi + edi + 0x60], edx
mov edx, dword [edi + eax + 0x64]
mov dword [esi + edi + 0x64], edx
mov edx, dword [edi + eax + 0x68]
mov dword [esi + edi + 0x68], edx
mov edx, dword [edi + eax + 0x6c]
mov dword [esi + edi + 0x6c], edx
mov edx, dword [edi + eax + 0x70]
mov dword [esi + edi + 0x70], edx
mov edx, dword [edi + eax + 0x74]
mov dword [esi + edi + 0x74], edx
mov edx, dword [edi + eax + 0x78]
mov dword [esi + edi + 0x78], edx
mov edx, dword [edi + eax + 0x7c]
mov dword [esi + edi + 0x7c], edx
mov edx, dword [edi + eax + 0x80]
mov dword [esi + edi + 0x80], edx
mov edx, dword [edi + eax + 0x84]
mov dword [esi + edi + 0x84], edx
mov edx, dword [edi + eax + 0x88]
mov dword [esi + edi + 0x88], edx
mov edx, dword [edi + eax + 0x8c]
mov dword [esi + edi + 0x8c], edx
mov edx, dword [edi + eax + 0x90]
mov dword [esi + edi + 0x90], edx
mov edx, dword [edi + eax + 0x94]
mov dword [esi + edi + 0x94], edx
mov edx, dword [edi + eax + 0x98]
mov dword [esi + edi + 0x98], edx
mov edx, dword [edi + eax + 0x9c]
mov dword [esi + edi + 0x9c], edx
mov edx, dword [edi + eax + 0xa0]
mov dword [esi + edi + 0xa0], edx
mov edx, dword [edi + eax + 0xa4]
mov dword [esi + edi + 0xa4], edx
mov edx, dword [edi + eax + 0xa8]
mov dword [esi + edi + 0xa8], edx
mov edx, dword [ebp - 0x34]
inc edx
mov dword [ebp - 0x34], edx
cmp edx, 2
jb 0x436d22
mov eax, esi
lea ecx, [eax + 0x100]
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
lea esi, [edx + ebx*4 + 0x100]
push esi
call fcn.004224b4
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x38]
mov eax, dword [esi + ebx*4 + 0x118]
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x118], eax
mov eax, dword [edi + 4]
mov esi, ecx
sar esi, 5
mov eax, dword [eax]
mov ebx, dword [eax + esi*4]
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax + 4]
shr ebx, cl
and ebx, 1
cmp ecx, edi
jle 0x436eb7
mov eax, 0x55555556
mov ecx, dword [ebp - 0x4c]
imul edi
sar edi, 0x1f
sub edx, edi
inc edx
push edx
call fcn.00436fb0
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx]
mov eax, 1
mov ecx, dword [ebp - 0x40]
shl eax, cl
test ebx, ebx
je 0x436ede
mov ecx, dword [edx + esi*4]
test eax, ecx
jne 0x436ef3
or ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + esi*4], ecx
inc dword [eax + 0xc]
jmp 0x436ef3
mov ecx, dword [edx + esi*4]
test eax, ecx
je 0x436ef3
xor eax, 0xffffffff
and ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + esi*4], ecx
dec dword [eax + 0xc]
mov eax, dword [ebp - 0x40]
inc eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
cmp eax, dword [edx + 8]
jl 0x436c44
mov eax, edx
mov eax, dword [eax]
test eax, eax
je 0x436f20
je 0x436f17
push eax
call fcn.00441db4
pop ecx
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x436f33
je 0x436f33
push 1
call fcn.00432734
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x436b03
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x436c2a
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x436bf4