Function at 0x43658c
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 [0x454120]
mov dword [esp + 0x24], esi
xor ecx, ecx
xor edx, edx
mov dword [esp + edx + 0x30], ecx
add edx, 4
cmp edx, 0x20
jb 0x4365a5
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 0x4365f2
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 [0x454120], 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 0x436a5f
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 0x43664c
mov edx, dword [esp + 0x14]
mov dword [0x454120], edx
movzx ecx, byte [0x44f97c]
movzx edi, byte [0x44f97d]
movzx edx, byte [0x44f97e]
mov dword [esp + 4], edx
movzx edx, byte [0x44f97f]
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 0x436701
mov dword [esp + ecx*4 + 0x30], ebx
add ecx, 1
cmp ecx, 8
je 0x43678d
mov ebx, dword [eax + ecx*8 + 4]
add ebx, dword [eax + ecx*8]
cmp ebp, ebx
jge 0x4366f1
mov dword [esp], 1
xor ecx, ecx
jmp 0x436723
mov dword [esp + ecx*4 + 0x30], ebx
add ecx, 1
cmp ecx, 4
je 0x436733
mov ebx, dword [esp + ecx*8 + 0x34]
add ebx, dword [esp + ecx*8 + 0x30]
cmp edi, ebx
jge 0x436717
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 0x436a4a
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x3c]
add ebx, dword [esp + 0x38]
cmp dword [esp + 4], ebx
jl 0x436a42
mov dword [esp + 0x34], ebx
add ecx, ebx
cmp dword [esp + 0x10], ecx
jl 0x43677a
mov ebx, dword [esp + 8]
mov dword [ebx], ecx
mov ecx, dword [esp]
test ecx, ecx
je 0x436799
add dword [esi], 1
mov ecx, eax
sar dword [ecx], 1
add ecx, 4
cmp edx, ecx
jne 0x43677f
jmp 0x4366ed
mov dword [esp], 0
jmp 0x436713
add edx, 0x40
add esi, 4
add dword [esp + 8], 4
cmp dword [esp + 0x14], esi
jne 0x4366e4
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
mov ecx, 0x44fa20
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 + 0x44fba0]
test edi, edi
jle 0x436833
xor eax, eax
mov dword [esp + 8], ebx
jmp 0x436817
movzx ebx, byte [ecx + 0x11]
add edx, ebx
add eax, 1
cmp edi, eax
je 0x43682f
mov ebx, dword [esi + eax*4]
test ebx, ebx
jg 0x43680a
mov ebx, dword [ebp + eax*4]
movzx ebx, byte [ecx + ebx]
add edx, ebx
add eax, 1
cmp edi, eax
jne 0x436817
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 0x4367f2
push 8
mov edx, dword [esp + 0x10]
add edx, 0x44fbb4
push edx
mov edi, dword [esp + 8]
push edi
push dword [esp + 0x70]
call fcn.00418c04
lea edx, [edi + edi]
add edx, edx
add edx, edx
add edx, edi
add edx, edx
lea eax, [edx + 0x44fae0]
mov dword [esp + 0x10], eax
add esp, 0x10
mov edi, dword [esp + 0x18]
test edi, edi
mov eax, dword [esp + 0x70]
jle 0x436a14
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 0x4368cf
push 8
push dword [esp + 4]
push dword [ebp]
push ebx
call fcn.00418c04
add esp, 0x10
add edi, 4
add ebp, 4
cmp dword [esp + 0x14], edi
je 0x43692a
mov esi, dword [edi]
test esi, esi
je 0x4368b1
push 8
push dword [esp + 4]
push 0x11
push ebx
call fcn.00418c04
add esp, 0x10
xor esi, esi
cmp dword [edi], 1
jle 0x43690b
push 8
push 0x44fb82
push 0x11
push ebx
call fcn.00418c04
add esi, 1
mov eax, dword [edi]
sub eax, 1
add esp, 0x10
cmp eax, esi
jg 0x4368ed
push 8
push 0x44fb82
push dword [ebp]
push ebx
call fcn.00418c04
add esp, 0x10
add edi, 4
add ebp, 4
cmp dword [esp + 0x14], edi
jne 0x4368cf
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 0x436959
push ebx
push dword [esp + 0x68]
call fcn.0043d290
pop eax
pop edx
add esi, 4
add ebx, 0x40
cmp ebp, esi
jne 0x436947
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 0x436990
add ecx, 0x10
add ebx, 4
cmp edx, ecx
je 0x436a10
mov ebp, dword [ebx]
test ebp, ebp
jle 0x436982
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 0x4369b9
neg ebx
movsx ebx, bl
mov eax, dword [esp + 4]
mov ebp, eax
test eax, eax
je 0x4369e2
push 8
push 0x44f978
mov eax, ebx
mov ecx, ebp
sar eax, cl
and eax, 1
push eax
push edi
call fcn.00418c04
add esp, 0x10
sub ebp, 1
jne 0x4369c3
push 8
push 0x44f978
and ebx, 1
push ebx
push edi
call fcn.00418c04
add esi, 1
add esp, 0x10
cmp dword [esp], esi
jne 0x4369ad
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp]
add ebx, 4
cmp edx, ecx
jne 0x436990
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.00436a70
mov eax, dword [esp + 0x3c]
mov dword [0x454120], 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 0x43677a
mov ebx, dword [esp + 8]
mov dword [ebx], ecx
jmp 0x43677a
mov edx, dword [esp + 0x14]
mov dword [0x454120], edx
jmp 0x4367b6