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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x50
mov eax, dword [esp + 0x70]
mov esi, dword [0x4534ec]
mov dword [esp + 0x24], esi
xor ecx, ecx
xor edx, edx
mov dword [esp + edx + 0x30], ecx
add edx, 4
cmp edx, 0x20
jb 0x4365b5
mov esi, dword [esp + 0x74]
sar esi, 4
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x74]
and edi, 0xfffffff0
cmp edi, dword [esp + 0x74]
jge 0x436602
add dword [esp + 0x18], 1
mov edx, dword [esp + 0x74]
add edx, eax
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
add edi, 0x10
mov esi, dword [esp + 0x24]
mov edx, esi
neg edx
and edx, 3
lea ebx, [esi + edx]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x18]
mov edx, ebp
shl edx, 6
add edx, ebx
mov dword [0x4534ec], edx
mov ecx, edx
neg ecx
and ecx, 3
add edx, ecx
mov esi, edx
mov dword [esp + 0x1c], edx
lea edx, [ebp + ebp]
lea ecx, [edx + edx]
lea esi, [esi + ecx]
mov dword [esp + 0x28], esi
mov edx, esi
neg edx
and edx, 3
add esi, edx
lea edx, [esi + ecx]
mov dword [esp + 0x14], edx
test ebp, ebp
jle 0x436a6f
xor edx, edx
movzx ebp, byte [eax + edx]
mov ecx, ebp
neg cl
cmovs ecx, ebp
movzx ecx, cl
mov dword [ebx + edx*4], ecx
movzx ebp, byte [eax + edx + 1]
mov ecx, ebp
neg cl
cmovs ecx, ebp
movzx ecx, cl
mov dword [ebx + edx*4 + 4], ecx
movzx ebp, byte [eax + edx + 2]
mov ecx, ebp
neg cl
cmovs ecx, ebp
movzx ecx, cl
mov dword [ebx + edx*4 + 8], ecx
movzx ebp, byte [eax + edx + 3]
mov ecx, ebp
neg cl
cmovs ecx, ebp
movzx ecx, cl
mov dword [ebx + edx*4 + 0xc], ecx
add edx, 4
cmp edx, edi
jl 0x43665c
mov edx, dword [esp + 0x14]
mov dword [0x4534ec], edx
movzx ecx, byte [0x44f11c]
movzx edi, byte [0x44f11d]
movzx edx, byte [0x44f11e]
mov dword [esp + 4], edx
movzx edx, byte [0x44f11f]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
add edx, 0x40
mov ebx, dword [esp + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 0x2c], esi
mov ebp, ecx
mov dword [esp + 0x70], eax
lea eax, [edx - 0x40]
mov dword [esi], 0
xor ecx, ecx
jmp 0x436711
mov dword [esp + ecx*4 + 0x30], ebx
add ecx, 1
cmp ecx, 8
je 0x43679d
mov ebx, dword [eax + ecx*8 + 4]
add ebx, dword [eax + ecx*8]
cmp ebp, ebx
jge 0x436701
mov dword [esp], 1
xor ecx, ecx
jmp 0x436733
mov dword [esp + ecx*4 + 0x30], ebx
add ecx, 1
cmp ecx, 4
je 0x436743
mov ebx, dword [esp + ecx*8 + 0x34]
add ebx, dword [esp + ecx*8 + 0x30]
cmp edi, ebx
jge 0x436727
add dword [esp], 1
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x30]
add ecx, ebx
cmp dword [esp + 4], ecx
jl 0x436a5a
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x3c]
add ebx, dword [esp + 0x38]
cmp dword [esp + 4], ebx
jl 0x436a52
mov dword [esp + 0x34], ebx
add ecx, ebx
cmp dword [esp + 0x10], ecx
jl 0x43678a
mov ebx, dword [esp + 8]
mov dword [ebx], ecx
mov ecx, dword [esp]
test ecx, ecx
je 0x4367a9
add dword [esi], 1
mov ecx, eax
sar dword [ecx], 1
add ecx, 4
cmp edx, ecx
jne 0x43678f
jmp 0x4366fd
mov dword [esp], 0
jmp 0x436723
add edx, 0x40
add esi, 4
add dword [esp + 8], 4
cmp dword [esp + 0x14], esi
jne 0x4366f4
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
mov ecx, 0x44f1c0
mov edi, dword [esp + 0x68]
sar edi, 1
mov edx, dword [esp + 0x68]
and edx, 0xfffffffe
add edx, edx
add edx, edx
add edx, edi
mov dword [esp + 0xc], edx
mov ebx, bind
mov dword [esp], 0
xor edi, edi
mov dword [esp + 4], ebx
mov ebx, edi
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xc]
movzx edx, byte [eax + ebx + 0x44f340]
test edi, edi
jle 0x436843
xor eax, eax
mov dword [esp + 8], ebx
jmp 0x436827
movzx ebx, byte [ecx + 0x11]
add edx, ebx
add eax, 1
cmp edi, eax
je 0x43683f
mov ebx, dword [esi + eax*4]
test ebx, ebx
jg 0x43681a
mov ebx, dword [ebp + eax*4]
movzx ebx, byte [ecx + ebx]
add edx, ebx
add eax, 1
cmp edi, eax
jne 0x436827
mov ebx, dword [esp + 8]
mov eax, dword [esp + 4]
cmp eax, edx
cmovle edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp]
cmovg eax, ebx
mov dword [esp], eax
add ebx, 1
add ecx, 0x12
cmp ebx, 9
jne 0x436802
push 8
mov edx, dword [esp + 0x10]
add edx, 0x44f354
push edx
mov edi, dword [esp + 8]
push edi
push dword [esp + 0x70]
call fcn.00418c14
lea edx, [edi + edi]
add edx, edx
add edx, edx
add edx, edi
add edx, edx
lea eax, [edx + 0x44f280]
mov dword [esp + 0x10], eax
add esp, 0x10
mov edi, dword [esp + 0x18]
test edi, edi
mov eax, dword [esp + 0x70]
jle 0x436a24
mov edx, dword [esp + 0x1c]
mov edi, esi
mov ebp, edx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x70], eax
jmp 0x4368df
push 8
push dword [esp + 4]
push dword [ebp]
push ebx
call fcn.00418c14
add esp, 0x10
add edi, 4
add ebp, 4
cmp dword [esp + 0x14], edi
je 0x43693a
mov esi, dword [edi]
test esi, esi
je 0x4368c1
push 8
push dword [esp + 4]
push 0x11
push ebx
call fcn.00418c14
add esp, 0x10
xor esi, esi
cmp dword [edi], 1
jle 0x43691b
push 8
push 0x44f322
push 0x11
push ebx
call fcn.00418c14
add esi, 1
mov eax, dword [edi]
sub eax, 1
add esp, 0x10
cmp eax, esi
jg 0x4368fd
push 8
push 0x44f322
push dword [ebp]
push ebx
call fcn.00418c14
add esp, 0x10
add edi, 4
add ebp, 4
cmp dword [esp + 0x14], edi
jne 0x4368df
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x20]
mov dword [esp], esi
mov esi, ebx
mov ebx, edi
mov edi, eax
mov ebp, dword [esp + 0x28]
mov ecx, dword [esi]
test ecx, ecx
jle 0x436969
push ebx
push dword [esp + 0x68]
call fcn.0043d2a0
pop eax
pop edx
add esi, 4
add ebx, 0x40
cmp ebp, esi
jne 0x436957
mov esi, dword [esp]
mov eax, edi
mov ecx, edi
mov edx, dword [esp + 0x18]
shl edx, 4
lea edi, [edx + edi]
mov edx, edi
mov ebx, esi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x70], eax
jmp 0x4369a0
add ecx, 0x10
add ebx, 4
cmp edx, ecx
je 0x436a20
mov ebp, dword [ebx]
test ebp, ebp
jle 0x436992
lea eax, [ebp - 1]
mov dword [esp + 4], eax
mov esi, ecx
lea ecx, [ecx + 0x10]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], ecx
movsx ebx, byte [esi]
test bl, bl
jg 0x4369c9
neg ebx
movsx ebx, bl
mov eax, dword [esp + 4]
mov ebp, eax
test eax, eax
je 0x4369f2
push 8
push 0x44f118
mov eax, ebx
mov ecx, ebp
sar eax, cl
and eax, 1
push eax
push edi
call fcn.00418c14
add esp, 0x10
sub ebp, 1
jne 0x4369d3
push 8
push 0x44f118
and ebx, 1
push ebx
push edi
call fcn.00418c14
add esi, 1
add esp, 0x10
cmp dword [esp], esi
jne 0x4369bd
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp]
add ebx, 4
cmp edx, ecx
jne 0x4369a0
mov eax, dword [esp + 0x70]
push dword [esp + 0x1c]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x80]
push eax
push dword [esp + 0x78]
call fcn.00436a80
mov eax, dword [esp + 0x3c]
mov dword [0x4534ec], eax
add esp, 0x68
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0xc]
add ebx, ecx
mov ecx, ebx
cmp dword [esp + 0x10], ecx
jl 0x43678a
mov ebx, dword [esp + 8]
mov dword [ebx], ecx
jmp 0x43678a
mov edx, dword [esp + 0x14]
mov dword [0x4534ec], edx
jmp 0x4367c6