Function at 0x4360cc
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 [0x4520e4]
mov dword [esp + 0x24], esi
xor ecx, ecx
xor edx, edx
mov dword [esp + edx + 0x30], ecx
add edx, 4
cmp edx, 0x20
jb 0x4360e5
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 0x436132
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 [0x4520e4], 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 0x43659f
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 0x43618c
mov edx, dword [esp + 0x14]
mov dword [0x4520e4], edx
movzx ecx, byte [0x45039c]
movzx edi, byte [0x45039d]
movzx edx, byte [0x45039e]
mov dword [esp + 4], edx
movzx edx, byte [0x45039f]
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 0x436241
mov dword [esp + ecx*4 + 0x30], ebx
add ecx, 1
cmp ecx, 8
je 0x4362cd
mov ebx, dword [eax + ecx*8 + 4]
add ebx, dword [eax + ecx*8]
cmp ebp, ebx
jge 0x436231
mov dword [esp], 1
xor ecx, ecx
jmp 0x436263
mov dword [esp + ecx*4 + 0x30], ebx
add ecx, 1
cmp ecx, 4
je 0x436273
mov ebx, dword [esp + ecx*8 + 0x34]
add ebx, dword [esp + ecx*8 + 0x30]
cmp edi, ebx
jge 0x436257
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 0x43658a
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x3c]
add ebx, dword [esp + 0x38]
cmp dword [esp + 4], ebx
jl 0x436582
mov dword [esp + 0x34], ebx
add ecx, ebx
cmp dword [esp + 0x10], ecx
jl 0x4362ba
mov ebx, dword [esp + 8]
mov dword [ebx], ecx
mov ecx, dword [esp]
test ecx, ecx
je 0x4362d9
add dword [esi], 1
mov ecx, eax
sar dword [ecx], 1
add ecx, 4
cmp edx, ecx
jne 0x4362bf
jmp 0x43622d
mov dword [esp], 0
jmp 0x436253
add edx, 0x40
add esi, 4
add dword [esp + 8], 4
cmp dword [esp + 0x14], esi
jne 0x436224
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x70]
mov ecx, 0x450440
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, accept
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 + 0x4505c0]
test edi, edi
jle 0x436373
xor eax, eax
mov dword [esp + 8], ebx
jmp 0x436357
movzx ebx, byte [ecx + 0x11]
add edx, ebx
add eax, 1
cmp edi, eax
je 0x43636f
mov ebx, dword [esi + eax*4]
test ebx, ebx
jg 0x43634a
mov ebx, dword [ebp + eax*4]
movzx ebx, byte [ecx + ebx]
add edx, ebx
add eax, 1
cmp edi, eax
jne 0x436357
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 0x436332
push 8
mov edx, dword [esp + 0x10]
add edx, 0x4505d4
push edx
mov edi, dword [esp + 8]
push edi
push dword [esp + 0x70]
call fcn.00418744
lea edx, [edi + edi]
add edx, edx
add edx, edx
add edx, edi
add edx, edx
lea eax, [edx + 0x450500]
mov dword [esp + 0x10], eax
add esp, 0x10
mov edi, dword [esp + 0x18]
test edi, edi
mov eax, dword [esp + 0x70]
jle 0x436554
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 0x43640f
push 8
push dword [esp + 4]
push dword [ebp]
push ebx
call fcn.00418744
add esp, 0x10
add edi, 4
add ebp, 4
cmp dword [esp + 0x14], edi
je 0x43646a
mov esi, dword [edi]
test esi, esi
je 0x4363f1
push 8
push dword [esp + 4]
push 0x11
push ebx
call fcn.00418744
add esp, 0x10
xor esi, esi
cmp dword [edi], 1
jle 0x43644b
push 8
push 0x4505a2
push 0x11
push ebx
call fcn.00418744
add esi, 1
mov eax, dword [edi]
sub eax, 1
add esp, 0x10
cmp eax, esi
jg 0x43642d
push 8
push 0x4505a2
push dword [ebp]
push ebx
call fcn.00418744
add esp, 0x10
add edi, 4
add ebp, 4
cmp dword [esp + 0x14], edi
jne 0x43640f
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 0x436499
push ebx
push dword [esp + 0x68]
call fcn.0043cdd0
pop eax
pop edx
add esi, 4
add ebx, 0x40
cmp ebp, esi
jne 0x436487
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 0x4364d0
add ecx, 0x10
add ebx, 4
cmp edx, ecx
je 0x436550
mov ebp, dword [ebx]
test ebp, ebp
jle 0x4364c2
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 0x4364f9
neg ebx
movsx ebx, bl
mov eax, dword [esp + 4]
mov ebp, eax
test eax, eax
je 0x436522
push 8
push 0x450398
mov eax, ebx
mov ecx, ebp
sar eax, cl
and eax, 1
push eax
push edi
call fcn.00418744
add esp, 0x10
sub ebp, 1
jne 0x436503
push 8
push 0x450398
and ebx, 1
push ebx
push edi
call fcn.00418744
add esi, 1
add esp, 0x10
cmp dword [esp], esi
jne 0x4364ed
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp]
add ebx, 4
cmp edx, ecx
jne 0x4364d0
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.004365b0
mov eax, dword [esp + 0x3c]
mov dword [0x4520e4], 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 0x4362ba
mov ebx, dword [esp + 8]
mov dword [ebx], ecx
jmp 0x4362ba
mov edx, dword [esp + 0x14]
mov dword [0x4520e4], edx
jmp 0x4362f6