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

Disassembly:
mov ecx, dword [0x63a67440]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6384c2dc
sub esp, 0x5c
mov eax, dword [esp + 0x68]
cmp eax, 0xc
jl 0x6384c119
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
lea ebx, [edx - 2]
mov ebp, dword [esp + 0x64]
lea esi, [ebp + 2]
mov dword [esp + 4], esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], ebx
call ecx
movzx eax, word [esp + 0x10]
movzx ecx, ax
lea edx, [ecx - 1]
cmp edx, 5
jae 0x6384c0e6
mov word [esp + 0x2e], ax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
lea ebx, [edx - 4]
mov ebp, dword [esp + 0x64]
lea esi, [ebp + 4]
mov dword [esp + 4], esi
mov dword [esp + 8], 4
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x40]
lea ecx, [0x63886e40]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x6384c2d6
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov ecx, eax
mov eax, 0x7fffffff
xor edx, edx
div ecx
mov edx, dword [esp + 0x48]
cmp edx, eax
ja 0x6384c0b3
imul ecx, edx
cmp ecx, 4
ja 0x6384bf48
lea ebx, [ecx + 8]
mov ebp, dword [esp + 0x6c]
cmp ebp, ebx
jb 0x6384c2cd
cmp ebx, 8
jb 0x6384c2c1
lea eax, [ebp - 8]
mov ebx, dword [esp + 0x64]
add ebx, 8
xor ebp, ebp
xor esi, esi
jmp 0x6384bfcf
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
add edx, 0xfffffff8
mov ebx, dword [esp + 0x64]
add ebx, 8
mov dword [esp + 4], ebx
mov dword [esp + 8], 4
mov dword [esp + 0xc], edx
call ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
call fcn.6384ba50
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, ebp
mov ebp, eax
mov eax, edx
mov edx, dword [esp + 0x48]
test ebp, ebp
jne 0x6384c08c
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
lea eax, [0x638cc820]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.63750510
mov eax, dword [esp + 0xc]
movzx ecx, word [esp + 0x2e]
cmp cx, 1
jne 0x6384c01b
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
xor ebp, ebp
jmp 0x6384c298
mov dword [esp + 0x58], eax
cmp cx, 3
jne 0x6384c03c
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
xor ecx, ecx
jmp 0x6384c229
cmp cx, 4
jne 0x6384c059
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
xor ecx, ecx
jmp 0x6384c171
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6393c530]
mov dword [esp + 0x7c], eax
lea eax, [0x6393bc70]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6393c4f4]
mov dword [esp + 0x7c], eax
lea eax, [0x6393bc68]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6393c530]
mov dword [esp + 0x7c], eax
lea eax, [0x6393bc60]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x6393c4f4]
mov dword [esp + 0x7c], eax
lea eax, [0x6393bc58]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov dword [edx + eax*4], edi
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov eax, edx
mov edx, edi
mov ebx, ecx
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jae 0x6384c1cb
lea edi, [ecx + 1]
mov dword [esp + 0x50], edi
shl edi, 2
cmp edx, edi
jb 0x6384c1fc
mov dword [esp + 0x38], ecx
shl ecx, 2
cmp edi, ecx
jb 0x6384c1f3
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 0x4c], edx
sub edi, ecx
neg edx
sar edx, 0x1f
and ecx, edx
add ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x6384c14c
jmp 0x6384c1ee
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
call fcn.6376c150
mov eax, ecx
mov ecx, edi
call fcn.6376c1b0
mov ecx, edi
call fcn.6376c190
movzx edi, word [esp + 0x10]
mov edx, dword [esp + 0x58]
mov dword [edx + eax*4], edi
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov eax, edx
mov edx, edi
mov ebx, ecx
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jae 0x6384c1cb
lea edi, [ecx + 1]
mov dword [esp + 0x50], edi
shl edi, 1
cmp edx, edi
jb 0x6384c28d
mov dword [esp + 0x3c], ecx
shl ecx, 1
cmp edi, ecx
jb 0x6384c284
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 0x20]
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 0x4c], edx
sub edi, ecx
neg edx
sar edx, 0x1f
and ecx, edx
add ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x6384c203
call fcn.6376c150
mov eax, ecx
mov ecx, edi
call fcn.6376c1b0
mov ecx, edi
call fcn.6376c190
mov dword [eax + ebp*4], esi
inc ebp
cmp ebp, ecx
jae 0x6384c2aa
cmp ebx, ebp
jbe 0x6384c2b8
movzx esi, byte [edx + ebp]
cmp ebp, ecx
jb 0x6384c294
jmp 0x6384c2b1
mov ebx, ecx
jmp 0x6384c1cb
mov eax, ebp
call fcn.6376c150
mov eax, ebp
mov ecx, ebx
call fcn.6376c150
mov eax, 8
mov ecx, ebx
call fcn.6376c1a0
mov ecx, ebx
mov edx, ebp
call fcn.6376c190
call fcn.63738ba0
nop
call fcn.6376aca0
jmp fcn.6384be40